Method, device, equipment and storage medium for generating interest rate report
By automatically loading financial indicator data into interest rate report templates, combining text information and tables, interest rate-related charts are generated, which solves the problems of artificial statistics and drawing interest rate reports in the existing technology, and improves the accuracy and efficiency of the report.
Patent Information
- Application Number
- CN202110075612.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-20
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2041-01-20
AI Technical Summary
In the prior art, it is necessary to manually count and organize interest rate data and manually draw interest rate reports. The work is cumbersome, time-consuming and prone to data statistics errors.
By obtaining financial indicator data for each preset time period, loading it into the interest rate report template, combining it with interest rate text information and interest rate tables, interest rate-related charts are generated, and finally generating interest rate reports automatically.
The problem of human statistics and mapping interest rate reports is solved, the accuracy and generation efficiency of reports are improved, and time and cost are saved.
Smart Images

Figure CN114861616B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, device, equipment and storage medium for generating an interest rate report. Background Art
[0002] Currently, in the financial market, the daily interest rate report is completed by manually looking up data and then manually editing the data obtained. It can be seen that the generation of the existing daily interest rate report requires manual data sorting, which is cumbersome and time-consuming, and may also result in data statistical errors. Summary of the invention
[0003] The present application provides a method, apparatus, device and storage medium for generating an interest rate report, which are used to solve the problem in the prior art of requiring manual statistics of interest rate data and manual drawing of interest rate reports.
[0004] In a first aspect, the present application provides a method for generating an interest rate report, the method comprising:
[0005] Acquire financial indicator data for each preset time period, the financial indicator data including: financial market type and interest rate information corresponding to the financial market type;
[0006] Loading the interest rate information corresponding to the financial market type into the interest rate report template, the interest rate text information and the interest rate table corresponding to the financial market type, respectively, to obtain interest rate related charts;
[0007] The interest rate report is generated based on the loaded interest rate text information, the loaded interest rate table, and the interest rate related chart.
[0008] Optionally, the generation process of the interest rate report template includes:
[0009] According to the financial market type, the interest rate report template is divided into N sections, where N is an integer greater than or equal to 1;
[0010] Determine the position information corresponding to each of the plates respectively, and obtain the template part corresponding to each of the plates;
[0011] The interest rate report template is constructed by using the template portion corresponding to each section.
[0012] Optionally, respectively determining the position information corresponding to each of the plates to obtain the template portion corresponding to each of the plates includes:
[0013] For each of the above sections, perform the following operations:
[0014] Determine the first position information of the interest rate text information corresponding to the section, the second position information of the interest rate table, and the third position information of the interest rate related chart;
[0015] The interest rate text information includes: fixed interest rate text information and dynamic interest rate text information, the interest rate table is correspondingly provided with a table name, and the interest rate related chart includes: interest rate related chart name;
[0016] A template portion corresponding to the plate is obtained according to the first position information, the second position information and the third position information.
[0017] Optionally, the financial indicator data further includes: an interest rate classification identifier corresponding to the interest rate information;
[0018] The interest rate information corresponding to the financial market type is loaded into the interest rate report template, and the interest rate text information and interest rate table corresponding to the financial market type are respectively loaded into the interest rate report template, and the interest rate related charts are obtained, including:
[0019] Loading the interest rate information corresponding to the financial market type into the dynamic interest rate text information of the section corresponding to the financial market type;
[0020] According to the preset correspondence between the interest rate classification identifier and the table name, the interest rate information corresponding to the financial market type is loaded into the interest rate table corresponding to the section corresponding to the financial market type and the table name;
[0021] The interest rate related chart corresponding to the interest rate related chart name is obtained according to the loaded interest rate text information, the loaded interest rate table, and the interest rate related chart name.
[0022] Optionally, generating the interest rate report according to the loaded interest rate text information, the loaded interest rate table, and the interest rate related chart includes:
[0023] Generate a first format interest rate report according to the loaded interest rate text information, the loaded interest rate table, and the interest rate related chart;
[0024] The first-format interest rate report is converted into a second-format interest rate report by means of format conversion, and the second-format interest rate report is used as the interest rate report.
[0025] Optionally, the first format interest rate report includes: a hypertext markup language HTML format interest rate report, and the second format interest rate report includes: a word format interest rate report, and / or a PDF format interest rate report.
[0026] Optionally, the financial market type includes at least one of a money market, an interest rate swap, an interest rate bond market, a credit bond market and a foreign exchange market.
[0027] Optionally, after generating the interest rate report, the method further includes:
[0028] Get the command to report successful verification;
[0029] According to the instruction of successful report verification, the interest rate report is released.
[0030] In a second aspect, the present application provides a device for generating an interest rate report, comprising:
[0031] An acquisition module, used to acquire financial indicator data for each preset time period, wherein the financial indicator data includes: financial market type and interest rate information corresponding to the financial market type;
[0032] A loading module, used to load the interest rate information corresponding to the financial market type into the interest rate report template, the interest rate text information and the interest rate table corresponding to the financial market type, and obtain interest rate related charts;
[0033] A report generation module is used to generate the interest rate report based on the loaded interest rate text information, the loaded interest rate table, and the interest rate related charts.
[0034] Optionally, the device further comprises: a template generating module;
[0035] The module generation module is used to divide the interest rate report template into N sections according to the financial market type, where N is an integer greater than or equal to 1; determine the position information corresponding to each of the sections respectively to obtain the template part corresponding to each of the sections; and use the template part corresponding to each of the sections to form the interest rate report template.
[0036] Optionally, the template generation module includes: a template generation submodule;
[0037] The template generation submodule is used to perform the following operations for each of the sections: determine the first position information of the interest rate text information corresponding to the section, the second position information of the interest rate table, and the third position information of the interest rate-related chart; wherein the interest rate text information includes: fixed interest rate text information and dynamic interest rate text information, the interest rate table is correspondingly provided with a table name, and the interest rate-related chart includes: interest rate-related chart name; based on the first position information, the second position information and the third position information, obtain the template part corresponding to the section.
[0038] Optionally, the financial indicator data further includes: an interest rate classification identifier corresponding to the interest rate information;
[0039] The loading module is specifically used to load the interest rate information corresponding to the financial market type into the dynamic interest rate text information of the section corresponding to the financial market type; load the interest rate information corresponding to the financial market type into the interest rate table corresponding to the section corresponding to the financial market type and the table name according to the preset correspondence between the interest rate classification identifier and the table name; and obtain the interest rate-related chart corresponding to the interest rate-related chart name according to the loaded interest rate text information, the loaded interest rate table, and the interest rate-related chart name.
[0040] Optionally, the report generation module is specifically used to generate a first format interest rate report based on the loaded interest rate text information, the loaded interest rate table, and the interest rate-related chart; utilize format conversion to convert the first format interest rate report into a second format interest rate report, and use the second format interest rate report as the interest rate report.
[0041] Optionally, the first format interest rate report includes: a hypertext markup language HTML format interest rate report, and the second format interest rate report includes: a word format interest rate report, and / or a PDF format interest rate report.
[0042] Optionally, the financial market type includes at least one of a money market, an interest rate swap, an interest rate bond market, a credit bond market and a foreign exchange market.
[0043] Optionally, the report generation module includes: a report publishing submodule;
[0044] The report publishing submodule is used to obtain an instruction indicating that the report verification is successful; and publish the interest rate report according to the instruction indicating that the report verification is successful.
[0045] In a third aspect, the present application provides an electronic device comprising: a processor, a communication component, a memory and a communication bus, wherein the processor, the communication component and the memory communicate with each other via the communication bus; the memory is used to store computer programs; and the processor is used to execute the programs stored in the memory to implement the method for generating an interest rate report described in the first aspect.
[0046] In a fourth aspect, the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the method for generating an interest rate report described in the first aspect.
[0047] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application obtains financial indicator data for each preset time period, wherein the financial indicator data includes: financial market type and interest rate information corresponding to the financial market type; the interest rate information corresponding to the financial market type is loaded into the interest rate report template, the interest rate text information corresponding to the financial market type and the interest rate table, respectively, to obtain interest rate related charts, and an interest rate report is generated according to the loaded interest rate text information, the loaded interest rate table, and the interest rate related charts. The present application adopts an automated method to load the financial indicator data into the interest rate report template to generate the interest rate report, which effectively solves the problem in the prior art of manually counting and sorting the interest rate data, and manually drawing the sorted data into an interest rate report. In addition, the present application improves the accuracy of the interest rate report and saves time costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0049] In order to more clearly illustrate the embodiments of the present invention 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0050] Figure 1 This is a schematic diagram of the generation process of the interest rate report in the embodiment of the present application;
[0051] Figure 2 This is a schematic diagram of the generation process of the interest rate report template in the embodiment of the present application;
[0052] Figure 3 A schematic diagram of the generation process of interest rate text information, interest rate tables and interest rate related charts in the embodiment of the present application;
[0053] Figure 4 This is a schematic diagram of a specific generation process of an interest rate report in an embodiment of the present application;
[0054] Figure 5 This is a first structural schematic diagram of an interest rate report generation device in an embodiment of the present application;
[0055] Figure 6 This is a second structural diagram of the device for generating an interest rate report in an embodiment of the present application;
[0056] Figure 7 Schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. 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.
[0058] An embodiment of the present application provides a method for generating an interest rate report, which can be applied to a server, a terminal, an application installed in the terminal, or a website that can be opened in the terminal.
[0059] This application uses the method applied in an application that can be installed in a terminal as an example for explanation. Of course, this is only an example and is not used to limit the protection scope of this application. In addition, some other examples in this application are not used to limit the protection scope of this application, so they are not explained one by one.
[0060] Specifically, interest rate refers to the ratio of interest to loan amount (principal) in a certain period of time. Interest rate is the main factor that determines the cost of enterprise funds, and it is also the decisive factor for enterprise financing and investment. The study of financial environment must pay attention to the current situation of interest rate and its changing trend. Therefore, this application proposes to issue interest rate report in an automated way to observe the current situation of interest rate and the changing trend of interest rate in the financial environment.
[0061] Among them, interest rate reports include: daily interest rate report, monthly interest rate report, quarterly interest rate report, semi-annual interest rate report and annual interest rate report, etc.
[0062] The specific implementation of this method is as follows Figure 1 As shown:
[0063] Step 101, obtaining financial indicator data for each preset time period.
[0064] Financial indicator data include: financial market types and interest rate information corresponding to financial market types.
[0065] In a specific embodiment, the types of financial markets include: money market, interest rate swap, interest rate bond market, credit bond market and foreign exchange market.
[0066] Among them, in the money market, it includes central bank announcements. The central bank announcements are displayed in the form of charts, for example, showing the weekly statistics of the central bank's open market operations in the past year, in which the central bank's weekly net injection and weekly withdrawal trends in the past year are shown in the form of a line chart.
[0067] For example, taking the daily interest rate report as an example, an interest rate report is issued every day.
[0068] Specifically, the financial indicator data of the previous day is obtained from various financial service platforms at regular intervals every day. For example, the money market and the interest rate information corresponding to the money market, such as: obtaining the total amount of reverse repurchases due the previous day, the amount of net withdrawal, and the amount of investment, etc., which are disclosed by the central bank.
[0069] The obtained financial indicator data may not be used directly. If the unit is different from that used in this method, or the report display parameters are different, the data cannot be used directly. In this case, further data processing is required. Below, the financial indicator data that cannot be used directly can be defined as data that needs to be adjusted.
[0070] For example, if the net withdrawal in December 2020 is 50 billion yuan, in order to obtain the year-on-year growth rate in December 2020, it is necessary to obtain the net withdrawal amount in December 2019 and use the year-on-year growth rate formula to calculate the growth rate in December 2020 compared with December 2019.
[0071] For example, the net withdrawal in December 2020 is 50 billion yuan. In order to get the month-on-month growth rate in December 2020, it is necessary to obtain the net withdrawal amount in November 2020 and use the month-on-month growth rate formula to calculate the growth rate in December 2020 compared with November 2020.
[0072] Step 102, the interest rate information corresponding to the financial market type is loaded into the interest rate report template, and the interest rate text information and interest rate table corresponding to the financial market type are loaded into the interest rate report template, and the interest rate related chart is obtained.
[0073] In a specific embodiment, the process of generating the interest rate report template is as follows: Figure 2 As shown:
[0074] Step 201, dividing the interest rate report template into N sections according to the financial market type.
[0075] Wherein, N is an integer greater than or equal to 1.
[0076] Taking N equals 5 as an example, the interest rate report template is divided into 5 sections according to the type of financial market, each section is: money market, interest rate swap, interest rate bond market, credit bond market and foreign exchange market.
[0077] Step 202, respectively determine the position information corresponding to each plate, and obtain the template part corresponding to each plate.
[0078] Specifically, the location information of each section can be preset according to the actual situation and the user's personal needs. For example, the five sections of the interest rate report template are defined as the first section, the second section, the third section, the fourth section and the fifth section. The location information of the financial market type of each section is preset.
[0079] When the content configured at the financial market type in the first section is the money market, it is determined that the position information of the first section represents the template part of the money market; when the content configured at the financial market type in the second section is the interest rate swap, it is determined that the position information of the second section represents the template part of the interest rate swap; when the content configured at the financial market type in the third section is the interest rate bond market, it is determined that the position information of the third section represents the template part of the interest rate bond market; when the content configured at the financial market type in the fourth section is the credit bond market, it is determined that the position information of the fourth section represents the template part of the credit bond market; when the content configured at the financial market type in the fifth section is the foreign exchange market, it is determined that the content configured in the fifth section is the template part of the foreign exchange market.
[0080] In a specific embodiment, the following operations are performed for each section: first position information of interest rate text information corresponding to the section, second position information of interest rate table, and third position information of interest rate related chart are determined. Based on the first position information, the second position information, and the third position information, the template part corresponding to the section is obtained.
[0081] The interest rate text information includes: fixed interest rate text information and dynamic interest rate text information, the interest rate table is correspondingly provided with a table name, and the interest rate related chart includes: interest rate related chart name. Any section includes: at least one section of interest rate text information, at least one interest rate table and at least one interest rate related chart.
[0082] Specifically, each section includes multiple sub-sections, each of which corresponds to its own position sub-information, and each position sub-information can be preset according to the actual situation and the user's personal needs. Below, the section where the money market is located is used as an example for explanation. Determine the first position information of the interest rate text information corresponding to the money section, the second position information of the interest rate table corresponding to the money section, and the third position information of the interest rate related chart corresponding to the money section, and obtain the template part corresponding to the money section.
[0083] For example, the first position information of the interest rate text information corresponding to the currency section includes: the first position sub-information of the first interest rate text, the first position sub-information of the second interest rate text, and the first position sub-information of the third interest rate text; the second position information of the interest rate table corresponding to the currency section includes: the second position sub-information of the first interest rate table and the second position sub-information of the second interest rate table; the third position information of the interest rate-related chart corresponding to the currency section includes: the third position sub-information of the first interest rate-related chart, the third position sub-information of the second interest rate-related chart, the third position sub-information of the third interest rate-related chart, and the third position sub-information of the fourth interest rate-related chart.
[0084] For example, the interest rate text information corresponding to the first position sub-information of the first interest rate text is: 60 billion yuan of reverse repurchases matured today, with a net return of 50 billion yuan; the interest rate text information corresponding to the first position sub-information of the second interest rate text is: the balance of interbank funds has loosened, and the interest rates in the money market have risen and fallen. Among them, the weighted overnight repurchase rate fell by 32.21BP to 1.44%, the 7-day variety fell by 8.08BP to 2.35%, the 14-day variety rose by 5.91BP to 2.74%, the 1M variety rose by 4.79BP to 3.32%, and the 3M variety fell by 31.00BP to 3.09%; the interest rate text information corresponding to the first position sub-information of the third interest rate text is: in terms of interbank certificates of deposit, 57.8 billion yuan were issued in the primary market, and the AAA varieties rose and fell at different maturities. Specifically, the AAA-rated 1M increased by 3.78BP to 2.86%, the 3M decreased by 5.43BP to 3.03%, the 6M increased by 0.58BP to 3.29%, and the 1Y decreased by 0.51BP to 3.26%.
[0085] Among them, the digital part is the dynamic interest rate text information, and the Chinese character part is the fixed interest rate text information.
[0086] In addition, the implementation methods of interest rate swaps, interest rate bond market, credit bond market and foreign exchange market are the same as those of the money market, so they will not be elaborated one by one.
[0087] Step 203, using the template portion corresponding to each section to form an interest rate report template.
[0088] Specifically, the template parts corresponding to the money market, interest rate swap, interest rate bond market, credit bond market and foreign exchange market are combined to form the interest rate reporting template.
[0089] This application pre-builds an interest rate report template and directly loads the acquired data into the interest rate report template, thereby effectively improving the efficiency of interest rate report generation.
[0090] In a specific embodiment, the financial indicator data also includes: interest rate classification identifiers corresponding to interest rate information. The interest rate information corresponding to the financial market type is loaded into the interest rate report template, and the interest rate text information and interest rate table corresponding to the financial market type are respectively loaded into the interest rate report template, and the specific implementation of obtaining the interest rate related chart is as follows: Figure 3 As shown:
[0091] Step 301, loading the interest rate information corresponding to the financial market type into the dynamic interest rate text information of the section corresponding to the financial market type.
[0092] For example, the interest rate information corresponding to the money market is loaded into the dynamic interest rate text information of the money section. Specifically, the position of the money section is obtained according to the first position information of the money, and then the position of the interest rate text information is obtained according to the second position information of the interest rate text information corresponding to the money section, and then the obtained interest rate information corresponding to the money market is loaded into the dynamic interest rate text information of the money section.
[0093] Specifically, according to the second position sub-information of the first interest rate text, the second position sub-information of the second interest rate text, and the third position sub-information of the third interest rate text corresponding to the currency section, the interest rate information corresponding to the currency section is loaded into the dynamic interest rate text information of the currency section respectively.
[0094] In addition, the implementation methods of interest rate swaps, interest rate bond market, credit bond market and foreign exchange market are the same as those of the money market, so they will not be elaborated one by one.
[0095] Step 302, according to the preset correspondence between the interest rate classification identifier and the table name, the interest rate information corresponding to the financial market type is loaded into the interest rate table corresponding to the section corresponding to the financial market type and the table name.
[0096] Specifically, the correspondence between the interest rate classification identifier and the table name is pre-configured. Take the currency section as an example. For example, when the table name is the interbank certificate of deposit issuance rate, the interest rate classification identifier is configured as the one-month issuance weighted interest rate, the three-month issuance weighted interest rate, the six-month issuance weighted interest rate and the one-year issuance weighted interest rate, etc.
[0097] In addition to the table name, the interest rate table also has a table header. The correspondence between the table name and the table header is also pre-configured to load the corresponding interest rate information of the money market into the interest rate table of the money section. Specifically, the interest rate table corresponding to the interest rate information is obtained through the table name, and the interest rate information is loaded into the corresponding interest rate table according to the header of the interest rate table obtained through the table name.
[0098] For example, based on the first position information of the currency, the position of the currency sector is obtained, and then based on the third position information of the interest rate table corresponding to the currency sector, the position of the interest rate table corresponding to the currency sector is obtained, and then the obtained interest rate information corresponding to the money market is loaded into the currency sector.
[0099] In addition, the implementation methods of interest rate swaps, interest rate bond market, credit bond market and foreign exchange market are the same as those of the money market, so they will not be elaborated one by one.
[0100] Step 303, obtaining an interest rate related chart corresponding to the interest rate related chart name according to the loaded interest rate text information, the loaded interest rate table, and the interest rate related chart name.
[0101] Specifically, the correspondence between the interest rate text information, the table name of the interest rate table and the character table diagram of the interest rate-related chart name is pre-configured, and based on the correspondence between the character table diagrams, that is, the loaded interest rate text information, the loaded interest rate table, and the interest rate-related chart name, an interest rate-related chart corresponding to the interest rate-related chart name is obtained.
[0102] In addition, after obtaining the interest rate related chart, the interest rate related chart is rendered to obtain a final interest rate related chart.
[0103] Take the currency section as an example. For example, the configuration includes text information on the interest rate of interbank certificates of deposit, the name of the interest rate table is the interbank certificate of deposit issuance rate, and the name of the interest rate-related chart that shows the trend of the interbank certificate of deposit issuance rate, which is the correspondence between the first set of text, table and chart.
[0104] The interest rate information with interbank certificates of deposit corresponding to the money market is loaded into the dynamic interest rate text information of the money section to obtain the interest rate text information after the money section is loaded; according to the correspondence between the preset interest rate classification identifier and the table name, the interest rate information with interbank certificates of deposit is loaded into the interest rate table of the interbank certificate of deposit issuance rate to obtain the interest rate table after the money section is loaded. According to the correspondence between the first group of word tables and graphs, the interest rate related chart of the interbank certificate of deposit issuance rate trend is obtained.
[0105] In addition, the implementation methods of interest rate swaps, interest rate bond market, credit bond market and foreign exchange market are the same as those of the money market, so they will not be elaborated one by one.
[0106] Step 103, generating an interest rate report based on the loaded interest rate text information, the loaded interest rate table, and interest rate related charts.
[0107] In a specific embodiment, a first-format interest rate report is generated based on the loaded interest rate text information, the loaded interest rate table, and the interest rate related chart. The first-format interest rate report is the first-generation interest rate report. Further, the first-format interest rate report is converted into a second-format interest rate report by format conversion, and the second-format interest rate report is used as the final interest rate report.
[0108] In a specific embodiment, after the interest rate report is generated, the auditor verifies the content of the interest rate report and the key information in the interest rate report, and verifies the accuracy of the chart. After the auditor's review is successful, an instruction for successful report verification will be triggered. This application obtains an instruction for successful report verification, and publishes an interest rate report based on the instruction for successful report verification. If the auditor triggers an instruction for failed report verification, manual data proofreading is required, and after the proofreading is completed, the auditor triggers an instruction for successful report verification. The accuracy of the interest rate report is effectively improved.
[0109] In a specific embodiment, the first format interest rate report includes: Hypertext Markup Language (HTML) format interest rate report, and the second format interest rate report includes: Word format interest rate report, and / or PDF format interest rate report. This application converts the HTML format interest rate report into a PDF format or Word format interest rate report, which is more convenient for users to view, and can also provide users with a download function. After downloading the interest rate report, they can watch it offline, which provides a better user experience.
[0110] Next, through Figure 4 The method of generating the interest rate report is described in detail:
[0111] Step 401, generate an interest rate report template.
[0112] Step 402, obtaining financial indicator data and interest rate report templates for each preset time period.
[0113] Step 403, load the interest rate information corresponding to the financial market type into the interest rate report template, and obtain interest rate related charts from the interest rate text information and interest rate table corresponding to the financial market type, and generate a first format interest rate report based on the loaded interest rate text information, the loaded interest rate table, and the interest rate related charts.
[0114] Step 404, using format conversion, converts the first format interest rate report into a second format interest rate report, and uses the second format interest rate report as the final interest rate report.
[0115] Step 405, obtaining an instruction indicating successful report verification, and publishing an interest rate report according to the instruction indicating successful report verification.
[0116] It can be seen that the interest rate report provided by this application includes three forms: text, tables and charts, which can analyze the changes and trends of financial indicator data from all aspects and angles, effectively improving the user experience.
[0117] The method provided in the embodiment of the present application obtains financial indicator data for each preset time period, wherein the financial indicator data includes: a financial market type and interest rate information corresponding to the financial market type; the interest rate information corresponding to the financial market type is loaded into an interest rate report template, and interest rate text information and an interest rate table corresponding to the financial market type are loaded to obtain interest rate related charts; an interest rate report is generated according to the loaded interest rate text information, the loaded interest rate table, and the interest rate related charts. The present application uses an automated method to load the financial indicator data into the interest rate report template to generate the interest rate report, which effectively solves the problem in the prior art of requiring manual statistics and sorting of interest rate data, and manual drawing of the sorted data into an interest rate report. In addition, the present application improves the accuracy of the interest rate report and saves time costs.
[0118] The present application also provides a device for generating an interest rate report. The specific implementation of the device can be found in the description of the method embodiment, and the repetitive parts will not be repeated. Figure 5 As shown, the device mainly includes:
[0119] The acquisition module 501 is used to acquire financial indicator data of each preset time period, and the financial indicator data includes: financial market type and interest rate information corresponding to the financial market type.
[0120] The loading module 502 is used to load the interest rate information corresponding to the financial market type into the interest rate report template, the interest rate text information and the interest rate table corresponding to the financial market type, and obtain the interest rate related chart.
[0121] The report generation module 503 is used to generate an interest rate report based on the loaded interest rate text information, the loaded interest rate table, and the interest rate related charts.
[0122] In a specific embodiment, Figure 6 As shown, the device also includes: a template generation module 601. The template generation module 601 is used to divide the interest rate report template into N sections according to the financial market type, where N is an integer greater than or equal to 1; determine the position information corresponding to each section respectively, and obtain the template part corresponding to each section; and use the template part corresponding to each section to form the interest rate report template.
[0123] In a specific embodiment, the template generation module 601 further includes: a template generation submodule. The template generation submodule is used to perform the following operations for each of the sections: determine the first position information of the interest rate text information, the second position information of the interest rate table, and the third position information of the interest rate-related chart corresponding to the section; wherein the interest rate text information includes: fixed interest rate text information and dynamic interest rate text information, the interest rate table is correspondingly provided with a table name, and the interest rate-related chart includes: interest rate-related chart name; according to the first position information, the second position information, and the third position information, obtain the template part corresponding to the section.
[0124] The present application pre-builds an interest rate report template through the template generation module 601, and directly loads the acquired data into the interest rate report template, thereby effectively improving the generation efficiency of the interest rate report.
[0125] In a specific embodiment, the financial indicator data also includes: an interest rate classification identifier corresponding to the interest rate information, a loading module 502, which is specifically used to load the interest rate information corresponding to the financial market type into the dynamic interest rate text information of the section corresponding to the financial market type; according to the pre-set correspondence between the interest rate classification identifier and the table name, the interest rate information corresponding to the financial market type is loaded into the interest rate table corresponding to the section corresponding to the financial market type and the table name; according to the loaded interest rate text information, the loaded interest rate table, and the interest rate related chart name, an interest rate related chart corresponding to the interest rate related chart name is obtained.
[0126] In a specific embodiment, the report generation module 503 is specifically used to generate a first format interest rate report based on the loaded interest rate text information, the loaded interest rate table, and the interest rate related charts; utilize format conversion to convert the first format interest rate report into a second format interest rate report, and use the second format interest rate report as the interest rate report.
[0127] In a specific embodiment, the first format interest rate report includes: HTML format interest rate report, and the second format interest rate report includes: word format interest rate report, and / or PDF format interest rate report. This application converts the HTML format interest rate report into a PDF format or word format interest rate report, which is more convenient for users to view, and can also provide users with a download function. After downloading the interest rate report, they can watch it offline, which provides a better user experience.
[0128] In a specific embodiment, the financial market type includes at least one of a money market, an interest rate swap, an interest rate bond market, a credit bond market, and a foreign exchange market.
[0129] In a specific embodiment, the report generation module 503 further includes a report publishing submodule. The report publishing submodule is used to obtain an instruction indicating that the report verification is successful; and publish the interest rate report according to the instruction indicating that the report verification is successful.
[0130] It can be seen that the interest rate report provided by this application includes three forms: text, tables and charts, which can analyze the changes and trends of financial indicator data from all aspects and angles, effectively improving the user experience.
[0131] The interest rate report generation device provided in the embodiment of the present application obtains financial indicator data for each preset time period through an acquisition module 501, wherein the financial indicator data includes: a financial market type and interest rate information corresponding to the financial market type; through a loading module 502, the interest rate information corresponding to the financial market type is loaded into an interest rate report template, and interest rate text information and an interest rate table corresponding to the financial market type are obtained to obtain interest rate related charts; through a report generation module 503, an interest rate report is generated according to the loaded interest rate text information, the loaded interest rate table, and the interest rate related charts. The present application adopts an automated method to load the financial indicator data into the interest rate report template to generate the interest rate report, which effectively solves the problem in the prior art that manual statistics and collation of interest rate data are required, and manual drawing of the collated data into an interest rate report is required. In addition, the present application improves the accuracy of the interest rate report and saves time costs.
[0132] Based on the same concept, an electronic device is also provided in the embodiment of the present application, such as Figure 7 As shown, the electronic device mainly includes: a processor 701, a communication component 702, a memory 703 and a communication bus 704, wherein the processor 701, the communication component 702 and the memory 703 communicate with each other through the communication bus 704. The memory 703 stores a program that can be executed by the processor 701, and the processor 701 executes the program stored in the memory 703 to implement the following steps: obtaining financial indicator data for each preset time period, the financial indicator data including: financial market type and interest rate information corresponding to the financial market type; loading the interest rate information corresponding to the financial market type into the interest rate report template, the interest rate text information corresponding to the financial market type and the interest rate table, respectively, to obtain interest rate related charts; generating an interest rate report according to the loaded interest rate text information, the loaded interest rate table, and the interest rate related charts.
[0133] The communication bus 704 mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 704 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0134] The communication component 702 is used for communication between the above electronic device and other devices.
[0135] The memory 703 may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Alternatively, the memory may also be at least one storage device located away from the processor 701.
[0136] The above-mentioned processor 701 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc., and can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0137] In another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed on a computer, the computer executes the method for generating an interest rate report described in the above embodiment.
[0138] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instruction is loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instruction is transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape, etc.), an optical medium (e.g., a DVD) or a semiconductor medium (e.g., a solid-state hard disk), etc.
[0139] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0140] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for generating an interest rate report, characterized in that: The method comprises: Acquire financial indicator data for each preset time period, the financial indicator data including: financial market type and interest rate information corresponding to the financial market type, and interest rate classification identifier corresponding to the interest rate information; The interest rate information corresponding to the financial market type is loaded into the interest rate report template, the interest rate text information and the interest rate table corresponding to the financial market type, respectively, to obtain interest rate related charts, including: loading the interest rate information corresponding to the financial market type into the dynamic interest rate text information of the section corresponding to the financial market type; loading the interest rate information corresponding to the financial market type into the interest rate table corresponding to the section corresponding to the financial market type and the table name according to the preset corresponding relationship between the interest rate classification identifier and the table name; obtaining the interest rate related chart corresponding to the interest rate related chart name according to the loaded interest rate text information, the loaded interest rate table, and the interest rate related chart name; The interest rate report is generated based on the loaded interest rate text information, the loaded interest rate table, and the interest rate related chart.
2. The method for generating an interest rate report according to claim 1, characterized in that: The generation process of the interest rate report template includes: According to the financial market type, the interest rate report template is divided into N sections, where N is an integer greater than or equal to 1; Determine the position information corresponding to each of the plates respectively, and obtain the template part corresponding to each of the plates; The interest rate report template is constructed by using the template portion corresponding to each section.
3. The method for generating an interest rate report according to claim 2, characterized in that: The step of respectively determining the position information corresponding to each of the plates to obtain the template portion corresponding to each of the plates includes: For each of the above mentioned sections, perform the following operations: Determine the first position information of the interest rate text information corresponding to the section, the second position information of the interest rate table, and the third position information of the interest rate related chart; The interest rate text information includes: fixed interest rate text information and dynamic interest rate text information, the interest rate table is correspondingly provided with a table name, and the interest rate related chart includes: interest rate related chart name; A template portion corresponding to the plate is obtained according to the first position information, the second position information and the third position information.
4. The method for generating an interest rate report according to claim 1, characterized in that: Generating the interest rate report according to the loaded interest rate text information, the loaded interest rate table, and the interest rate related chart, including: Generate a first format interest rate report according to the loaded interest rate text information, the loaded interest rate table, and the interest rate related chart; The first-format interest rate report is converted into a second-format interest rate report by means of format conversion, and the second-format interest rate report is used as the interest rate report.
5. The method for generating an interest rate report according to claim 4, characterized in that: The first format interest rate report includes: a hypertext markup language HTML format interest rate report, and the second format interest rate report includes: a word format interest rate report, and / or a PDF format interest rate report.
6. The method for generating an interest rate report according to any one of claims 1 to 5, characterized in that: The financial market types include: at least one of a money market, an interest rate swap, an interest rate bond market, a credit bond market and a foreign exchange market.
7. The method for generating an interest rate report according to claim 1, characterized in that: After generating the interest rate report, it also includes: Get the command to report successful verification; According to the instruction of successful report verification, the interest rate report is released.
8. A device for generating an interest rate report, characterized in that: include: An acquisition module, used to acquire financial indicator data for each preset time period, wherein the financial indicator data includes: a financial market type and interest rate information corresponding to the financial market type, and an interest rate classification identifier corresponding to the interest rate information; A loading module, used to load the interest rate information corresponding to the financial market type into the interest rate report template, the interest rate text information and the interest rate table corresponding to the financial market type, respectively, to obtain interest rate related charts, including: loading the interest rate information corresponding to the financial market type into the dynamic interest rate text information of the section corresponding to the financial market type; loading the interest rate information corresponding to the financial market type into the interest rate table corresponding to the section and the table name corresponding to the financial market type according to the preset corresponding relationship between the interest rate classification identifier and the table name; obtaining the interest rate related chart corresponding to the interest rate related chart name according to the loaded interest rate text information, the loaded interest rate table, and the interest rate related chart name; A report generation module is used to generate the interest rate report based on the loaded interest rate text information, the loaded interest rate table, and the interest rate related charts.
9. The device for generating an interest rate report according to claim 8, characterized in that: The device also includes: a template generation module; The template generation module is used to divide the interest rate report template into N sections according to the financial market type, where N is an integer greater than or equal to 1; determine the position information corresponding to each section respectively to obtain the template part corresponding to each section; and use the template part corresponding to each section to form the interest rate report template.
10. The device for generating an interest rate report according to claim 9, characterized in that: The template generation module includes: a template generation submodule; The template generation submodule is used to perform the following operations for each of the sections: determine the first position information of the interest rate text information corresponding to the section, the second position information of the interest rate table, and the third position information of the interest rate-related chart; wherein the interest rate text information includes: fixed interest rate text information and dynamic interest rate text information, the interest rate table is correspondingly provided with a table name, and the interest rate-related chart includes: interest rate-related chart name; based on the first position information, the second position information and the third position information, obtain the template part corresponding to the section.
11. The device for generating an interest rate report according to claim 8, characterized in that: The report generation module is specifically used to generate a first format interest rate report according to the loaded interest rate text information, the loaded interest rate table, and the interest rate related chart; The first-format interest rate report is converted into a second-format interest rate report by means of format conversion, and the second-format interest rate report is used as the interest rate report.
12. The device for generating an interest rate report according to claim 11, characterized in that: The first format interest rate report includes: a hypertext markup language HTML format interest rate report, and the second format interest rate report includes: a word format interest rate report, and / or a PDF format interest rate report.
13. The device for generating an interest rate report according to any one of claims 8 to 11, characterized in that: The financial market types include: at least one of a money market, an interest rate swap, an interest rate bond market, a credit bond market and a foreign exchange market.
14. The device for generating an interest rate report according to claim 8, characterized in that: The report generation module includes: a report publishing submodule; The report publishing submodule is used to obtain an instruction indicating that the report verification is successful; and publish the interest rate report according to the instruction indicating that the report verification is successful.
15. An electronic device, characterized in that: include: A processor, a communication component, a memory and a communication bus, wherein the processor, the communication component and the memory communicate with each other via the communication bus; The memory is used to store computer programs; The processor is used to execute the program stored in the memory to implement the method for generating an interest rate report as described in any one of claims 1-7.
16. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for generating an interest rate report according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Report generation method and device, storage medium and computer equipment
CN111553137A