Report generation method and device, equipment, medium and program product
Through the preset correspondence between user and indicator library and the intuitive control selection mechanism, the problems of low report generation efficiency and poor user experience in the existing technology are solved, and fast and flexible report generation and efficient user experience are achieved.
Patent Information
- Application Number
- CN202410950302.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2025-02-07
AI Technical Summary
The existing technology has problems with low generation efficiency and poor user experience when generating reports, especially in terms of indicator selection, and it is necessary to traverse a huge indicator library for filtering one by one.
Through the preset correspondence between the user and the indicator library, the target indicator library corresponding to the target user is obtained, and the controls corresponding to the target indicator library are displayed one by one, allowing the user to intuitively select the required indicators. Then, metric data is obtained in the database and a report is generated based on this data.
It realizes rapid positioning and access of personalized metric databases, simplifies the report generation process, saves time and energy, significantly improves the report generation efficiency, and effectively improves the user experience.
Smart Images

Figure CN119398019A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of data processing technology, and in particular, relates to a report generation method, device, equipment, medium and program product. Background Art
[0002] A report is a document that presents the results of research, investigation, and analysis on a specific topic or issue in written form. It is used to provide users with accurate, comprehensive, and objective information.
[0003] Although traditional bank service reports contain multiple indicators that can reflect service conditions, the existing report generation system is not flexible enough in indicator selection. It cannot quickly select relevant indicators based on specific scenarios or tasks, but needs to traverse the entire huge indicator library for screening one by one. This process is cumbersome and time-consuming, which seriously affects the user experience.
[0004] Therefore, the prior art has the problems of low generation efficiency and poor user experience when generating reports. Summary of the invention
[0005] The embodiments of the present application provide a report generation method, apparatus, device, medium and program product, which can solve the problems of low generation efficiency and poor user experience in the prior art when generating reports.
[0006] In a first aspect, a method for generating a report includes:
[0007] In response to a report generation request of the first target user, obtaining a target indicator library corresponding to the first target user in a preset correspondence relationship between the first user and the indicator library, wherein the target indicator library includes information of a plurality of indicators;
[0008] Displaying a first page, the first page includes a plurality of controls, and the controls correspond to the indicators in the target indicator library one by one;
[0009] When receiving a first input of a first target user to a target control in the first page, obtaining information of a target indicator corresponding to the target control in a target indicator library, wherein the target indicator is an indicator specified by the first target user from among multiple indicators;
[0010] In the database, according to the information of the target indicator, the indicator data corresponding to the target indicator is obtained;
[0011] Generate reports based on indicator data.
[0012] In a possible embodiment of the first aspect, the information of the indicator includes an indicator type and an indicator identifier; in a database, according to the information of the target indicator, obtaining indicator data corresponding to the target indicator includes:
[0013] When the indicator type of the target indicator is a non-nested type, in the database, the indicator data corresponding to the target indicator is obtained according to the indicator identifier of the target indicator; or,
[0014] When the indicator type of the target indicator is a nested type, in the database, according to the indicator identifiers of sub-indicators at different levels, sub-indicator data are obtained level by level to obtain indicator data corresponding to the target indicator, wherein the target indicator is composed of sub-indicators at different levels.
[0015] In a possible embodiment of the first aspect, the report generation request of the first target user includes information of a target preset template, where the target preset template is a preset template specified by the first target user from among multiple preset templates;
[0016] Generate reports based on indicator data, including:
[0017] Generate reports based on indicator data and preset target templates.
[0018] In a possible embodiment of the first aspect, in response to a report generation request of the first target user, before acquiring a target indicator library corresponding to the first target user in a preset correspondence relationship between the first user and the indicator library, the method further includes:
[0019] In response to a report generation request from a user, obtaining user information in the report generation request from the user;
[0020] When the user information successfully matches the preset first user information, the user is determined to be the first target user, and the report generation request of the user is the report generation request of the first target user.
[0021] In a possible embodiment of the first aspect, in response to a report generation request of the first target user, before acquiring a target indicator library corresponding to the first target user in a preset correspondence relationship between the first user and the indicator library, the method further includes:
[0022] In response to a new indicator request from the second target user, obtaining information about the new indicator in the new indicator request from the second target user and information about the first user, wherein the first user has permission to use the new indicator;
[0023] Adding information of newly added indicators corresponding to the information of the same first user to the same indicator library;
[0024] Based on the information of the first user and the indicator library, a corresponding relationship between the first user and the indicator library is generated.
[0025] In a possible embodiment of the first aspect, before responding to the new indicator request of the second target user and obtaining the information of the new indicator in the new indicator request of the second target user and the information of the first user, the method further includes:
[0026] In response to a user's request for a new indicator, obtaining user information in the user's request for a new indicator;
[0027] When the user information successfully matches the preset second user information, the user is determined to be a second target user, and a second page is displayed;
[0028] When a second input from the user on the second page is received, a new indicator request for the second target user is generated based on the second input.
[0029] In a possible embodiment of the first aspect, the present invention further includes:
[0030] Display the third page;
[0031] When receiving a third input from the first target user on the third page, acquiring report sending time information and information of a third user who receives the report in the third input;
[0032] The report is sent to the third user according to the report sending time information.
[0033] Based on the same inventive concept, in a second aspect, the embodiment of the present application further provides a report generating device, including:
[0034] an acquisition module, configured to respond to a report generation request of a first target user, and acquire a target indicator library corresponding to the first target user in a preset correspondence relationship between the first user and the indicator library, wherein the target indicator library includes information of a plurality of indicators;
[0035] A display module, used to display a first page, the first page includes a plurality of controls, and the controls correspond to the indicators in the target indicator library one by one;
[0036] The acquisition module is further used to acquire information of a target indicator corresponding to the target control in a target indicator library when receiving a first input of the first target user to the target control in the first page, wherein the target indicator is an indicator specified by the first target user from among the multiple indicators;
[0037] The acquisition module is also used to obtain the indicator data corresponding to the target indicator in the database according to the information of the target indicator;
[0038] The generation module is used to generate reports based on indicator data.
[0039] Based on the same inventive concept, in the third aspect, an embodiment of the present application also provides a report generation device, which includes a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, it implements the first aspect, or the report generation method in any embodiment of the first aspect.
[0040] Based on the same inventive concept, in a fourth aspect, an embodiment of the present application further provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method for generating a report in the first aspect or any embodiment of the first aspect is implemented.
[0041] Based on the same inventive concept, in the fifth aspect, an embodiment of the present application also provides a computer program product. When the instructions in the computer program product are executed by the processor of the device, the device can execute the report generation method in the first aspect or any embodiment of the first aspect.
[0042] According to the report generation method, device, equipment, medium and program product provided in the embodiment of the present application. First, by responding to the report generation request of the first target user, in the preset correspondence relationship between the first user and the indicator library, the target indicator library corresponding to the first target user is obtained, wherein the target indicator library contains information of multiple indicators. Then, the first page is displayed, which contains multiple controls, and these controls correspond to the indicators in the target indicator library one by one, so that the user can intuitively see and select the required indicators, thereby improving the user experience. When the first target user selects the target control in the first page, the information of the target indicator corresponding to the target control is obtained in the target indicator library. Then, in the database, according to the information of the target indicator, the indicator data corresponding to the target indicator can be obtained, and then based on these indicator data, the report is generated. In the embodiment of the present application, by presetting the correspondence relationship between the user and the indicator library, the rapid positioning and access of the personalized indicator library is realized. The user does not need to traverse the entire huge indicator library, and can intuitively see and select the indicators closely related to his work, thereby simplifying the report generation process, saving time and energy, significantly improving the generation efficiency of the report, and effectively improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Other features, objects and advantages of the present application will become more apparent by reading the following detailed description of non-limiting embodiments with reference to the accompanying drawings, in which the same or similar reference numerals represent the same or similar features and the accompanying drawings are not drawn to scale.
[0044] Figure 1 This is a flow chart of a method for generating a report provided in an embodiment of the present application;
[0045] Figure 2This is another flow chart of the method for generating a report provided in an embodiment of the present application;
[0046] Figure 3 It is a flow chart of generating a correspondence between a first user and an indicator library in a report generating method provided in an embodiment of the present application;
[0047] Figure 4 This is a flow chart of sending a report in the report generation method provided in the embodiment of the present application;
[0048] Figure 5 This is another flow chart of the method for generating a report provided in an embodiment of the present application;
[0049] Figure 6 It is a structural schematic diagram of a report generating device provided in an embodiment of the present application;
[0050] Figure 7 It is a structural schematic diagram of a report generating device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0051] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only configured to explain the present application and are not configured to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0052] It should be noted that, in this article, relational terms such as first and second, etc. 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 statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0053] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0054] It is obvious to those skilled in the art that various modifications and changes can be made in the present application without departing from the spirit or scope of the present application. Therefore, the present application is intended to cover modifications and changes of the present application that fall within the scope of the corresponding claims (technical solutions for protection) and their equivalents. It should be noted that the implementation methods provided in the embodiments of the present application can be combined with each other without contradiction.
[0055] It should be noted that the acquisition, storage, use and processing of data in the embodiments of the present application are in compliance with the relevant provisions of national laws and regulations.
[0056] It should also be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0057] Before describing the technical solutions provided by the embodiments of the present application, in order to facilitate the understanding of the embodiments of the present application, the present application first specifically describes the problems existing in the related art:
[0058] A report is a document that presents the results of research, investigation, and analysis on a specific topic or issue in written form. Its main purpose is to provide accurate, comprehensive, and objective information to specific audiences (such as management, decision makers, researchers, the public, etc.).
[0059] Although traditional bank service reports contain multiple indicators that can reflect service conditions, the existing report generation system is not flexible enough in selecting indicators. It cannot quickly select relevant indicators based on specific scenarios or tasks, but needs to traverse the entire huge indicator library for screening one by one. This process is cumbersome and time-consuming, which seriously affects the user experience. Therefore, the relevant technology has the problems of low generation efficiency and poor user experience when generating reports.
[0060] Based on this, the embodiments of the present application provide a report generation method, apparatus, device, medium and program product, which can improve the report generation efficiency and effectively enhance the user experience.
[0061] The report generation method provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings.
[0062] Figure 1 is a flow chart of a method for generating a report provided in an embodiment of the present application, such as Figure 1 As shown, the method may include steps S110 to S150.
[0063] S110, in response to a report generation request of a first target user, obtaining a target indicator library corresponding to the first target user in a preset correspondence relationship between the first user and the indicator library, wherein the target indicator library includes information of a plurality of indicators.
[0064] The first target user is the first user who has the permission to access the indicator library.
[0065] The preset correspondence between the first user and the indicator library is a correspondence set in advance. Each first user has his or her own indicator library that can be accessed, which can achieve refined management of the access rights of each first user. Through this preset correspondence, it can be ensured that each first user can only access the indicator library that he or she is authorized to access, thereby effectively protecting the security and privacy of the data. At the same time, this correspondence also improves the flexibility and scalability of the system, making it easier to manage and maintain when adding new users or adjusting user permissions.
[0066] The indicator library is a storage warehouse for indicator information and can contain information of multiple indicators.
[0067] Specifically, when a report generation request from a first target user is received, the target indicator library corresponding to the first target user is first obtained based on the preset correspondence between the first user and the indicator library, thereby knowing which indicators the first target user can access.
[0068] S120, displaying a first page, wherein the first page includes a plurality of controls, and the controls correspond one-to-one to the indicators in the target indicator library.
[0069] Specifically, a first page is displayed, which includes multiple controls, and these controls have a one-to-one correspondence with the indicators in the target indicator library. This can improve the intuitiveness and convenience of the user interface and reduce the possibility of user error operations.
[0070] S130, when receiving a first input from a first target user to a target control in a first page, obtaining information of a target indicator corresponding to the target control in a target indicator library, wherein the target indicator is an indicator specified by the first target user from among a plurality of indicators.
[0071] Specifically, when receiving the first input of the first target user to the target control in the first page, the system will obtain the target indicator information corresponding to the target control in the target indicator library, wherein the target indicator refers to the indicator clearly specified by the first target user among multiple indicators.
[0072] S140, acquiring indicator data corresponding to the target indicator in the database according to the information of the target indicator.
[0073] Specifically, in the database, according to the information of the target indicator, the indicator data corresponding to the target indicator can be obtained in real time. For example, in the database, a unique indicator identifier of each indicator and corresponding indicator data updated in real time are stored, and according to the unique indicator identifier of the indicator, the corresponding indicator data can be obtained in the database.
[0074] S150, generating a report based on the indicator data.
[0075] Specifically, after the indicator data is obtained in the database, a report can be generated based on the indicator data.
[0076] A method for generating a report according to an embodiment of the present application. First, in response to a report generation request of a first target user, a target indicator library corresponding to the first target user is obtained in a preset correspondence between the first user and the indicator library, wherein the target indicator library contains information of multiple indicators. Next, a first page is displayed, which contains multiple controls, and these controls correspond to the indicators in the target indicator library one by one, so that the user can intuitively see and select the required indicators, thereby improving the user experience. When the first target user selects the target control in the first page, the information of the target indicator corresponding to the target control is obtained in the target indicator library. Then, in the database, according to the information of the target indicator, the indicator data corresponding to the target indicator can be obtained, and then a report is generated based on these indicator data. In the embodiment of the present application, by presetting the correspondence between the user and the indicator library, the rapid positioning and access of the personalized indicator library is realized. Users do not need to traverse the entire huge indicator library, and can intuitively see and select indicators closely related to their work, thereby simplifying the report generation process, saving time and energy, significantly improving the generation efficiency of the report, and effectively improving the user experience.
[0077] The specific process of how step S140 obtains the indicator data corresponding to the target indicator in the database according to the information of the target indicator is described in detail below.
[0078] In some embodiments, the information of the indicator includes an indicator type and an indicator identifier. Step S140 acquires indicator data corresponding to the target indicator in the database according to the information of the target indicator, which may include steps S141 and S142.
[0079] S141, when the indicator type of the target indicator is a non-nested type, in a database, according to the indicator identifier of the target indicator, obtain indicator data corresponding to the target indicator.
[0080] S142, or, in the case where the indicator type of the target indicator is a nested type, in the database, according to the indicator identifiers of the sub-indicators at different levels, the sub-indicator data are obtained level by level to obtain the indicator data corresponding to the target indicator, wherein the target indicator is composed of sub-indicators at different levels.
[0081] Specifically, step S140 obtains corresponding indicator data in the database according to the information of the target indicator. This process can be divided into two cases: 1) If the indicator type of the target indicator is a non-nested type, the corresponding indicator data can be directly obtained in the database according to the indicator identifier of the target indicator; 2) If the indicator type of the target indicator is a nested type, the sub-indicator data can be obtained in the database layer by layer according to the indicator identifiers of sub-indicators at different levels, and finally the indicator data corresponding to the target indicator is obtained, wherein the target indicator is composed of these sub-indicators at different levels.
[0082] In the embodiment of the present application, by flexibly acquiring the corresponding indicator data in the database according to the information of the target indicator, efficient processing of different types of indicator data is achieved. For non-nested indicators, data can be quickly acquired directly according to the indicator identifier; and for nested indicators, sub-indicator data can be acquired and integrated level by level according to sub-indicator identifiers at different levels, and finally complete target indicator data is obtained, which improves the flexibility and accuracy of indicator data generation.
[0083] In some embodiments, the report generation request of the first target user includes information of a target preset template, where the target preset template is a preset template specified by the first target user from among multiple preset templates.
[0084] Step S150 generates a report based on the indicator data, which may include step S151.
[0085] S151, generating a report based on the indicator data and the target preset template.
[0086] In the embodiment of the present application, by utilizing indicator data and a target preset template specified by a first target user from a plurality of preset templates, a report that meets user needs is flexibly generated, the efficiency and accuracy of report generation is improved, and automatic report generation is achieved.
[0087] Figure 2 This is another flowchart of the report generation method provided in the embodiment of the present application.
[0088] In some embodiments, Figure 2 As shown, before responding to the report generation request of the first target user, the user identity may be confirmed. In step S110, in response to the report generation request of the first target user, before obtaining the target indicator library corresponding to the first target user in the preset correspondence relationship between the first user and the indicator library, the method may further include steps S161 and S162.
[0089] S161 , in response to a report generation request from a user, obtaining user information in the report generation request from the user.
[0090] S162: When the user information successfully matches the preset first user information, determine that the user is a first target user, and the report generation request of the user is a report generation request of the first target user.
[0091] Specifically, when receiving a report generation request from a user, the identity of the user can be determined first, by obtaining the user information in the request and matching the user information with the preset first user information. If the match is successful, the user is determined to be the first target user, and the report generation request is identified as the report generation request of the first target user. The embodiment of the present application enhances the pertinence and security of report generation, ensuring that only qualified users can trigger the subsequent report generation process.
[0092] The following describes the process of generating the corresponding relationship between the first user and the indicator library.
[0093] In some embodiments, you may continue to refer to Figure 2 In step S110, in response to the report generation request of the first target user, before obtaining the target indicator library corresponding to the first target user in the preset correspondence relationship between the first user and the indicator library, the method may further include steps S171 to S173.
[0094] S171, in response to a new indicator request from a second target user, obtaining information about a new indicator in the new indicator request from the second target user and information about the first user, wherein the first user has permission to use the new indicator.
[0095] S172, adding the information of the newly added indicator corresponding to the information of the same first user to the same indicator library.
[0096] S173: Generate a corresponding relationship between the first user and the indicator library based on the information of the first user and the indicator library.
[0097] The second target user is a second user who has the authority to configure indicators in the indicator library.
[0098] Specifically, before executing step S110, the process of generating the correspondence between the first user and the indicator library is as follows: first, when a request for a new indicator is received from a second user who has the indicator configuration authority of the indicator library, information about the new indicator and information about the first user who has the authority to use the new indicator can be obtained from the request; then, a corresponding indicator library can be generated for each first user, and information about the new indicator corresponding to the information of the same first user can be added to the corresponding indicator library; finally, based on the association between the information of the first user and the indicator library, the correspondence between the first user and the indicator library can be generated and maintained.
[0099] In an embodiment of the present application, by receiving a request for a new indicator from a second user who has the authority to configure the indicator library, the new indicator information and its corresponding information of the first user with the authority to use it are automatically obtained, and then a personalized indicator library is generated and maintained for each first user. Based on the association between the first user and the indicator library, the automatic generation and management of the correspondence between the first user and the indicator library is realized, thereby improving the flexibility and efficiency of the indicator configuration.
[0100] Figure 3 This is another flowchart of the report generation method provided in the embodiment of the present application.
[0101] In some embodiments, Figure 3 As shown, before responding to the new indicator request of the second target user in step S171 and obtaining the information of the new indicator in the new indicator request of the second target user and the information of the first user, the method may further include steps S181 to S183.
[0102] S181, in response to a new indicator request from a user, obtaining user information in the new indicator request from the user.
[0103] S182: When the user information successfully matches the preset second user information, the user is determined to be a second target user, and a second page is displayed.
[0104] S183: When receiving a second input from the user on the second page, generate a new indicator request for a second target user based on the second input.
[0105] The second input includes information of the newly added indicator and information of the first user.
[0106] Specifically, the system will first respond to the new indicator request initiated by the user and obtain the user information carried in the request. The system will then match this information with the preset second user information to confirm whether the user has the indicator configuration authority, that is, whether it is the second target user. Once the match is successful, the system will immediately display the second page. Finally, when the user makes the second input in the second page, the system will generate a new indicator request for the second target user based on this input information. The legitimacy and accuracy of the new indicator request are ensured, and the security of the system and the user experience are improved.
[0107] The embodiment of the present application responds to the user's request for new indicators, quickly obtains and accurately matches user information, and ensures that only the second target user with indicator configuration authority can perform subsequent operations, thereby ensuring the legitimacy and accuracy of the request for new indicators. At the same time, the designed second page and the function of accurately generating new indicator requests based on user input further improve the security of the system and the user experience.
[0108] In some embodiments, steps S191 to S193 may also be included.
[0109] S191, display the third page.
[0110] S192: upon receiving a third input from the first target user on the third page, obtaining report sending time information and information of a third user who receives the report in the third input.
[0111] S193: Send a report to a third user according to the report sending time information.
[0112] The third user is a user configured by the first target user to receive the report.
[0113] Specifically, after the report is generated, a third page can be displayed, and then when the third input of the first target user in the page is received, the report sending time information in the input and the information of the third user receiving the report are automatically obtained, and the report is sent to the designated third user according to the preset report sending time information, thereby improving the accuracy and efficiency of report sending.
[0114] It should be noted that, in the embodiment of the present application, the first user is a first-type user with access rights to the indicator library, the second user is a second-type user with indicator configuration rights, and the third user is a third-type user who receives reports.
[0115] In one example, if Figure 5 As shown, the report generation method may include steps S01 to S10.
[0116] S01, upon receiving a request for a new indicator from a user, determining whether the user is a second user.
[0117] S02, obtaining information of a newly added indicator and information of a first user who has permission to use the newly added indicator.
[0118] S03, adding the information of the newly added indicator corresponding to the information of the same first user to the same indicator library.
[0119] S04: Generate a corresponding relationship between the first user and the indicator library.
[0120] S05: When receiving a report generation request from a user, determine whether the user is a first user.
[0121] S06 , in response to the report generation request of the first target user, obtaining a target indicator library corresponding to the first target user in the correspondence relationship between the first user and the indicator library.
[0122] S07: Determine, in the target indicator library, a target indicator selected by the first target user from among a plurality of indicators in the target indicator library.
[0123] S08, obtaining indicator data corresponding to the target indicator in the database, and generating a report based on the indicator data.
[0124] S09: Determine the report sending time information set by the first target user and the information of the third user who receives the report.
[0125] S10: Send a report to a third user according to the report sending time information.
[0126] In the embodiment of the present application, a personalized indicator library can be constructed by the second user adding an indicator and allocating it to the first user with permission to use it. The first user can select a target indicator based on its corresponding target indicator library and generate a report, and then set the report sending time and recipient, thereby realizing customized generation and automatic distribution of reports.
[0127] Based on the same inventive concept, the embodiment of the present application also provides a report generating device, such as Figure 6 As shown, the device 600 may include an acquisition module 610 , a display module 620 and a generation module 630 .
[0128] The acquisition module 610 is used to respond to the report generation request of the first target user, and acquire the target indicator library corresponding to the first target user in the preset correspondence relationship between the first user and the indicator library, wherein the target indicator library includes information of multiple indicators;
[0129] A display module 620, configured to display a first page, wherein the first page includes a plurality of controls, and the controls correspond one-to-one to the indicators in the target indicator library;
[0130] The acquisition module 610 is further configured to acquire information of a target indicator corresponding to the target control in a target indicator library when receiving a first input from a first target user to a target control in the first page, wherein the target indicator is an indicator specified by the first target user from among multiple indicators;
[0131] The acquisition module 610 is further used to acquire the indicator data corresponding to the target indicator in the database according to the information of the target indicator;
[0132] The generating module 630 is used to generate a report based on the indicator data.
[0133] According to the report generation device provided in the embodiment of the present application, by responding to the report generation request of the first target user, in the preset correspondence relationship between the first user and the indicator library, the target indicator library corresponding to the first target user is obtained, wherein the target indicator library contains information of multiple indicators. Then, the first page is displayed, which contains multiple controls, and these controls correspond to the indicators in the target indicator library one by one, so that the user can intuitively see and select the required indicators, thereby improving the user experience. When the first target user selects the target control in the first page, the information of the target indicator corresponding to the target control is obtained in the target indicator library. Then, in the database, according to the information of the target indicator, the indicator data corresponding to the target indicator can be obtained, and then based on these indicator data, the report is generated. In the embodiment of the present application, by presetting the correspondence relationship between the user and the indicator library, the rapid positioning and access of the personalized indicator library is realized. The user does not need to traverse the entire huge indicator library, and can intuitively see and select the indicators closely related to his work, thereby simplifying the report generation process, saving time and energy, significantly improving the efficiency of report generation, and effectively improving the user experience.
[0134] In some embodiments, the information of the indicator includes the indicator type and the indicator identifier; the acquisition module is used to acquire the indicator data corresponding to the target indicator in the database according to the information of the target indicator, and can be specifically used for:
[0135] When the indicator type of the target indicator is a non-nested type, in the database, the indicator data corresponding to the target indicator is obtained according to the indicator identifier of the target indicator; or,
[0136] When the indicator type of the target indicator is a nested type, in the database, according to the indicator identifiers of sub-indicators at different levels, sub-indicator data are obtained level by level to obtain indicator data corresponding to the target indicator, wherein the target indicator is composed of sub-indicators at different levels.
[0137] In some embodiments, the report generation request of the first target user includes information of a target preset template, where the target preset template is a preset template specified by the first target user from among a plurality of preset templates;
[0138] The generation module is used to generate reports based on indicator data. Specifically, it can be used for:
[0139] Generate reports based on indicator data and preset target templates.
[0140] In some embodiments, before the acquisition module is used to respond to the report generation request of the first target user and acquire the target indicator library corresponding to the first target user in the preset correspondence relationship between the first user and the indicator library, the device further includes a determination module:
[0141] The acquisition module is further used to respond to the user's report generation request and acquire the user's information in the user's report generation request;
[0142] The determination module is used to determine that the user is a first target user and the report generation request of the user is a report generation request of the first target user when the user information successfully matches the preset first user information.
[0143] In some embodiments, before the acquisition module is used to respond to the report generation request of the first target user, in the preset correspondence relationship between the first user and the indicator library, acquire the target indicator library corresponding to the first target user, the device further includes an adding module:
[0144] An acquisition module, configured to respond to a new indicator request from a second target user and acquire information about a new indicator in the new indicator request from the second target user and information about the first user, wherein the first user has permission to use the new indicator;
[0145] An adding module, used to add information of newly added indicators corresponding to information of the same first user to the same indicator library;
[0146] The generating module is further used to generate a corresponding relationship between the first user and the indicator library based on the information of the first user and the indicator library.
[0147] In some embodiments, before the acquisition module is used to respond to the new indicator request of the second target user and acquire the information of the new indicator in the new indicator request of the second target user and the information of the first user, the device further includes:
[0148] An acquisition module, used to respond to a user's request for a new indicator and acquire the user's information in the user's request for a new indicator;
[0149] A determination module, configured to determine that the user is a second target user and display a second page when the user's information successfully matches the preset second user's information;
[0150] The generating module is used to generate a new indicator request for a second target user based on the second input when receiving the second input of the user on the second page.
[0151] In some embodiments, a display module and a sending module are also included:
[0152] A display module, used for displaying a third page;
[0153] an acquisition module, configured to, upon receiving a third input from the first target user on the third page, acquire report sending time information and information of a third user receiving the report in the third input;
[0154] The sending module is used to send the report to the third user according to the report sending time information.
[0155] Each module in the report generation device provided in the embodiment of the present application can realize Figures 1 to 5 The functions of each step of the report generation method provided, and the ability to achieve its corresponding technical effects, are not described in detail here for the sake of brevity.
[0156] Figure 7 A schematic diagram of the hardware structure of a report generating device provided in an embodiment of the present application is shown.
[0157] The report generating device may include a processor 701 and a memory 702 storing computer program instructions.
[0158] Specifically, the processor 701 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0159] The memory 702 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 702 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 702 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 702 may be inside or outside the generating device of the report. In a specific embodiment, the memory 702 is a non-volatile solid-state memory.
[0160] The memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present disclosure.
[0161] The processor 701 implements any one of the report generation methods in the above embodiments by reading and executing computer program instructions stored in the memory 702 .
[0162] In one example, the report generating device may further include a communication interface 703 and a bus 704. Figure 7 As shown, the processor 701, the memory 702, and the communication interface 703 are connected via a bus 704 and communicate with each other.
[0163] The communication interface 703 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0164] The bus 704 includes hardware, software or both, and couples the components of the report generation device to each other. For example, but not limitation, the bus may include an accelerated graphics port (Accelerated Graphics Port, AGP) or other graphics bus, an enhanced industry standard architecture (Extended Industry Standard Architecture, EISA) bus, a front side bus (Front Side Bus, FSB), a hypertransport (Hyper Transport, HT) interconnection, an industry standard architecture (Industry Standard Architecture, ISA) bus, an infinite bandwidth interconnection, a low pin count (Linear Predictive Coding, LPC) bus, a memory bus, a micro channel architecture (MicroChannel Architecture, MCA) bus, a peripheral component interconnect (Peripheral Component Interconnect, PCI) bus, a PCI-Express (Peripheral Component Interconnect-X, PCI-X) bus, a serial advanced technology attachment (Serial Advanced Technology Attachment, SATA) bus, a video electronics standard association local (VESA Local Bus, VLB) bus or other suitable buses or a combination of two or more of these. Where appropriate, the bus 704 may include one or more buses. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.
[0165] The device can execute the report generation method in the embodiment of the present application based on each unit / component in the report generation device, thereby realizing the combination Figures 1 to 5 Describes how the report is generated.
[0166] In addition, in combination with the report generation method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any report generation method in the above embodiment is implemented.
[0167] The present application also provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes each process of implementing any one of the above-mentioned report generation method embodiments.
[0168] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0169] The functional blocks shown in the structural block diagram described above can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or communication link by a data signal carried in a carrier. "Machine-readable medium" may include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memory (Read-Only Memory, ROM), flash memory, erasable read-only memory (Erasable Read Only Memory, EROM), floppy disks, compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical discs, hard disks, optical fiber media, radio frequency (Radio Frequency, RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0170] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0171] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0172] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A method for generating a report, characterized in that: include: In response to a report generation request of a first target user, obtaining a target indicator library corresponding to the first target user in a preset correspondence relationship between the first user and the indicator library, wherein the target indicator library includes information of a plurality of indicators; Displaying a first page, wherein the first page includes a plurality of controls, and the controls correspond one-to-one to the indicators in the target indicator library; Upon receiving a first input from the first target user to a target control in the first page, acquiring information of a target indicator corresponding to the target control in the target indicator library, wherein the target indicator is an indicator specified by the first target user from among the multiple indicators; In a database, according to information of the target indicator, indicator data corresponding to the target indicator is obtained; Based on the indicator data, a report is generated.
2. The method according to claim 1, characterized in that The information of the indicator includes an indicator type and an indicator identifier; in the database, according to the information of the target indicator, obtaining indicator data corresponding to the target indicator includes: In the case where the indicator type of the target indicator is a non-nested type, in the database, according to the indicator identifier of the target indicator, the indicator data corresponding to the target indicator is obtained; or, In the case where the indicator type of the target indicator is a nested type, in the database, according to the indicator identifiers of the sub-indicators at different levels, the sub-indicator data are acquired level by level to obtain the indicator data corresponding to the target indicator, wherein the target indicator is composed of the sub-indicators at different levels.
3. The method according to claim 1, characterized in that The report generation request of the first target user includes information of a target preset template, where the target preset template is a preset template specified by the first target user from among a plurality of preset templates; The generating of a report based on the indicator data includes: Generate a report based on the indicator data and the target preset template.
4. The method according to claim 1, characterized in that: In responding to the report generation request of the first target user, before acquiring the target indicator library corresponding to the first target user in the preset correspondence relationship between the first user and the indicator library, the method further includes: In response to a report generation request from a user, obtaining user information in the report generation request from the user; When the information of the user successfully matches the information of the preset first user, the user is determined to be the first target user, and the report generation request of the user is the report generation request of the first target user.
5. The method according to claim 1, characterized in that In responding to the report generation request of the first target user, before acquiring the target indicator library corresponding to the first target user in the preset correspondence relationship between the first user and the indicator library, the method further includes: In response to a new indicator request from a second target user, obtaining information about a new indicator in the new indicator request from the second target user and information about the first user, wherein the first user has permission to use the new indicator; Adding the information of the newly added indicator corresponding to the information of the same first user to the same indicator library; Based on the information of the first user and the indicator library, a corresponding relationship between the first user and the indicator library is generated.
6. The method according to claim 5, characterized in that Before the step of responding to the new indicator request of the second target user and acquiring the information of the new indicator in the new indicator request of the second target user and the information of the first user, the method further includes: In response to a user's request for a new indicator, obtaining user information in the user's request for a new indicator; In the case where the information of the user successfully matches the information of the preset second user, determining the user as a second target user and displaying a second page; When a second input from the user on the second page is received, a new indicator request for a second target user is generated based on the second input.
7. The method according to any one of claims 1 to 6, characterized in that: Also includes: Display the third page; When receiving a third input from the first target user on the third page, acquiring report sending time information and information of a third user who receives the report in the third input; The report is sent to the third user according to the report sending time information.
8. A report generating device, characterized in that: include: an acquisition module, configured to respond to a report generation request of a first target user, and acquire a target indicator library corresponding to the first target user in a preset correspondence relationship between the first user and the indicator library, wherein the target indicator library includes information of a plurality of indicators; A display module, configured to display a first page, wherein the first page includes a plurality of controls, and the controls correspond one-to-one to the indicators in the target indicator library; The acquisition module is further configured to, upon receiving a first input from the first target user to a target control in the first page, acquire information of a target indicator corresponding to the target control in the target indicator library, wherein the target indicator is an indicator specified by the first target user from among the multiple indicators; The acquisition module is further used to acquire the indicator data corresponding to the target indicator in the database according to the information of the target indicator; A generation module is used to generate a report based on the indicator data.
9. A report generating device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the report generation method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the report generation method according to any one of claims 1 to 7 is implemented.
11. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of a device, the device is enabled to perform the report generating method according to any one of claims 1 to 7.