Report generation method, device, equipment, and computer-readable storage medium
By receiving report metric information and data dimension information selected by users, querying report data and generating reports, the existing report generation process is solved, and simplified report generation and improved user experience is achieved.
Patent Information
- Application Number
- CN202411848828.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-04-08
AI Technical Summary
The existing report generation process is complex and requires professional technology and programming capabilities. Smart report tools still require developers to participate, and flexibility and customization are limited.
By receiving the report metric information and data dimension information selected by the user, query the report data based on this information, generate corresponding reports, and publish them to the specified report menu directory for users to view.
Simplifies the report generation process, reduces the requirements for professional technology and programming capabilities, improves the efficiency of report generation and viewing, and enhances flexibility and customization.
Smart Images

Figure CN119782312A_ABST
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the field of computer technology, and more specifically, to a report generation method, apparatus, device, and computer-readable storage medium. Background Art
[0002] With the advancement of technology, the use of reports for data analysis and presentation is becoming increasingly popular. However, in related technologies, the report generation process is relatively complex and requires multiple steps such as demand analysis, data modeling, report design, and data presentation. In addition, report design and development usually require a high level of professional technology and programming skills, such as proficiency in data query languages and report design tools. Although some intelligent reporting tools can simplify the report development process, they still require the participation of developers and have certain limitations on flexibility and customization. Summary of the invention
[0003] In a first aspect of the present disclosure, a report generation method is provided. The method includes: receiving report indicator information and data dimension information selected by a user, the report indicator information including data indicators to be measured and analyzed in the report, the data indicators being used to configure a query on report data, and the data dimension information including a data query dimension corresponding to the report indicator information; querying corresponding report data based on the report indicator information and the data dimension information; generating a report corresponding to the report data; and publishing the report to a specified report menu directory for viewing by the user.
[0004] In a second aspect of the present disclosure, a report generation device is provided. The device includes: a receiving module configured to receive report indicator information and data dimension information selected by a user, the report indicator information includes data indicators to be measured and analyzed in the report, the data indicators are used to configure a query on the report data, and the data dimension information includes a data query dimension corresponding to the report indicator information; a query module configured to query the corresponding report data based on the report indicator information and the data dimension information; a generating module configured to generate a report corresponding to the report data; and a publishing module configured to publish the report to a specified report menu directory for the user to view.
[0005] In a third aspect of the present disclosure, an electronic device is provided. The electronic device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit, and when the instructions are executed by the at least one processing unit, the electronic device executes the method of the first aspect of the present disclosure.
[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to perform the method according to the first aspect of the present disclosure.
[0007] It should be understood that the contents described in the summary of the invention are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] In the following, in conjunction with the accompanying drawings and with reference to the following detailed description, the above and other features, advantages and aspects of various implementations of the present disclosure will become more apparent. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0009] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented;
[0010] Figure 2 A flowchart showing a process for report generation according to some embodiments of the present disclosure is shown;
[0011] Figure 3A A flowchart showing a process of performing receiving report indicator information and data dimension information according to some embodiments of the present disclosure is shown;
[0012] Figure 3B A flowchart showing a process of generating a report corresponding to report data according to some embodiments of the present disclosure;
[0013] Figure 3C A flowchart showing a process of executing report publishing according to some embodiments of the present disclosure is shown;
[0014] Figure 4 A block diagram showing an apparatus for report generation according to some embodiments of the present disclosure; and
[0015] Figure 5 A block diagram of an electronic device is shown in which one or more embodiments of the present disclosure may be implemented. DETAILED DESCRIPTION
[0016] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0017] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.
[0018] It should be noted that the acquisition, storage and application of user personal information involved in the technical solution of the present disclosure are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0019] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0020] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information, so that the user can independently choose whether to provide personal information to software or hardware such as electronic devices, applications, servers or storage media that execute operations of the technical solution of the present disclosure based on the prompt message.
[0021] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information is sent to the user in a manner such as a pop-up window, in which the prompt information can be presented in text form. In addition, the pop-up window can also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0022] A report is a document or chart used to display data, statistical information or other related information. It is usually used by enterprises, organizations or individuals to analyze, monitor and support decision-making. In related technologies, the design and generation of reports often require a series of complex steps. For example, the report generation process usually includes multiple steps such as demand determination, data screening and modeling, report design and display, testing and delivery. These steps require the product or analyst to propose requirements, and then the developer to select the data source, process the data, design the report, and finally test and deliver it to the product or analyst. The generation of reports often relies on the participation of professional technicians and requires a high level of professional skills, which leads to high labor costs and time costs. Secondly, although the use of some intelligent reporting tools can simplify part of the report generation process, it still requires the participation of developers, and the flexibility and customization are limited.
[0023] In view of this, an improved solution for report generation is proposed in an embodiment of the present disclosure. According to an embodiment of the present disclosure, report indicator information and data dimension information selected by a user are received, the report indicator information includes data indicators to be measured and analyzed in the report, the data indicators are used to configure queries on report data, and the data dimension information includes data query dimensions corresponding to the report indicator information; based on the report indicator information and the data dimension information, the corresponding report data is queried; a report corresponding to the report data is generated; and the report is published to a designated report menu directory for user viewing. As a result, the report generation process is simplified, and the corresponding report can be generated by the user independently selecting the report indicator information, the data dimension information, and the report style. And it is allowed to publish the generated report through the report menu directory for user viewing, which improves the efficiency of report generation and viewing. .
[0024] Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
[0025] Figure 1 1 is a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. Figure 1 In the environment 100, the electronic device 110 can present the report indicator information 121 and the data query dimension 122 on the display page. For example, the report indicator information 121 and the data query dimension 122 are presented in the form of an interactive component. The user can interact on the interface, such as clicking a button, selecting an option, or dragging an element, to select the data indicator and data dimension of interest. In response to receiving the selection of the report indicator information 121 and the data query dimension 122, the electronic device 110 queries the corresponding report data 123 based on the selected report indicator information 121 and the data query dimension 122, generates a report 130 corresponding to the report data 123 and presents it on the display page. In addition, the electronic device 110 can also publish the report 130 to the specified report menu directory for other users to view. In some embodiments, the report indicator information 121, the data query dimension 122, and the report data 123 can be stored in the database 120.
[0026] exist Figure 1 In the embodiment, the electronic device 110 may include any computing system with computing capabilities, such as various computing devices / systems, terminal devices, servers, etc. The terminal device may involve any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. The server includes but is not limited to a mainframe, an edge computing node, a computing device in a cloud environment, and the like.
[0027] It should be understood that Figure 1 The components and arrangements in the environment 100 shown are merely examples, and a computing system suitable for implementing the exemplary implementation described in the present disclosure may include one or more different components, other components, and / or different arrangements. The implementation of the present disclosure is not limited in this respect.
[0028] Figure 2 A flowchart of a process 200 for report generation according to some embodiments of the present disclosure is shown. The process 200 may be implemented in the environment 100 , for example, the process 200 may be implemented at the electronic device 110 .
[0029] In box 210, the electronic device 110 receives report indicator information and data dimension information selected by the user.
[0030] In some embodiments, the electronic device 110 can present the report indicator information and data dimension information on the display page through the front-end component. The report indicator information includes the data indicator to be measured and analyzed in the report, the data indicator is used to configure the query of the report data, and the data dimension information includes the data query dimension corresponding to the report indicator information. For example, the electronic device 110 can display the report indicator information and data dimension information on the display page through a front-end component such as a list or a drop-down menu for the user to select.
[0031] For example, please refer to Figure 3A , Figure 3A A flowchart of a process 300A for receiving report indicator information and data dimension information according to some embodiments of the present disclosure is shown. The process 300A may be implemented at the electronic device 110 .
[0032] In box 311 , the electronic device 110 receives a user's selection in an interactive interface for a data indicator to be measured and analyzed in a report.
[0033] In some embodiments, data indicators can be data quantities or values to be measured, evaluated or analyzed in reports, and are data used in reports to measure business performance, trends or other key indicators. They are usually quantifiable and analyzable data used to reflect various aspects of the business, such as sales, profits, order quantities, etc.
[0034] As an example, the electronic device 110 may present a user interface, which may include components such as a list, a click button, a drop-down menu, etc. that lists all available data indicator options. The user interacts on the interface, such as by clicking a button, selecting an option, or dragging an element, to select the data indicator that needs to be measured and analyzed in the report.
[0035] In block 312 , the electronic device 110 determines report indicator information based on the data indicator.
[0036] In some embodiments, after receiving the data indicator selected by the user, the electronic device 110 transmits the corresponding data to the background data processing module or server. The electronic device 110 can determine the report indicator information based on the corresponding data in the data warehouse or database through the background data processing module or server.
[0037] As an example, the report indicator information and its analyzable data dimension information are entered into the distributed real-time analysis database system and stored in a data table. Based on the data indicator, the corresponding report indicator information and its data dimension information can be determined by querying the data table.
[0038] In box 313, the electronic device 110 determines a set of data dimensions supported by the report indicator information.
[0039] In some embodiments, for each determined report indicator information, the electronic device 110 may analyze the data dimension information associated with the report indicator information. The data dimension information may be an attribute used to describe, group, or filter data, such as time, region, product category, etc. The electronic device 110 may retrieve the data table or data source corresponding to the report indicator information to determine which dimensions are associated with the report indicator information.
[0040] In some embodiments, the electronic device 110 can compare all report indicator information to find out the data dimension sets they support in common. The data dimension information in these sets can be attributes that all selected report indicator information have. For example, if the user selects sales and order quantity as report indicator information, the electronic device 110 can determine the dimensions they support in common, such as time, region, product category, etc.
[0041] In block 314 , the electronic device 110 receives a user selection of a data query dimension from the data dimension set.
[0042] In some embodiments, the electronic device 110 may present the determined commonly supported data dimension set to the user, allowing the user to select the dimensions according to which analysis needs to be performed in the report, and receive the user's selection of the data query dimension in the data dimension set.
[0043] In the disclosed embodiment, the electronic device 110 can receive the report indicator information and data dimension information to be analyzed by the user through the provided user interface. This interactive method allows users to flexibly customize the required data analysis perspective according to their needs and interests, so as to better generate reports and help users understand data, explore patterns, and make decisions. Secondly, users can adjust the perspective of data analysis at any time according to business needs, select different data indicators and data dimensions, and flexibly respond to business changes. In addition, determining the data dimensions commonly supported by report indicator information can help users reduce unnecessary data redundancy and reduce the possibility of confusion and errors.
[0044] Continue to refer Figure 2 In box 220, the electronic device 110 queries the corresponding report data based on the report indicator information and data dimension information.
[0045] In some embodiments, the electronic device 110 may perform corresponding data query operations in the database based on the report indicator information and data dimension information selected by the received user to obtain report data that meets the user's needs.
[0046] Continue to refer Figure 2 , in box 230, the electronic device 110 generates a report corresponding to the report data.
[0047] In some embodiments, after querying the report data based on the report indicator information and data dimension information selected by the user, the electronic device 110 can parse the corresponding report data and generate a report that meets the user's needs.
[0048] For example, please refer to Figure 3B , Figure 3B A flowchart of a process 300B for generating a report corresponding to report data according to some embodiments of the present disclosure is shown. The process 300B may be implemented at the electronic device 110 .
[0049] In box 321, the electronic device 110 receives the user's selection of report indicator sorting and report display method.
[0050] In some embodiments, the user can also select the sorting order of the report indicators and the report display method, such as paging settings and other display parameters.
[0051] As an example, the electronic device 110 may receive a user's ordering of report indicators in a report, such as sorting in descending order by sales or in ascending order by time, etc. The electronic device 110 may also receive a report display mode set by the user, such as the number of data items displayed per page, the chart type and style setting of the report, etc.
[0052] In box 322, the electronic device 110 generates a report corresponding to the report data based on the report indicator sorting and report display method.
[0053] In the disclosed embodiment, the electronic device 110 dynamically queries the report data and generates a report corresponding to the report data based on the report indicator information and data dimension information selected by the user, thereby eliminating the need for the user to manually filter and extract data from a large data source. The user only needs to focus on the analysis and interpretation of the report, without having to focus on the cumbersome data processing and report generation process. In addition, the user can customize the report indicator sorting and report display method of the report, so that the report is more in line with the user's personalized needs. This helps users better understand the report data and improves the user's report usage experience.
[0054] In some embodiments, the electronic device 110 may present the report on a display page to allow the user to perform preview and / or modification operations. The electronic device 110 may present the generated report on a display page for the user to preview or modify the generated report. The report may be presented in a chart, table, or other form, and may be presented according to the user's selection. The user may preview the content of the report and view the report data and the relationship and trend between the data.
[0055] As an example, the electronic device 110 presents a generated report on a display page. After previewing the report, the user finds that the report data dimension does not meet the requirements and wishes to modify it. For example, after previewing the report, the user finds that the data in the report is displayed by month, but wishes to change it to be displayed by quarter. The user can perform modification operations on the display page of the electronic device 110. For example, the electronic device 110 provides an "adjust" or "modify" button on the display page, and the user can see the current dimension selection interface after clicking it. On the pop-up dimension selection interface, the user can select a new data dimension, for example, change from "by month" to "by quarter". The electronic device 110 can regenerate the report according to the user's selection and present the modified report on the display page.
[0056] Continue to refer Figure 2 In box 240, the electronic device 110 publishes the report to the specified report menu directory for the user to view.
[0057] In some embodiments, the electronic device 110 can publish the generated report in the menu directory. The electronic device 110 can provide a method and path for accessing the report through the menu directory. The user can obtain the method and path for accessing the report through the menu directory to view the published report.
[0058] For example, please refer to Figure 3C , Figure 3C A flowchart of a process 300C for executing report publishing according to some embodiments of the present disclosure is shown.
[0059] In block 331 , the electronic device 110 creates a submenu in the report menu directory, where the submenu is used to publish a report.
[0060] In some embodiments, the electronic device 110 may create a submenu under the menu directory for publishing the generated report. This submenu can be found by other users in the system and used to access the published report. In addition, this submenu is named and categorized as needed so that other users can easily find the corresponding published report.
[0061] At block 332 , the electronic device 110 performs an association operation on the report and the menu identifier of the submenu.
[0062] In some embodiments, the electronic device 110 may associate the generated report with the created submenu. The electronic device 110 may assign a unique identifier or identity document (ID) to the submenu, and associate the submenu identifier with the generated report. In this way, the user can find the corresponding published report through the submenu.
[0063] In block 333 , the electronic device 110 stores a data retrieval instruction associated with the menu identifier, where the data retrieval instruction is used to query report data corresponding to the report.
[0064] In some embodiments, the electronic device 110 may store data retrieval instructions associated with the menu identifier. These data retrieval instructions are used to query report data corresponding to the report. These data retrieval instructions may include information such as report indicator information and data dimension information of the report data queried by the user, so as to ensure that the corresponding data can be accurately retrieved when the user views the published report.
[0065] In the disclosed embodiment, by creating a submenu and publishing the report under the menu, the electronic device 110 manages the report in a more organized and easy-to-operate manner, thereby improving the user experience. Furthermore, by publishing the report under the public menu, other users can easily view and access the published report, thereby promoting the sharing and communication of the report and improving the convenience of use for users.
[0066] In some embodiments, a user can view published reports in a menu directory. The electronic device 110 can receive a viewing operation of a published report initiated by a user via a submenu of a report menu directory. And in response to the user's viewing operation, the electronic device 110 determines a menu identifier corresponding to the submenu. Based on the menu identifier, the electronic device 110 executes a corresponding data retrieval instruction to retrieve report data corresponding to the published report. Based on the report indicator sorting and report display method selected by the user, a report corresponding to the report data is generated, and the report is presented on a display page.
[0067] As an example, the electronic device 110 queries the report data and generates a report named "Sales Data Report" based on the received report indicator information and data dimension information. The electronic device 110 can publish the generated report for other users to view. First, a submenu named "Sales Data Report" is created under the menu directory and a unique identifier is assigned to it. The sales report is then associated with the identifier of the submenu. At the same time, the electronic device 110 also stores the data retrieval instructions corresponding to the sales data report. Finally, the report is published under the "Sales Data Report" submenu, and other users can find this submenu by browsing the menu directory, and then select the corresponding published report to view. When a user views the report, the electronic device 110 can retrieve the report data corresponding to the sales data report according to the stored data retrieval instructions.
[0068] In some embodiments, the user can also reselect the data dimension of the published report to adjust the report according to their needs. The electronic device 110 can receive the user's selection of the data dimension information of the published report, re-query the report data based on the data dimension information condition, and update the published report presented on the display page.
[0069] As an example, after viewing a published report through a submenu, the user finds that the report data dimension does not meet his or her needs. For example, after viewing the report, the user finds that the data in the report only includes the Chinese region, and hopes to view report data with more regional dimensions. The user can perform modification operations on the display page of the electronic device 110. For example, the user can select a new data dimension on the display page of the electronic device 110, such as adding data dimension information such as "North America" and "Europe". The electronic device 110 can rebuild the data retrieval instruction according to the data dimension information conditions selected by the user to re-query the report data, and update the published report presented on the display page.
[0070] In the disclosed embodiment, the user is allowed to view the published report through the public menu list and reselect the data dimension. This allows the user to customize the report according to their needs and display the data content that meets their concerns, which meets the user's personalized needs for generating reports and improves the practicality and applicability of generating reports.
[0071] In some embodiments, performing permission verification on published reports is an important step to ensure the security and accuracy of report data. The electronic device 110 can perform an authorization application operation on the published reports to allow users with corresponding permissions to view the published reports.
[0072] As an example, a sales report contains sales data of various departments, but employees of different departments can only view the sales data of their own departments. The electronic device 110 can perform an authorized application operation on the sales report, and set the access rights of the report so that only users of the department can view the sales data of the corresponding department, and employees of other departments have no right to view it. Therefore, only users with corresponding permissions can view the report of the corresponding department, while employees of other departments cannot access it. This ensures the security and confidentiality of sales data, while improving the efficiency of report usage and work efficiency.
[0073] In the disclosed embodiment, the electronic device 110 can ensure the security of the report by authorizing the application operation, and only users with corresponding permissions can view the report. This helps to protect sensitive data from being accessed by unauthorized users and improves the security of the data. In addition, the access rights to the report can be limited to specific users or user groups as needed to protect sensitive information in the report from being leaked.
[0074] Figure 4 A block diagram of an apparatus 400 for report generation according to some embodiments of the present disclosure is shown. The apparatus 400 may be implemented as or included in the electronic device 110.
[0075] The device 400 includes a receiving module 410, which is configured to receive report indicator information and data dimension information selected by a user, the report indicator information includes data indicators to be measured and analyzed in the report, the data indicators are used to configure queries on report data, and the data dimension information includes data query dimensions corresponding to the report indicator information; a query module 420, which is configured to query corresponding report data based on the report indicator information and the data dimension information; a generation module 430, which is configured to generate a report corresponding to the report data; and a publishing module 440, which is configured to publish the report to a specified report menu directory for user viewing.
[0076] In some embodiments, the receiving module 410 is further configured to receive a user's selection in an interactive interface for data indicators to be measured and analyzed in a report; determine report indicator information based on the data indicators; determine a set of data dimensions supported by the report indicator information; and receive a user's selection of a data query dimension in the data dimension set.
[0077] In some embodiments, the generation module 430 is further configured to receive a user's selection of a report indicator sorting and a report display method; and generate a report corresponding to the report data based on the report indicator sorting and the report display method.
[0078] In some embodiments, the publishing module 440 is further configured to present the report on a display page to allow the user to perform preview and / or modification operations.
[0079] In some embodiments, the publishing module 440 is further configured to create a submenu in the report menu directory, the submenu is used to publish the report; perform association operations on the menu identifier of the report and the submenu; and store data retrieval instructions associated with the menu identifier, the data retrieval instructions are used to query the report data corresponding to the report.
[0080] In some embodiments, the device 400 also includes a viewing module 450, which is configured to receive a viewing operation on a published report initiated by a user via a submenu of a report menu directory; determine a menu identifier corresponding to the submenu in response to the viewing operation; execute a corresponding data retrieval instruction based on the menu identifier to retrieve report data corresponding to the published report; generate a report corresponding to the report data based on the report indicator sorting and report display method selected by the user; and present the report on a display page.
[0081] In some embodiments, the viewing module 450 is further configured to receive a user's selection of data dimension information of a published report; and re-query the report data based on the data dimension information condition, and update the published report presented on the display page.
[0082] In some embodiments, the device 400 further includes a permission verification module 460 configured to perform authorized application operations on the published report to allow users with corresponding permissions to view the published report.
[0083] The modules included in the device 400 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units can be implemented using software and / or firmware, such as machine executable instructions stored on a storage medium. In addition to or as an alternative to machine executable instructions, some or all of the units in the device 400 can be implemented at least in part by one or more hardware logic components. As an example and not limitation, exemplary types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0084] Figure 5 1 shows a block diagram of an electronic device 500 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 5 The electronic device 500 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein.
[0085] like Figure 5 As shown, the electronic device 500 is in the form of a general electronic device. The components of the electronic device 500 may include, but are not limited to, one or more processors or processing units 510, a memory 520, a storage device 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. The processing unit 510 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 520. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 500.
[0086] The electronic device 500 typically includes a plurality of computer storage media. Such media may be any available media accessible to the electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 520 may be a volatile memory (e.g., registers, caches, random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 530 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data and may be accessed within the electronic device 500.
[0087] The electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 5As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 520 may include a computer program product 525 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.
[0088] The communication unit 540 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 500 can be implemented in a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 500 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0089] The input device 550 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 560 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 500 may also communicate with one or more external devices (not shown) through the communication unit 540 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 500, or communicate with any device that allows the electronic device 500 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0090] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which one or more computer instructions are stored, wherein the one or more computer instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0091] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products implemented according to 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-readable program instructions.
[0092] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0093] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0094] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0095] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the marketplace, or to enable other persons of ordinary skill in the art to understand the implementations disclosed herein.
Claims
1. A report generation method, comprising: Receive report indicator information and data dimension information selected by a user, wherein the report indicator information includes data indicators to be measured and analyzed in the report, the data indicators are used to configure a query on the report data, and the data dimension information includes a data query dimension corresponding to the report indicator information; Based on the report indicator information and the data dimension information, query corresponding report data; generating a report corresponding to the report data; as well as Publish the report to the specified report menu directory for users to view.
2. The method according to claim 1, wherein receiving report indicator information and data dimension information comprises: Receive the user's selection of data indicators to be measured and analyzed in the report in the interactive interface; Based on the data indicators, determining the report indicator information; Determine a data dimension set supported by the report indicator information; as well as Receive the user's selection of the data query dimension in the data dimension set.
3. The method according to claim 1, wherein generating a report corresponding to the report data comprises: Receive user's selection of report indicator sorting and report display method; Based on the report indicator sorting and report display method, a report corresponding to the report data is generated.
4. The method according to claim 1, wherein publishing the report to a specified report menu directory comprises: The report is presented on a display page to allow a user to perform preview and / or modification operations.
5. The method according to claim 1, wherein publishing the report to a specified report menu directory comprises: Creating a submenu in the report menu directory, wherein the submenu is used to publish the report; performing an association operation on the report and the menu identifier of the submenu; as well as A data retrieval instruction associated with the menu identifier is stored, wherein the data retrieval instruction is used to query report data corresponding to the report.
6. The method according to claim 1, further comprising: receiving a viewing operation of the published report initiated by a user via a submenu of the report menu directory; In response to the viewing operation, determining a menu identifier corresponding to the submenu; Executing the corresponding data retrieval instruction based on the menu identifier to retrieve report data corresponding to the published report; Generate a report corresponding to the report data based on the report indicator sorting and report display method selected by the user; as well as The report is presented on a display page.
7. The method according to claim 6, further comprising: receiving a user's selection of data dimension information of the published report; as well as The report data is requeried based on the data dimension information condition, and the published report presented on the display page is updated.
8. The method according to claim 1, further comprising: An authorization application operation is performed on the published report to allow users with corresponding permissions to view the published report.
9. A report generating device, comprising: A receiving module is configured to receive report indicator information and data dimension information selected by a user, wherein the report indicator information includes data indicators to be measured and analyzed in the report, the data indicators are used to configure a query on the report data, and the data dimension information includes a data query dimension corresponding to the report indicator information; A query module, configured to query corresponding report data based on the report indicator information and the data dimension information; A generating module, configured to generate a report corresponding to the report data; as well as The publishing module is configured to publish the report to a specified report menu directory for users to view.
10. An electronic device, comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 8 when executed by the at least one processing unit.