A method, device, equipment and storage medium for generating report notes
By obtaining the annotation parameters, determining the data items and data sources, and generating report notes, solving the labor-consuming, time-consuming and error risks caused by manual calculations, and realizing the automated generation and efficient disclosure of report notes.
Patent Information
- Application Number
- CN202111228475.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-21
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2041-10-21
AI Technical Summary
In the prior art, the generation of notes to the report relies on manual calculations, resulting in labor-consuming and error risk.
By obtaining the annotation parameters corresponding to the generation instruction, determining the data items and data sources, and determining the target data and project values from the acquired data, thereby generating report notes.
It realizes automatic generation of report notes, improves disclosure efficiency and accuracy, and reduces human resources consumption.
Smart Images

Figure CN113947464B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of data processing technology, and in particular to a method, device, equipment and storage medium for generating report notes. Background Art
[0002] Notes to financial statements are an important part of financial statements. They are explanations made to help users of financial statements better understand the contents of the financial statements. Currently, notes to financial statements are mainly generated through manual calculations, which is labor-intensive and time-consuming. Summary of the invention
[0003] The embodiment of the present invention provides a method, device, equipment and storage medium for generating report notes, so as to achieve the effect of automatically generating report notes.
[0004] In a first aspect, an embodiment of the present invention provides a method for generating report notes, which may include:
[0005] When receiving a generation instruction for a report note, obtaining a note parameter corresponding to the generation instruction, wherein the note parameter includes a dimension parameter for controlling a data item under a note item in the report note to be generated, and a caliber parameter for controlling a data source of a data item;
[0006] Determine the data item according to the dimension parameter and determine the data source according to the caliber parameter, determine the target data from the data source from each acquired data, and determine the item value of the data item according to the target data;
[0007] Generate report notes based on the data items under each note item and the item values corresponding to each data item.
[0008] In a second aspect, an embodiment of the present invention further provides a device for generating report notes, which may include:
[0009] A note parameter acquisition module, used for acquiring the note parameters corresponding to the generation instruction when receiving the generation instruction of the report note, wherein the note parameters include dimension parameters for controlling the data items under the note items in the report note to be generated, and caliber parameters for controlling the data source of the data items;
[0010] An item value determination module is used to determine a data item according to a dimension parameter and a data source according to a caliber parameter, determine target data from the data source from each acquired data, and determine an item value of the data item according to the target data;
[0011] The report note generation module is used to generate report notes according to each data item under each note item and the item values corresponding to each data item.
[0012] In a third aspect, an embodiment of the present invention further provides a device for generating report notes, which may include:
[0013] one or more processors;
[0014] A memory for storing one or more programs;
[0015] When one or more programs are executed by one or more processors, the one or more processors implement the method for generating report notes provided by any embodiment of the present invention.
[0016] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for generating report notes provided by any embodiment of the present invention.
[0017] The technical solution of the embodiment of the present invention determines the data items and data sources by obtaining the note parameters corresponding to the received instructions for generating the report notes. Specifically, because the note parameters include dimension parameters for controlling the data items under the note items in the report notes to be generated, and caliber parameters for controlling the data sources of the data items, the data items can be determined according to the dimension parameters and the data sources can be determined according to the caliber parameters. Then, the target data derived from the data source is determined from each acquired data, and the project values of the data items are determined according to the target data; then, the report notes are generated according to the data items under each note item and the project values corresponding to each data item. The above technical solution can assist the accounting department in realizing the automation of the disclosure of report notes and the agility of the note output, and solve the problems of slow note output and high error risk caused by manual output, thereby saving human resources and improving the efficiency and accuracy of the disclosure of report notes, achieving the effect of automatic report generation. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a flow chart of a method for generating report notes in the first embodiment of the present invention;
[0019] Figure 2 It is a schematic diagram of a report note in a method for generating report notes in the first embodiment of the present invention;
[0020] Figure 3 It is a flow chart of a method for generating report notes in Embodiment 2 of the present invention;
[0021] Figure 4 It is a flow chart of a method for generating report notes in Embodiment 3 of the present invention;
[0022] Figure 5aIt is an optional business process diagram in a method for generating report notes in Embodiment 3 of the present invention;
[0023] Figure 5b This is an optional functional architecture diagram in a method for generating report notes in Embodiment 3 of the present invention;
[0024] Figure 5c This is an optional processing flow chart in a method for generating report notes in Embodiment 3 of the present invention;
[0025] Figure 6 It is a structural block diagram of a device for generating report notes in a fourth embodiment of the present invention;
[0026] Figure 7 It is a structural schematic diagram of a report note generating device in Embodiment 5 of the present invention. DETAILED DESCRIPTION
[0027] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It is also necessary to explain that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0028] Embodiment 1
[0029] Figure 1 This is a flow chart of a method for generating report notes provided in the first embodiment of the present invention. This embodiment can be applied to the case of automatically generating report notes, and is particularly applicable to the case of automatically generating report notes based on note parameters, and the note parameters can be pre-configured according to actual business needs. The method can be executed by the report note generation device provided in the embodiment of the present invention, and the device can be implemented by software and / or hardware, and the device can be integrated in the report note generation device, which can be various user terminals or servers.
[0030] See also Figure 1 The method of the embodiment of the present invention specifically includes the following steps:
[0031] S110. When receiving a generation instruction for a report note, obtain the note parameters corresponding to the generation instruction, wherein the note parameters include dimension parameters for controlling data items under the note items in the report note to be generated, and caliber parameters for controlling data sources of the data items.
[0032] The generation instruction may be an instruction for generating a report note, and the note parameter may be a pre-configured parameter corresponding to the generation instruction that meets actual business needs, which may include a dimension parameter and a caliber parameter. Specifically, the dimension parameter may be a parameter for controlling the data item under the note item in the report note to be generated, and the note item may be a financial item disclosed in the report note, and each report note may include one or more note items; for each note item, one or more data items for representing the data dimension under the note item may be set thereunder. For example, taking the note item as issued debt securities as an example, the data items thereunder may include issued certificates of deposit and interbank certificates of deposit, issued bonds, green financial bonds, etc. The caliber parameter may be a parameter for controlling the data source of the data item, that is, for each data item, the item value for controlling the data item is calculated based on the target data from which data source, and for example, the data source may be a foreign exchange system, a loan system, a credit card system, etc. In other words, the data items disclosed in a certain note item and the disclosure order of each data item can be determined according to the dimension parameters. Each dimension has one or more calibers, and the item values of the corresponding data items can be determined according to the caliber parameters. In practical applications, optionally, the number of financial statements can be at least two, and each financial statement has its own statement notes. Since not every statement note has a generation requirement, the note parameters can also include a directory parameter for controlling which statement notes are generated.
[0033] S120, determining data items according to dimension parameters and determining data sources according to caliber parameters, determining target data originating from the data sources from each acquired data, and determining item values of the data items according to the target data.
[0034] As described above, since the dimension parameter can be a parameter for controlling the data item under the note item in the report note to be generated, and the caliber parameter can be a parameter for controlling the data source of the data item, the data item can be determined according to the dimension parameter and the data source corresponding to the data item can be determined according to the caliber parameter. The acquired data can be data that has been acquired and is derived from the same or different data sources, and the target data derived from the data source determined according to the caliber parameter is determined from the acquired data. Furthermore, the project value of the data item determined according to the dimension parameter can be determined according to the target data, such as obtaining the project value after performing mathematical operations on the target data.
[0035] It should be noted that this step is explained in terms of a data item under a certain note item. For any data item under any note item, this step can be used to determine the item value of the data item. In other words, this step can be used to determine the item value of each data item involved in the notes to the report to be generated.
[0036] S130 , generating report notes according to each data item under each note item and the item values corresponding to each data item.
[0037] After obtaining each data item under each note item in the to-be-generated financial statement notes and the item value of each data item, the financial statement notes are generated according to these note items, data items and item values. On this basis, the generated financial statement notes are optionally displayed (or disclosed). For a better understanding of the above financial statement notes, see, for example, Figure 2 The notes to a certain financial statement include 5 note items (financial investment, long-term equity investment, fixed assets, deposits absorbed and issued securities debt). When a note item is selected, the data items under it and the item values of each data item can be disclosed in the disclosure table. For example, when issued securities debt is selected, the three data items of issued certificates of deposit and interbank certificates of deposit, issued bonds and green financial bonds and their respective item values can be disclosed in the disclosure table. The value of each item is calculated based on the target of which data source it comes from. This can be disclosed in the disclosure content, such as displaying it after selecting a data item and then selecting the disclosure content.
[0038] The technical solution of the embodiment of the present invention determines the data items and data sources by obtaining the note parameters corresponding to the received instructions for generating the report notes. Specifically, because the note parameters include dimension parameters for controlling the data items under the note items in the report notes to be generated, and caliber parameters for controlling the data sources of the data items, the data items can be determined according to the dimension parameters and the data sources can be determined according to the caliber parameters. Then, the target data derived from the data source is determined from each acquired data, and the project values of the data items are determined according to the target data; then, the report notes are generated according to the data items under each note item and the project values corresponding to each data item. The above technical solution can assist the accounting department in realizing the automation of the disclosure of report notes and the agility of the note output, and solve the problems of slow note output and high error risk caused by manual output, thereby saving human resources and improving the efficiency and accuracy of the disclosure of report notes, achieving the effect of automatic report generation.
[0039] An optional technical solution, before determining the item value of the data item according to the target data, the above-mentioned method for generating the report notes may also include: determining the note item to which the data item belongs, and obtaining the calculation logic pre-configured for the note item to which the data item belongs; correspondingly, determining the item value of the data item according to the target data may include: if it is determined according to the calculation logic that the target data needs to be calculated, then calculating the target data based on the calculation logic to obtain the item value of the data item; otherwise, using the target data as the item value. Among them, the calculation logic of the item values under different note items may be different, such as the item values under some note items are the target data, and the item values under some note items are the results of calculating the target data. Therefore, when determining the item value of a data item, the note item to which the data item belongs can be determined first, and then the calculation logic pre-configured for the note item can be obtained. The calculation logic can be whether calculation is required, how to calculate (such as summary calculation of dimension caliber level, JEP (Java expression analyzer, Java expression parser) calculation, cross-reference relationship calculation, etc.). When it is determined according to the calculation logic that the target data needs to be calculated, the target data can be calculated based on the calculation logic to obtain the project value, otherwise the target data can be directly used as the project value, thereby achieving the effect of accurately determining the project value in various situations.
[0040] Another optional technical solution, the method for generating the above-mentioned report notes may further include: upon receiving a note adjustment instruction, obtaining a note adjustment target corresponding to the note adjustment instruction, wherein the note adjustment instruction includes an instruction for adjusting the generated report notes, and the note adjustment target includes a target for adjusting at least one of the note items, data items, and data sources in the generated report notes; adjusting the generated report notes based on the note adjustment target, and updating the generated report notes according to the adjustment result. The note adjustment instruction may include an instruction for adjusting the note content in the generated report notes, and the note content may include at least one of the note items, data items, and data sources. Obtaining the note adjustment target corresponding to the note adjustment instruction, the note adjustment target may be a target for adjusting the note content, thereby adjusting the note content based on the note adjustment target, and disclosing the adjustment result. Compared with the situation where the paper version of the financial report notes is directly generated based on manual calculation, the above technical solution can directly adjust the content of the notes in the generated electronic version of the financial report notes according to the current business needs, such as by adjusting the note parameters to adjust the content of the notes, thereby improving the flexibility of the financial report notes and enabling them to better meet the current business needs. In practical applications, the disclosure form of the notes content can optionally be adjusted, and the disclosure form can include a table form, a graphic form, a speech form, etc., which is not specifically limited here. In particular, when disclosing the content of the notes in the form of speech, the speech template can be adjusted to configure what kind of speech to use to disclose the content of the notes, thereby further improving the flexibility of the financial report notes.
[0041] Another optional technical solution, the method for generating the above-mentioned report notes may also include: when a data supplement event is detected, supplementary data is obtained based on a data supplement interface corresponding to the data supplement event, and the supplement data is used as the acquired data. In particular, since some data are updated in real time, in order to accurately determine the target value, in addition to determining the target data from the previously acquired acquired data, some newly updated data may also be considered. For this purpose, a data supplement interface is provided in the report note generation device to obtain some newly updated data (i.e., supplement data). The data supplement event may be an event triggered when some personnel supplement some supplement data through the data supplement interface. Therefore, when a data supplement event is detected, supplement data may be obtained based on the corresponding data supplement interface, and then the supplement data may be used as the acquired data, so that the target data determined from the acquired data may include the newly updated supplement data. Compared with the situation where each supplementary recording object (such as companies at all levels and subordinate departments) supplements data separately and then the data is summarized by the summary object (such as the head office finance and accounting), the above technical solution can obtain the supplementary recording data through the data supplementary recording interface, and then automatically process the supplementary recording data to generate notes to the financial statements, thereby saving human resources and improving the disclosure efficiency of the notes to the financial statements.
[0042] Embodiment 2
[0043] Figure 3 It is a flow chart of a method for generating report notes provided in the second embodiment of the present invention. This embodiment is optimized based on the above-mentioned technical solutions. In this embodiment, optionally, the above-mentioned method for generating report notes may also include: upon receiving a parameter configuration instruction, obtaining a parameter configuration target corresponding to the parameter configuration instruction, wherein the parameter configuration instruction is an instruction for configuring the note parameters; configuring the note parameters based on the parameter configuration target, and updating the note parameters according to the configuration result. Among them, the explanations of the terms that are the same or corresponding to the above-mentioned embodiments are not repeated here.
[0044] See also Figure 3 The method of this embodiment may specifically include the following steps:
[0045] S210. When a parameter configuration instruction is received, a parameter configuration target corresponding to the parameter configuration instruction is obtained, wherein the parameter configuration instruction includes instructions for configuring note parameters, and the note parameters include dimension parameters for controlling data items under note items in the report notes to be generated, and caliber parameters for controlling data sources of data items.
[0046] Among them, the parameter configuration instruction may include an instruction for configuring the annotation parameter, and the parameter configuration target may be a target corresponding to the parameter configuration instruction for determining how to configure the annotation parameter, such as adjusting a certain annotation parameter from XX to YY, adding a certain annotation parameter, deleting an existing annotation parameter, etc., which is not specifically limited here. It should be noted that adding a certain annotation parameter may be adding a certain annotation parameter to an existing annotation item, or may be adding a certain annotation parameter to a previously non-existent annotation item, that is, adding a certain annotation item, etc., which is not specifically limited here. Correspondingly, the situation of deleting an existing annotation parameter is similar and will not be repeated here.
[0047] On this basis, optionally, the note parameters can include some indicator parameters in addition to dimension parameters and caliber parameters, such as indicator identifier, indicator type, indicator name, etc. This helps to improve the diversity of note parameters and thus improve the flexibility of report note configuration.
[0048] S220: Configure the annotation parameters based on the parameter configuration target, and update the annotation parameters according to the configuration result.
[0049] S230. When receiving a generation instruction for a report note, obtain a note parameter corresponding to the generation instruction.
[0050] S240, determining the data items according to the dimension parameters and determining the data sources according to the caliber parameters, determining the target data originating from the data sources from each acquired data, and determining the item values of the data items according to the target data.
[0051] S250: Generate report notes according to the data items under each note item and the item values corresponding to the data items.
[0052] It should be noted that in actual applications, some notes items are highly flexible, and the data items and / or data sources involved may change frequently. In order to avoid the situation of recalculating the item values by breaking the calculation logic provided by the original business, the note parameters can be flexibly configured through parameter configuration. This helps the use of financial statements to adjust the notes in a timely manner according to current business needs, thereby achieving the effect of automatic and flexible disclosure of the notes.
[0053] The technical solution of the embodiment of the present invention obtains the parameter configuration target corresponding to the received parameter configuration instruction, and then configures the note parameters based on the parameter configuration target. Subsequently, the report notes can be generated based on the configured note parameters, thereby achieving the effect of flexible generation of report notes.
[0054] Embodiment 3
[0055] Figure 4It is a flow chart of a method for generating report notes provided in the third embodiment of the present invention. This embodiment is optimized based on the above-mentioned technical solutions. In this embodiment, optionally, each acquired data corresponds to its own encoding result, and determining the target data originating from the data source from each acquired data may include: determining the encoding result corresponding to the data source, and determining the target data from each acquired data according to the encoding result corresponding to the data source. Among them, the explanations of the terms that are the same or corresponding to the above-mentioned embodiments are not repeated here.
[0056] See also Figure 4 The method of this embodiment may specifically include the following steps:
[0057] S310. When receiving a generation instruction for report notes, obtain the note parameters corresponding to the generation instruction and each acquired data, wherein the note parameters include dimension parameters for controlling the data items under the note items in the report notes to be generated, and caliber parameters for controlling the data source of the data items, and each acquired data corresponds to its own encoding result.
[0058] Among them, in order to improve the convenience of subsequently determining the target data from each acquired data, after the acquired data is acquired, it can be encoded, so that each acquired data corresponds to its own encoding result. In practical applications, optionally, the acquired data can be encoded according to its data source, such as using the source identification information of the data source as part of the encoding result; for example, processing each source identification information, and using the processing result as part of the encoding result, thereby solving the problem of inconsistent encoding results caused by possible differences in each source identification information, and improving the uniformity of each encoding result; etc., which are not specifically limited here.
[0059] S320. Determine the data item according to the dimension parameter and determine the data source according to the caliber parameter.
[0060] S330, determining the encoding result corresponding to the data source, determining the target data from each acquired data according to the encoding result corresponding to the data source, and determining the item value of the data item according to the target data.
[0061] Among them, since the encoding result of the acquired data from a certain data source has a certain correlation with the data source, after determining the data source, the encoding result corresponding to the data source can be determined, and the encoding result may be a specific encoding result or a part of the specific encoding result, and then the target data can be determined from each acquired data according to the encoding result. Exemplarily, assuming that the encoding results associated with a certain data source all start with XYZ, then the acquired data whose encoding result starts with XYZ in each acquired data can be used as the target data.
[0062] S340. Generate report notes according to the data items under each note item and the item values corresponding to each data item.
[0063] The technical solution of the embodiment of the present invention, since each acquired data corresponds to its own encoding result, it is possible to determine the encoding result corresponding to the data source, and then determine the target data from each acquired data according to the encoding result corresponding to the data source, thereby improving the convenience of acquiring the target data.
[0064] An optional technical solution, the method for generating the above-mentioned report notes may also include: respectively obtaining identification information of each source data, and processing each source data according to the identification information, wherein the identification information includes business identification information and / or source identification information; storing the processing result as acquired data in a preset table, and encoding each acquired data, and storing the encoding result in a preset table, wherein the preset table includes a preset wide table and / or intermediate table; determining the target data from each acquired data according to the encoding result corresponding to the data source, which may include: determining the target data from each acquired data stored in the preset table according to the encoding result corresponding to the data source stored in the preset table.
[0065] Among them, the source data may be unprocessed data directly obtained from a certain data source, and the identification information may be information for identifying the source data, which may be business identification information, source identification information, etc. The business identification information may be information for identifying the data under which the source data is, and the source identification information may be information for identifying which data source the source data is from. Since the source data with the same identification information have a certain correlation, the source data may be processed according to the identification information. Exemplarily, taking the source data collected by the head office as an example, these source data may be data reported by branches and / or sub-branches, directly obtained by the head office, supplemented by subsidiaries and / or subordinate departments, etc., and a certain enterprise may have handled business for a certain business in branches and / or branches, the head office, subsidiaries and / or subordinate departments, etc., which means that multiple source data among the source data collected by the head office may all belong to the data under the business of the enterprise, and they are data that can be processed such as summarized and aggregated. It should be noted that some source data may be data that does not need to be processed, and they can be directly used as acquired data, that is, the above processing process can also be understood as the process of processing a certain source data to obtain the original source data. The preset table can be a preset wide table, which can store acquired data with more fields; it can also be a preset intermediate table, which can store acquired data or intermediate calculation results after further calculation of the acquired data. Since the encoding result of each acquired data can also be stored in the preset table, the target data can be determined from each acquired data stored in the preset table based on the encoding result corresponding to the data source stored in the preset table.
[0066] It should be noted that compared with the situation where the staff of the head office coordinate multiple branches, sub-branches, subsidiaries and / or subordinate departments to collect various source data and then summarize the source data, the above technical solution can automatically obtain and process the source data, and uniformly manage the processing results of various source data by establishing wide tables and / or intermediate tables, thereby saving coordination time, solving the problem of time-consuming and limited accuracy of manual summarization due to complex data sources, and improving the convenience of disclosure of notes to the financial statements.
[0067] In order to better understand the specific implementation process of the above steps as a whole, the following is an exemplary description of the above steps with reference to specific examples. For example, an accounting computerization system for generating financial statement notes (hereinafter referred to as the system) can be formed in the following two situations: First, see Figure 5a, connected to the general ledger system (i.e. the head office's accounting system) through the system integration function, completing the mapping and docking of each source data with the corresponding note items, and directly forming the report notes. This is suitable for situations where there is no need to process the collected source data, and most of these source data are long-term data. Figure 5a In the process, business-determined note items mean determining the note items that need to be disclosed based on actual business needs; configuring dimension tables and caliber tables can be understood as the process of configuring dimension parameters and caliber parameters; configuring intermediate tables can be understood as the process of configuring which intermediate calculation results need to be stored in the intermediate tables.
[0068] Secondly, after the source data of the system is combined with the calculation engine, the source data is automatically processed, and the appropriate supplementary data is selected according to the business logic of different annotation items, and finally the report annotation is formed. This is suitable for the situation where the collected source data needs to be processed and the data needs to be updated in real time. Most of these real-time updated data are supplementary data. For details, see Figure 5b :
[0069] In the data source module, the system summarizes the general ledger system data (which can be represented by a trial balance (TB) data table), multi-subsystem detailed data (i.e., data from different data sources) and department supplementary data (such as supplementary data from certain subordinate departments), and then organizes these source data according to the business identification information of each source data (such as note item identification information, data item identification information, etc.) and / or source identification information (such as system identification information of a subsystem, etc.).
[0070] In the source data processing module, a wide table with sufficient breadth is established for the sorted source data to store and encode the data, thereby completing the unified configuration of each source data. Some of the source data can be further calculated and stored in the intermediate table according to the business definition.
[0071] In the notes parameter configuration module, the data items that need to be disclosed in the notes items and the order of disclosure of the data items are set by configuring the caliber parameters and dimension parameters. Specifically, the data source is determined by configuring the caliber parameters, and the data items are determined by configuring the dimension parameters.
[0072] In the calculation engine module, the target data from each data source is calculated to obtain the corresponding data item's item value. Specifically, this module may involve four parts: summary calculations at the dimension level, some JEP calculations that require flexible editing (i.e., calculations based on pre-configured calculation formulas), independent calculations for supplementary data (this is because supplementary data usually does not correspond to a certain dimension table or caliber table, but directly corresponds to a certain data item), and calculations of cross-references between some tables.
[0073] In the financial statement notes disclosure table module, you can disclose financial statement notes, and you can also query, download, delete, and perform other operations on the disclosed financial statement notes.
[0074] Through the cooperation of the above five modules, this system realizes the relationship mapping between caliber dimensions, the reconciliation data of each subsystem and the general ledger system, and the parameterized configuration of caliber tables and dimension tables, thereby achieving the effect of automatic generation of notes to the financial statements and effectively improving the disclosure efficiency of the notes to the financial statements.
[0075] On this basis, optionally, the system may also include a report notes verification module, which automatically verifies the generated report notes through a pre-configured verification method, thereby enhancing the rationality and accuracy of the data; it may also include a reference data module for importing and maintaining reference data; it may also include an authority process management module for managing the personnel list, personnel authority, system configuration, reporting process, etc. involved in the system; etc., which are not specifically limited here.
[0076] Combination Figure 5b The functional architecture diagram shown in the figure, the processing flow of this system can be seen in Figure 5c , where the general ledger account mapping table can be understood as the TB data table mentioned above, which can be a mapping relationship between data source-source identification information-target data, and each piece of data in the general ledger account mapping table is equivalent to a caliber. The target data in the general ledger account mapping table and the multi-subsystem detailed data are summarized, and the supplementary data is obtained, and each acquired data (i.e., data summary results and data supplementary results) is stored in the intermediate table and / or the wide table. Each acquired data and / or intermediate calculation result in the intermediate table and / or the wide table can be associated with its own business identification information. There is an association relationship between the dimension table and the caliber table, and the caliber table and the catalog table can be associated through the report identification information of the financial statement. Report notes are generated based on the pre-configured calculation logic, dimension table, caliber table and target table, thereby achieving the effect of automatic generation of report notes.
[0077] Embodiment 4
[0078] Figure 6 This is a structural block diagram of a report note generation device provided in Embodiment 4 of the present invention. The device is used to execute the report note generation method provided in any of the above embodiments. The device and the report note generation method in the above embodiments belong to the same inventive concept. For details not described in detail in the embodiment of the report note generation device, please refer to the embodiment of the report note generation method. Figure 6 The device may specifically include: an annotation parameter acquisition module 410, an item value determination module 420 and a report annotation generation module 430.
[0079] The annotation parameter acquisition module 410 is used to acquire annotation parameters corresponding to the generation instruction when receiving the generation instruction of the report annotation, wherein the annotation parameters include dimension parameters for controlling the data items under the annotation items in the report annotation to be generated, and caliber parameters for controlling the data source of the data items;
[0080] An item value determination module 420 is used to determine a data item according to a dimension parameter and a data source according to a caliber parameter, determine target data from the data source from each acquired data, and determine an item value of the data item according to the target data;
[0081] The report note generation module 430 is used to generate report notes according to each data item under each note item and the item value corresponding to each data item.
[0082] Optionally, each acquired data corresponds to its own encoding result, and the item value determination module 420 may include:
[0083] The target data determination unit is used to determine the encoding result corresponding to the data source, and determine the target data from each acquired data according to the encoding result corresponding to the data source.
[0084] On this basis, optionally, the above-mentioned report note generating device may further include:
[0085] A source data processing module, used to respectively obtain identification information of each source data, and process each source data according to the identification information, wherein the identification information includes business identification information and / or source identification information;
[0086] A coding result storage module, used to store the processing result as acquired data in a preset table, encode each acquired data, and store the coding result in a preset table, wherein the preset table includes a preset wide table and / or an intermediate table;
[0087] The target data determination unit may include:
[0088] The target data determination subunit is used to determine the target data from each acquired data stored in the preset table according to the encoding result corresponding to the data source stored in the preset table.
[0089] Optionally, the above-mentioned report note generating device may further include:
[0090] A calculation logic acquisition module, used to determine the annotation item to which the data item belongs before determining the item value of the data item according to the target data, and to acquire the calculation logic pre-configured for the annotation item to which the data item belongs;
[0091] Accordingly, the project value determination module 420 includes:
[0092] A first item value determination unit, configured to, if it is determined according to the calculation logic that the target data needs to be calculated, calculate the target data based on the calculation logic to obtain an item value of the data item;
[0093] The second item value determination unit is used to otherwise use the target data as the item value.
[0094] Optionally, the above-mentioned report note generating device may further include:
[0095] A parameter configuration target acquisition module, used for acquiring a parameter configuration target corresponding to the parameter configuration instruction when receiving the parameter configuration instruction, wherein the parameter configuration instruction is an instruction for configuring the annotation parameter;
[0096] The annotation parameter update module is used to configure the annotation parameters based on the parameter configuration target and update the annotation parameters according to the configuration result.
[0097] Optionally, the above-mentioned report note generating device may further include:
[0098] A note adjustment target acquisition module, configured to acquire a note adjustment target corresponding to the note adjustment instruction upon receiving the note adjustment instruction, wherein the note adjustment instruction includes an instruction for adjusting a generated report note, and the note adjustment target includes a target for adjusting at least one of a note item, a data item, and a data source in the generated report note;
[0099] The report note update module is used to adjust the generated report notes based on the note adjustment target and update the generated report notes according to the adjustment result.
[0100] Optionally, the above-mentioned report note generating device may further include:
[0101] The supplementary recording data acquisition module is used to acquire the supplementary recording data from the data supplementary recording interface corresponding to the data supplementary recording event when a data supplementary recording event is detected, and use the supplementary recording data as the acquired data.
[0102] The report note generation device provided in the fourth embodiment of the present invention determines the data items and data sources according to the obtained note parameters corresponding to the received report note generation instruction through the cooperation of the note parameter acquisition module and the project value determination module. Specifically, because the note parameters include the dimension parameters for controlling the data items under the note items in the report note to be generated, and the caliber parameters for controlling the data sources of the data items, the data items can be determined according to the dimension parameters and the data sources can be determined according to the caliber parameters, and then the target data from the data source can be determined from each acquired data, and the project values of the data items can be determined according to the target data; further, the report notes can be generated according to each data item under each note item and the project values corresponding to each data item through the report note generation module. The above device can assist the accounting department in realizing the automation of the disclosure of report notes and the agility of the note output, and solve the problems of slow output of notes and high error risk caused by manual output, thereby saving human resources and improving the efficiency and accuracy of the report note disclosure, and achieving the effect of automatic report generation.
[0103] The apparatus for generating report notes provided in the embodiment of the present invention can execute the method for generating report notes provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0104] It is worth noting that in the embodiment of the above-mentioned report notes generation device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0105] Embodiment 5
[0106] Figure 7 A structural diagram of a report note generation device provided in Embodiment 5 of the present invention, such as Figure 7 As shown, the device includes a memory 510, a processor 520, an input device 530, and an output device 540. The number of processors 520 in the device can be one or more. Figure 7 A processor 520 is used as an example; the memory 510, the processor 520, the input device 530 and the output device 540 in the device can be connected via a bus or other means. Figure 7 The connection via bus 550 is taken as an example.
[0107] The memory 510, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the method for generating report notes in the embodiment of the present invention (for example, the note parameter acquisition module 410, the item value determination module 420 and the report note generation module 430 in the report note generation device). The processor 520 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 510, that is, realizes the above-mentioned method for generating report notes.
[0108] The memory 510 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the device, etc. In addition, the memory 510 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 510 may further include a memory remotely arranged relative to the processor 520, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0109] The input device 530 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the device. The output device 540 may include a display device such as a display screen.
[0110] Embodiment 6
[0111] Embodiment 6 of the present invention provides a storage medium including computer executable instructions, wherein the computer executable instructions are used to execute any method for generating a report note when executed by a computer processor, the method comprising:
[0112] When receiving a generation instruction for a report note, obtaining a note parameter corresponding to the generation instruction, wherein the note parameter includes a dimension parameter for controlling a data item under a note item in the report note to be generated, and a caliber parameter for controlling a data source of a data item;
[0113] Determine the data item according to the dimension parameter and determine the data source according to the caliber parameter, determine the target data from the data source from each acquired data, and determine the item value of the data item according to the target data;
[0114] Generate report notes based on the data items under each note item and the item values corresponding to each data item.
[0115] Of course, the computer executable instructions of a storage medium containing computer executable instructions provided by an embodiment of the present invention are not limited to the operations of the method described above, and can also execute related operations in the method for generating report notes provided by any embodiment of the present invention.
[0116] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0117] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for generating report notes, characterized in that: include: When receiving a generation instruction for a report note, obtaining a note parameter corresponding to the generation instruction, wherein the note parameter includes a dimension parameter for controlling a data item under a note item in the report note to be generated, and a caliber parameter for controlling a data source of the data item; Determine the data item according to the dimension parameter and determine the data source according to the caliber parameter, determine target data originating from the data source from each acquired data, and determine the item value of the data item according to the target data; Generate the report notes according to the data items under each of the notes items and the item values respectively corresponding to the data items; Upon receiving a note adjustment instruction, obtaining a note adjustment target corresponding to the note adjustment instruction, wherein the note adjustment instruction includes an instruction for adjusting the generated report note, and the note adjustment target includes a target for adjusting at least one of the note item, the data item, and the data source in the generated report note; Adjusting the generated report notes based on the note adjustment target, and updating the generated report notes according to the adjustment result; Before determining the item value of the data item according to the target data, the method further includes: Determine the annotation item to which the data item belongs, and obtain the calculation logic pre-configured for the annotation item to which the data item belongs; wherein the calculation logics of the item values under different annotation items are different; The step of determining the item value of the data item according to the target data includes: If it is determined according to the calculation logic that the target data needs to be calculated, the target data is calculated based on the calculation logic to obtain an item value of the data item; Otherwise, the target data is used as the item value.
2. The method according to claim 1, characterized in that Each of the acquired data corresponds to a respective encoding result, and the step of determining the target data originating from the data source from each of the acquired data includes: Determine the encoding result corresponding to the data source, and determine the target data from each acquired data according to the encoding result corresponding to the data source.
3. The method according to claim 2, characterized in that Also includes: Respectively obtain identification information of each source data, and process each source data according to the identification information, wherein the identification information includes business identification information and / or source identification information; storing the processing results as the acquired data in a preset table, encoding each of the acquired data, and storing the encoding results in the preset table, wherein the preset table includes a preset wide table and / or an intermediate table; The step of determining target data from each acquired data according to the encoding result corresponding to the data source comprises: According to the encoding result corresponding to the data source stored in the preset table, target data is determined from each acquired data stored in the preset table.
4. The method according to claim 1, characterized in that Also includes: Upon receiving a parameter configuration instruction, acquiring a parameter configuration target corresponding to the parameter configuration instruction, wherein the parameter configuration instruction is an instruction for configuring the annotation parameter; The annotation parameter is configured based on the parameter configuration target, and the annotation parameter is updated according to the configuration result.
5. The method according to claim 1, characterized in that Also includes: When a data supplementary recording event is detected, supplementary recording data is acquired based on a data supplementary recording interface corresponding to the data supplementary recording event, and the supplementary recording data is used as the acquired data.
6. A device for generating report notes, characterized in that: include: A note parameter acquisition module, used for acquiring, upon receiving a generation instruction for a report note, note parameters corresponding to the generation instruction, wherein the note parameters include dimension parameters for controlling data items under the note items in the report note to be generated, and caliber parameters for controlling data sources of the data items; An item value determination module, used to determine the data item according to the dimension parameter and the data source according to the caliber parameter, determine the target data originating from the data source from each acquired data, and determine the item value of the data item according to the target data; A report note generation module, used for generating the report note according to each of the data items under each of the note items and the item values respectively corresponding to each of the data items; a note adjustment target acquisition module, configured to acquire, upon receiving a note adjustment instruction, a note adjustment target corresponding to the note adjustment instruction, wherein the note adjustment instruction includes an instruction for adjusting the generated report note, and the note adjustment target includes a target for adjusting at least one of the note item, the data item, and the data source in the generated report note; A report note updating module, used for adjusting the generated report note based on the note adjustment target, and updating the generated report note according to the adjustment result; A calculation logic acquisition module, used for determining the annotation item to which the data item belongs before determining the item value of the data item according to the target data, and acquiring the calculation logic pre-configured for the annotation item to which the data item belongs; wherein the calculation logics of the item values under different annotation items are different; Wherein, the project value determination module includes: A first item value determination unit, configured to, if it is determined according to the calculation logic that the target data needs to be calculated, calculate the target data based on the calculation logic to obtain an item value of the data item; The second item value determination unit is used for otherwise using the target data as the item value.
7. A device for generating report notes, characterized in that: include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method for generating report notes as described in any one of claims 1-5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for generating report notes as described in any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Method for filling in report annotation information and financial robot
CN112052653A