Periodic report page generation method and device
Automatically determine and generate indicator data logic, filtering rules and display rules for periodic report pages through the rule model, solving the problems of high costs and inflexibility in the existing technology, and achieving low-cost and high-flexibility periodic report page generation.
Patent Information
- Application Number
- CN202510408422.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-01
- Publication Date
- 2025-07-11
AI Technical Summary
Generating periodic report pages in the prior art requires collaboration of multiple departments, resulting in high costs and inflexibility.
The rule model is used to automatically determine the acquisition logic, filtering rules and display rules of periodic reporting indicators, and obtain and generate periodic report pages based on these rules.
Automatic acquisition of metric data is achieved, reducing generation costs, and improving flexibility and scalability of regular reporting pages.
Smart Images

Figure CN120297255A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of computer technology, and in particular, to a method, device, computer device, computer-readable storage medium, and computer program product for generating a regular report page. Background Art
[0002] In various Internet platforms, a regular report page is a page provided by the platform for users to obtain and display their behavior data on the platform in the past year. For example, for a video platform, the regular report page can show users how much time they have watched videos in the past year, which video is their favorite, and what type of videos they like to watch the most.
[0003] A regular report page is composed of multiple page data, and each page data may be a data indicator. In the prior art, in order to generate a regular report page, business personnel need to first propose the page data to be displayed on the regular report page, and then data R & D personnel develop corresponding algorithms to obtain and count the corresponding page data. Then, the R & D personnel at the back end will perform data filtering and data filling based on the obtained page data. Finally, the front-end R & D personnel design the display style to dynamically display and render various data, so as to obtain the regular report page. The development and display of the above regular report page involve many product and R & D personnel, and the cost is relatively high.
[0004] It should be noted that the above content is not necessarily prior art and is not used to limit the patent protection scope of the present application. Summary of the Invention
[0005] Embodiments of the present application provide a method, device, computer device, computer-readable storage medium, and computer program product for generating a regular report page to solve or alleviate one or more of the above technical problems.
[0006] One aspect of the embodiments of the present application provides a method for generating a regular report page, the method including: Determine regular report indicators, where the regular report indicators include multiple; Use a preset rule model to determine the acquisition logic, filtering rules, and display rules of the indicator data corresponding to each of the regular report indicators; Obtain the indicator data corresponding to each of the regular report indicators based on the acquisition logic and filtering rules of the indicator data corresponding to each of the regular report indicators; Generate a regular report page based on the indicator data corresponding to each of the regular report indicators, the display rules of the indicator data, and a preset regular report page template.
[0007] Optionally, determining regular report indicators includes: Obtain the regular report objectives and regular report requirements; Use a large language model to generate the regular report metrics based on the regular report objectives and the regular report requirements.
[0008] Optionally, obtain the metric data corresponding to each of the regular report metrics based on the acquisition logic and filtering rules of the metric data corresponding to each of the regular report metrics, including: Execute the acquisition logic of the metric data corresponding to each of the regular report metrics to obtain the initial metric data corresponding to each of the regular report metrics; Filter the initial metric data corresponding to each of the regular report metrics based on the filtering rules of the metric data corresponding to each of the regular report metrics to obtain the target metric data corresponding to each of the regular report metrics.
[0009] Optionally, the method further includes: Display the filtering rules and display rules of the metric data corresponding to each of the regular report metrics; Obtain the editing operations on the filtering rules and display rules of the metric data corresponding to each of the regular report metrics; Update the filtering rules and display rules of the metric data corresponding to each of the regular report metrics based on the editing operations.
[0010] Optionally, generate a regular report page based on the metric data corresponding to each of the regular report metrics, the display rules of the metric data, and a preset regular report page template, including: Determine the display styles of the metric data corresponding to each of the regular report metrics based on the metric data corresponding to each of the regular report metrics and the display rules of the metric data; Fill the metric data corresponding to each of the regular report metrics into the corresponding positions in the regular report page template according to the determined display styles to obtain the regular report page.
[0011] Optionally, the method further includes: In the case that the metric data corresponding to the target regular report metric does not have a corresponding display rule, use artificial intelligence content generation technology to generate the display style corresponding to the target regular report metric based on the metric data corresponding to the target regular report metric.
[0012] Another aspect of the embodiments of the present application provides a regular report page generation device, and the device includes: A first determination module, configured to determine regular report metrics, and the regular report metrics include multiple; A second determination module, configured to determine the acquisition logic, filtering rules, and display rules of the index data corresponding to each of the periodic report indexes by using a preset rule model; An acquisition module, configured to acquire the index data corresponding to each of the periodic report indexes based on the acquisition logic and filtering rules of the index data corresponding to each of the periodic report indexes; A generation module, configured to generate a periodic report page based on the index data corresponding to each of the periodic report indexes, the display rules of the index data, and a preset periodic report page template.
[0013] Another aspect of the embodiments of the present application provides a computer device, including: At least one processor; and A memory communicatively connected to the at least one processor; Wherein: the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method as described above.
[0014] Another aspect of the embodiments of the present application provides a computer-readable storage medium, in which computer instructions are stored, and when the computer instructions are executed by a processor, the method as described above is implemented.
[0015] Another aspect of the embodiments of the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, the method as described above is implemented.
[0016] The embodiments of the present application adopting the above technical solutions may include the following advantages: automatically determining the acquisition logic, filtering rules, and display rules of the index data corresponding to each periodic report index by using a rule model, and then acquiring the index data corresponding to each periodic report index based on the acquisition logic and filtering rules of the index data corresponding to each periodic report index; and generating a periodic report page based on the index data corresponding to each periodic report index, the display rules of the index data, and a preset periodic report page template. Thus, the automatic acquisition of index data is realized, and a periodic report page is generated based on the index data, thereby reducing the cost required for generating the periodic report page. In addition, by using the rule model to determine the acquisition logic, filtering rules, and display rules of the index data corresponding to each periodic report index, the acquisition logic, filtering rules, and display rules of the index data can be flexibly adjusted, improving the flexibility and scalability of the periodic report page. Description of the Drawings The accompanying drawings exemplarily illustrate embodiments and form part of the specification, and are used together with the written description of the specification to explain the exemplary embodiments of the embodiments. The illustrated embodiments are for illustrative purposes only and do not limit the scope of the claims. In all the drawings, the same reference numerals refer to similar but not necessarily identical elements.
[0017] Figure 1 Schematically shows the operating environment diagram of the periodic report page generation method according to Embodiment 1 of the present application; Figure 2 Schematically shows the flowchart of the periodic report page generation method according to Embodiment 1 of the present application; Figure 3 Schematically shows Figure 2 The sub-step flowchart of step S200 in; Figure 4 Schematically shows the new flowchart of the periodic report page generation method according to Embodiment 1 of the present application; Figure 5 Schematically shows Figure 2 The sub-step flowchart of step S204 in; Figure 6 Schematically shows Figure 2 The sub-step flowchart of step S206 in; Figure 7 Schematically shows the block diagram of the periodic report page generation device according to Embodiment 2 of the present application; and Figure 8 Schematically shows the hardware architecture diagram of the computer device according to Embodiment 3 of the present application. Detailed implementation manners
[0018] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the protection scope of the present application.
[0019] It should be noted that in the embodiments of the present application, the descriptions involving "first", "second", etc. are only for descriptive purposes, and should not be construed as indicating or implying their relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one such feature. Additionally, the technical solutions between various embodiments may be combined with each other, but it must be based on the ability of those of ordinary skill in the art to implement. When the combination of technical solutions results in contradictions or inability to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by the present application.
[0020] In the description of the present application, it should be understood that the numerical labels before the steps do not identify the sequence of execution of the steps, but are only used to facilitate the description of the present application and distinguish each step. Therefore, it should not be construed as a limitation to the present application.
[0021] First, the following provides the term explanations involved in the present application: Regular report: A report that is regularly provided to users to allow them to view their behavioral data within a certain period on the platform. For example, how much time a user has watched videos in a year, their favorite video, and their favorite video type, etc.
[0022] Rule model: A model that extracts the data required for regular reports from the data source through some rule settings and provides it. The rule model defines the acquisition logic, filtering rules, and display rules for the indicator data corresponding to various regular report indicators.
[0023] Regular report page: An H5 dynamic page that can be shared and viewed by users, which may contain static image resources, copywriting resources, video resources, animation resources, etc.
[0024] Secondly, to facilitate the understanding of the technical solutions provided in the embodiments of the present application by those skilled in the art, the following explains the related technologies: In the prior art, to generate a regular report page, business personnel first need to extract the page data to be displayed on the regular report page, and then data R & D personnel develop corresponding algorithms to obtain and count the corresponding page data. Then, the R & D personnel at the back end will perform data filtering and data filling based on the obtained page data. Finally, the front-end R & D personnel design the display style to dynamically display and render various data, thus obtaining the regular report page. The development and display of the above regular report page involve many product and R & D personnel, and the cost is relatively high.
[0025] To this end, the embodiments of the present application provide a technical solution for generating a periodic report page. In this technical solution, a rule model is used to automatically determine the acquisition logic, filtering rules, and display rules for the indicator data corresponding to each periodic report indicator, and then the indicator data corresponding to each periodic report indicator is obtained based on the acquisition logic and filtering rules for the indicator data corresponding to each periodic report indicator; and a periodic report page is generated based on the indicator data corresponding to each periodic report indicator, the display rules of the indicator data, and a preset periodic report page template. Thereby, the automatic acquisition of indicator data is realized, and a periodic report page is generated based on the indicator data, thereby reducing the cost required for generating the periodic report page. In addition, by using the rule model to determine the acquisition logic, filtering rules, and display rules for the indicator data corresponding to each periodic report indicator, the acquisition logic, filtering rules, and display rules for the indicator data can be flexibly adjusted, improving the flexibility and scalability of the periodic report page. See the following for details.
[0026] Finally, for ease of understanding, an exemplary operating environment is provided below.
[0027] As Figure 1 shown, the operating environment diagram includes: a server 6, a customer service terminal 2, and a customer terminal 4.
[0028] The server 6 can provide live broadcast room services, and it can be a single server, a server cluster, or a cloud computing service center.
[0029] The customer terminal 4 can be configured to receive the service information of the customer service terminal 2 in real time. The customer terminal 4 can be any type of computing device, such as a smart phone, a tablet device, a laptop computer, a smart TV, a vehicle-mounted terminal, etc. The customer terminal 4 can be built with a browser or a dedicated program, and receives the service information through the browser or the dedicated program to output content to the user. The content can include text, voice, or picture video, etc.
[0030] The customer service terminal 2 is used to receive the service information input by the customer service staff in real time and perform the sending operation of the service information. The service information can include text, voice, or picture video, etc. The customer service terminal 2 can be an electronic device such as a smart phone or a tablet computer. Of course, the customer service terminal 2 can be a virtual computing instance in the server 6.
[0031] The customer service terminal 2, the customer terminal 4, and the server 6 can be connected through a network. The network can include various network devices, such as routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, and / or proxy devices, etc. The network can include physical links, such as coaxial cable links, twisted pair cable links, fiber optic links, and their combinations and / or analogs. The network can include wireless links, such as cellular links, satellite links, Wi-Fi links, and / or analogs.
[0032] It should be noted that the numbers of the customer service terminal 2 and the customer terminal 4 in the figure are only illustrative and are not used to limit the scope of patent protection of this application. According to the actual situation, there can be any number of customer service terminals 2 and customer terminals 4.
[0033] Next, taking the server 6 as the execution entity, the technical solutions of this application will be introduced through multiple embodiments. It should be noted that these embodiments can be implemented in various different forms and should not be construed as being limited only to the embodiments described herein.
[0034] Embodiment 1 Figure 2 A flowchart of a method for generating a regular report page according to Embodiment 1 of this application is schematically shown.
[0035] As Figure 2 shown, the method for generating a regular report page can include steps S200 to S206, where: Step S200, determining regular report metrics, where the regular report metrics include multiple ones.
[0036] Step S202, using a preset rule model to determine the acquisition logic, filtering rules, and display rules of the metric data corresponding to each of the regular report metrics.
[0037] Step S204, obtaining the metric data corresponding to each of the regular report metrics based on the acquisition logic and filtering rules of the metric data corresponding to each of the regular report metrics.
[0038] Step S206, generating a regular report page based on the metric data corresponding to each of the regular report metrics, the display rules of the metric data, and a preset regular report page template.
[0039] The regular report page generation method provided in this embodiment uses a rule model to automatically determine the acquisition logic, filtering rules, and display rules of the indicator data corresponding to each regular report indicator, and then obtains the indicator data corresponding to each regular report indicator based on the acquisition logic and filtering rules of the indicator data corresponding to each regular report indicator; and generates a regular report page based on the indicator data corresponding to each regular report indicator, the display rules of the indicator data, and a preset regular report page template. Thus, it realizes the automatic acquisition of indicator data and generates a regular report page based on the indicator data, thereby reducing the cost required for generating a regular report page. In addition, by using the rule model to determine the acquisition logic, filtering rules, and display rules of the indicator data corresponding to each regular report indicator, the acquisition logic, filtering rules, and display rules of the indicator data can be flexibly adjusted, improving the flexibility and scalability of the regular report page.
[0040] The following will combine Figure 2 to elaborate in detail on each step in steps S200 to S206 and optional other steps.
[0041] Step S200 , determine regular report indicators, and the regular report indicators include multiple ones.
[0042] Regular report indicators are quantitative data used to measure and evaluate a user's behavior on the platform within a certain period. These regular report indicators can help the platform owner understand the user's usage habits, behavior patterns, and demand preferences, thereby providing data support for optimizing products and services. Among them, It should be noted that the regular period can be one year, one week, one month, etc. Correspondingly, the regular report can be an annual report, a weekly report, a monthly report, etc.
[0043] As an example, when the regular report is the user's annual bill report, the regular report indicators can include income indicators, expenditure indicators, and consumption structure indicators. Among them, the income indicators can include the total wage income, the total investment income, and the total other income. The expenditure indicators can include the total consumption expenditure, the total investment expenditure, and the total other expenditure. The consumption structure indicators can include the proportion of food expenditure, the proportion of housing expenditure, and the proportion of transportation expenditure.
[0044] As an example, when the regular report is the user's annual video viewing report, the regular report indicators can include the total video viewing duration of the user, the user's top 10 favorite videos, the user's favorite video types, etc.
[0045] The regular report indicators can be determined in various ways. The following provides an exemplary way to determine regular report indicators.
[0046] In an alternative embodiment, such asFigure 3 As shown, step S200 may include: S300, obtaining the regular report objectives and regular report requirements.
[0047] S302, using a large language model to generate the regular report metrics based on the regular report objectives and the regular report requirements.
[0048] The regular report objective refers to the purpose and result that the platform expects to achieve by providing the annual page for users. The regular report objective may be to increase the platform's PV (Page View, page views), increase the platform's UV (Unique Visitor, unique visitors), increase the usage of new users on the platform, etc.
[0049] The regular report requirements refer to the specific requirements in terms of the content, form, data, etc. of the regular report. The regular report requirements determine what information the regular report should contain and how it should be presented.
[0050] In one embodiment, an input interface may be provided for the operation personnel to directly input the regular report objectives and regular report requirements through the input interface.
[0051] In some other embodiments, an upload interface may also be provided for the operation personnel to upload the pre-configured regular report objectives and regular report requirements. Among them, the pre-configured regular report objectives and regular report requirements can be saved in formats such as word documents and PDF documents.
[0052] After obtaining the regular report objectives and regular report requirements, the regular report objectives and regular report requirements can be input into a pre-trained large language model, and the large language model can automatically generate appropriate annual metrics with its strong natural language understanding ability.
[0053] In some embodiments, the annual metrics corresponding to various types of regular report objectives and regular report requirements may also be pre-configured. In this way, after obtaining the regular report objectives and regular report requirements, annual metric matching processing can be performed to find the annual metrics that match the currently obtained regular report objectives and regular report requirements from the pre-configured multiple annual metrics.
[0054] In this embodiment, the regular report metrics are generated by a large language model based on the regular report objectives and the regular report requirements, so there is no need to pre-configure the corresponding regular report metrics for various types of regular reports, saving labor costs.
[0055] Step S202 , using a preset rule model to determine the acquisition logic, filtering rules, and display rules of the indicator data corresponding to each of the regular report metrics.
[0056] In the rule model, the acquisition logic, filtering rules, and display rules corresponding to various regular report indicators for the indicator data are defined. Among them, the acquisition logic is the data operation required to acquire the indicator data. The filtering rule is the rule for filtering the acquired indicator data. The display rule is the rule for displaying the acquired indicator data. Among them, the indicator data is acquired based on user authorization.
[0057] As an example, the acquisition logic for the indicator data corresponding to the regular report indicator 1 is: from the user viewing data recorded from December 20, 2023 to December 20, 2024, obtain the information of the 10 videos that the user likes to watch the most. This information may include the cover of the video, the title of the video, etc. The filtering rule for the indicator data corresponding to the regular report indicator 1 is to filter out the user viewing data on February 20, 2024. The display rule for the indicator data corresponding to the regular report indicator 1 is to display the information of the 10 videos that the user likes to watch the most in red.
[0058] As an example, the acquisition logic for the indicator data corresponding to the regular report indicator 2 is: from the user viewing data recorded from December 20, 2023 to December 20, 2024, determine the video type that the user likes to watch the most. The filtering rule for the indicator data corresponding to the regular report indicator 2 is to filter out the videos starring star a. The display rule for the indicator data corresponding to the regular report indicator 2 is to display the video type that the user likes to watch the most in Roman font.
[0059] In this embodiment, based on the rule model, the acquisition logic, filtering rules, and display rules corresponding to each of the regular report indicators for the indicator data are determined, so that the acquisition logic, filtering rules, and display rules corresponding to each of the regular report indicators can be flexibly set.
[0060] In an alternative embodiment, as Figure 4 shown, the method further includes: Step S400, display the filtering rules and display rules corresponding to each of the regular report indicators for the indicator data.
[0061] Step S402, obtain the editing operations on the filtering rules and display rules corresponding to each of the regular report indicators for the indicator data.
[0062] Step S404, update the filtering rules and display rules corresponding to each of the regular report indicators for the indicator data based on the editing operations.
[0063] In some embodiments, the filtering rules and display rules of the metric data automatically determined based on the rule model may not fully meet the user's requirements. At this time, in order to obtain more appropriate filtering rules and display rules, the filtering rules and display rules of the metric data can be presented to the user so that the user can perform editing operations on these filtering rules and display rules to achieve manual intervention.
[0064] Among them, the editing operations may include deletion operations, modification operations, and addition of filtering rules and display rules for the filtering rules and display rules.
[0065] In this embodiment, after the user completes the editing operations on the filtering rules and display rules of the metric data, the filtering rules and display rules of the metric data corresponding to each of the periodic report metrics will be updated based on the editing operations, so that the metric data can be processed based on the updated filtering rules and display rules of the metric data subsequently.
[0066] In this embodiment, through the editing operations, the change processing of the filtering rules and display rules of the metric data can be achieved, so that when the determined filtering rules and display rules of the metric data are inappropriate, the user can also adjust the filtering rules and display rules of the metric data to achieve flexible configuration of the filtering rules and display rules of the metric data.
[0067] In one embodiment, in order to generate a complete periodic report page under any circumstances, the filling rules of the metric data can also be predefined in the rule model. Among them, the filling rules are used for fallback display of the metric data. For example, a certain periodic report metric is to obtain the 10 most favorite videos watched by the user. However, a certain user may have watched relatively few videos, such as the number of watched videos is less than 10. Then, the filling rules can be used to define how to handle the situation when the obtained data does not meet the requirements. For example, the filling rule in this case is to fill the insufficient data with default data.
[0068] Step S204 , obtain the metric data corresponding to each of the periodic report metrics based on the acquisition logic and filtering rules of the metric data corresponding to each of the periodic report metrics.
[0069] In some embodiments, the corresponding metric data can be obtained first by executing the acquisition logic of the metric data. After that, the obtained metric data can be filtered based on the filtering rules, so as to delete some metric data that does not meet the requirements. In another embodiment, it is also possible to determine which data needs to be obtained as metric data and which data does not need to be obtained based on the filtering rules during the execution of the acquisition logic, so as to avoid obtaining some data that needs to be filtered out and save data storage space.
[0070] In this embodiment, there are multiple ways to obtain the indicator data corresponding to each of the regular report indicators. The following provides an exemplary way.
[0071] In an alternative embodiment, as Figure 5 shown, step S204 may include: S500, execute the acquisition logic for the indicator data corresponding to each of the regular report indicators to obtain the initial indicator data corresponding to each of the regular report indicators.
[0072] S502, filter the initial indicator data corresponding to each of the regular report indicators based on the filtering rules for the indicator data corresponding to each of the regular report indicators to obtain the target indicator data corresponding to each of the regular report indicators.
[0073] In some embodiments, each acquisition logic may be associated with multiple data processing formulas, and by executing these data processing formulas, the indicator data corresponding to the regular report indicators can be obtained from the data source. In another embodiment, each acquisition logic may also be associated with a single data processing formula, and by executing this data processing formula, the indicator data corresponding to the regular report indicators can be obtained from the data source.
[0074] In some embodiments, the filtering rules for the indicator data corresponding to the regular report indicators may be one or multiple. When there are multiple filtering rules, the obtained initial indicator data will be filtered based on the multiple filtering rules so as to obtain the target indicator data corresponding to each of the regular report indicators.
[0075] In this embodiment, by first executing the acquisition logic for the indicator data corresponding to each of the regular report indicators and then filtering the obtained initial indicator data through the filtering rules, the target indicator data can be obtained more quickly.
[0076] It should be noted that the target indicator data refers to the indicator data remaining after filtering the initial indicator data.
[0077] Step S206 , generate a regular report page based on the indicator data corresponding to each of the regular report indicators, the display rules of the indicator data, and a preset regular report page template.
[0078] The regular report page template is created based on a pre-determined design style and layout. The regular report page template includes the basic layout and styles of the page structure, such as the positions and sizes of the title, table, chart, text content, etc., as well as the styles of the title, table, chart, text content, etc.
[0079] In this embodiment, a regular report page is generated based on the index data corresponding to each of the regular report indexes, the display rules of the index data, and a preset regular report page template, realizing the automatic generation of the regular report page.
[0080] In an alternative embodiment, as Figure 6 shown, step S206 may include: S600, determining the display styles of the index data corresponding to each of the regular report indexes based on the index data corresponding to each of the regular report indexes and the display rules of the index data.
[0081] S602, filling the index data corresponding to each of the regular report indexes into the corresponding positions in the regular report page template according to the determined display styles to obtain the regular report page.
[0082] The display style is used to determine which layout and which style are specifically required to render and display the index data.
[0083] In one implementation, a machine learning algorithm may be used to determine the display styles of the index data based on the index data and the display rules of the index data. In another implementation, the display styles of the index data may also be determined based on pre-configured display style determination rules.
[0084] After determining the display styles of the index data, the index data corresponding to each of the regular report indexes may be filled into the corresponding positions in the regular report page template according to the determined display styles, realizing the filling of the index data and obtaining a complete regular report page.
[0085] In this embodiment, generating a regular report page by filling the index data corresponding to each of the regular report indexes into the corresponding positions in the regular report page template according to the determined display styles can realize the rapid generation of the regular report page.
[0086] In an alternative embodiment, the method further includes: In the case where the index data corresponding to the target regular report index does not have a corresponding display rule, an artificial intelligence content generation technique is used to generate the display style corresponding to the target regular report index based on the index data corresponding to the target regular report index.
[0087] The target regular report index may be any one of the multiple regular report indexes.
[0088] AIGC technology is a method that uses artificial intelligence technologies such as deep learning, natural language processing (NLP), and computer vision to automatically generate various forms of content, including text, images, audio, video, etc. Its core lies in training with large-scale data, enabling AI to imitate human creation logic and generate high-quality content.
[0089] In some embodiments, for each periodic report metric, a corresponding display rule can be pre-configured, or specific display rules may not be pre-configured. Instead, it can be configured to determine the display style corresponding to the target periodic report metric through AIGC (Artificial Intelligence Generated Content) technology. In this way, when it is necessary to determine the display styles corresponding to these periodic report metrics subsequently, the artificial intelligence generated content technology can be directly used to generate the display style corresponding to the target periodic report metric based on the metric data corresponding to the target periodic report metric, realizing the personalized generation of the display style corresponding to the target periodic report metric and improving the user experience.
[0090] Embodiment 2 Figure 7 Schematically shows a block diagram of a periodic report page generation device 700 according to Embodiment 2 of the present application. The device can be divided into one or more program modules. One or more program modules are stored in a storage medium and executed by one or more processors to complete the embodiments of the present application. The program modules referred to in the embodiments of the present application refer to a series of computer program instruction segments that can complete specific functions. The following description will specifically introduce the functions of each program module in this embodiment. As Figure 7 shown, the device 700 may include: a first determination module 710, a second determination module 720, an acquisition module 730, and a generation module 740, where: The first determination module 710 is configured to determine periodic report metrics, and the periodic report metrics include multiple ones; The second determination module 720 is configured to determine the acquisition logic, filtering rules, and display rules of the metric data corresponding to each of the periodic report metrics by using a preset rule model; The acquisition module 730 is configured to acquire the metric data corresponding to each of the periodic report metrics based on the acquisition logic and filtering rules of the metric data corresponding to each of the periodic report metrics; The generation module 740 is configured to generate a periodic report page based on the metric data corresponding to each of the periodic report metrics, the display rules of the metric data, and a preset periodic report page template.
[0091] As an optional embodiment, determining the periodic report metrics includes: Obtaining the periodic report target and the periodic report requirements; Use a large language model to generate the periodic report metrics based on the periodic report objectives and the periodic report requirements.
[0092] As an alternative embodiment, obtain the metric data corresponding to each of the periodic report metrics based on the acquisition logic and filtering rules of the metric data corresponding to each of the periodic report metrics, including: Execute the acquisition logic of the metric data corresponding to each of the periodic report metrics to obtain the initial metric data corresponding to each of the periodic report metrics; Filter the initial metric data corresponding to each of the periodic report metrics based on the filtering rules of the metric data corresponding to each of the periodic report metrics to obtain the target metric data corresponding to each of the periodic report metrics.
[0093] As an alternative embodiment, the apparatus 700 is further configured to: Display the filtering rules and display rules of the metric data corresponding to each of the periodic report metrics; Obtain an editing operation on the filtering rules and display rules of the metric data corresponding to each of the periodic report metrics; Update the filtering rules and display rules of the metric data corresponding to each of the periodic report metrics based on the editing operation.
[0094] As an alternative embodiment, generate a periodic report page based on the metric data corresponding to each of the periodic report metrics, the display rules of the metric data, and a preset periodic report page template, including: Determine the display styles of the metric data corresponding to each of the periodic report metrics based on the metric data corresponding to each of the periodic report metrics and the display rules of the metric data; Fill the metric data corresponding to each of the periodic report metrics into the corresponding positions in the periodic report page template according to the determined display styles to obtain the periodic report page.
[0095] As an alternative embodiment, the apparatus 700 is further configured to: In the case where the metric data corresponding to the target periodic report metric does not have a corresponding display rule, use artificial intelligence content generation technology to generate the display style corresponding to the target periodic report metric based on the metric data corresponding to the target periodic report metric.
[0096] Embodiment III Figure 8Schematically shown is a hardware architecture diagram of a computer device 10000 suitable for implementing the periodic report page generation method according to Embodiment 3 of the present application. In some embodiments, the computer device 10000 may be a terminal device such as a smart phone, a wearable device, a tablet computer, a personal computer, a vehicle-mounted terminal, a game console, a virtual device, a workbench, a digital assistant, a set-top box, a robot, etc. In other embodiments, the computer device 10000 may be a rack server, a blade server, a tower server, or a cabinet server (including a stand-alone server or a server cluster composed of multiple servers), etc. As Figure 8 shown, the computer device 10000 includes, but is not limited to: a memory 10010, a processor 10020, and a network interface 10030 that can be communicatively linked to each other through a system bus. Among them: The memory 10010 includes at least one type of computer-readable storage medium. The readable storage medium includes flash memory, a hard disk, a multimedia card, a card-type memory (such as an SD or DX memory), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 10010 may be an internal storage module of the computer device 10000, such as the hard disk or memory of the computer device 10000. In other embodiments, the memory 10010 may also be an external storage device of the computer device 10000, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc., equipped on the computer device 10000. Of course, the memory 10010 may also include both the internal storage module and the external storage device of the computer device 10000. In this embodiment, the memory 10010 is generally used to store the operating system and various application software installed on the computer device 10000, such as the program code of the periodic report page generation method. In addition, the memory 10010 may also be used to temporarily store various data that have been output or will be output.
[0097] In some embodiments, the processor 10020 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other chips. The processor 10020 is generally used to control the overall operation of the computer device 10000, such as performing control and processing related to data interaction or communication with the computer device 10000. In this embodiment, the processor 10020 is used to run the program code stored in the memory 10010 or process data.
[0098] The network interface 10030 may include a wireless network interface or a wired network interface, which is generally used to establish a communication link between the computer device 10000 and other computer devices. For example, the network interface 10030 is used to connect the computer device 10000 to an external terminal through a network, and establish a data transmission channel and a communication link between the computer device 10000 and the external terminal. The network can be a wireless or wired network such as an enterprise intranet (Intranet), the Internet, Global System of Mobile communication (GSM for short), Wideband Code Division Multiple Access (WCDMA for short), 4G network, 5G network, Bluetooth, Wi-Fi, etc.
[0099] It should be noted that Figure 8 only the computer device with components 10010 - 10030 is shown, but it should be understood that it is not required to implement all the shown components, and more or fewer components can be alternatively implemented.
[0100] In this embodiment, the periodic report page generation method stored in the memory 10010 can also be divided into one or more program modules and executed by one or more processors (such as the processor 10020) to complete the embodiments of this application.
[0101] Embodiment 4 The embodiments of this application also provide a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the periodic report page generation method in the embodiment are implemented.
[0102] In this embodiment, the computer-readable storage medium includes flash memory, hard disks, multimedia cards, card-type memories (e.g., SD or DX memories, etc.), random access memories (RAM), static random access memories (SRAM), read-only memories (ROM), electrically erasable programmable read-only memories (EEPROM), programmable read-only memories (PROM), magnetic memories, magnetic disks, optical disks, etc. In some embodiments, the computer-readable storage medium may be an internal storage unit of a computer device, such as the hard disk or memory of the computer device. In other embodiments, the computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc., equipped on the computer device. Of course, the computer-readable storage medium may also include both the internal storage unit and the external storage device of the computer device. In this embodiment, the computer-readable storage medium is generally used to store the operating system installed on the computer device and various application software, such as the program code of the periodic report page generation method in the embodiment. In addition, the computer-readable storage medium may also be used to temporarily store various data that have been output or will be output.
[0103] Embodiment 5 The embodiment of the present application also provides a computer program product, including a computer program, which implements the method in the above embodiment when executed by a processor.
[0104] Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the embodiments of the present application can be implemented by a general computer device. They can be concentrated on a single computer device or distributed on a network composed of multiple computer devices. Optionally, they can be implemented by program codes executable by the computer device, so that they can be stored in a storage device and executed by the computer device. And in some cases, the steps shown or described can be executed in a different order from here, or they can be separately fabricated into individual integrated circuit modules, or multiple modules or steps among them can be fabricated into a single integrated circuit module to be implemented. Thus, the embodiments of the present application are not limited to any specific combination of hardware and software.
[0105] It should be noted that the above are only the preferred embodiments of the present application, and do not limit the patent protection scope of the present application. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present application.
Claims
1. A method for generating a regular report page, characterized in that, The method includes: Determine regular report metrics, where the regular report metrics include multiple ones; Use a preset rule model to determine the acquisition logic, filtering rules, and display rules for the metric data corresponding to each of the regular report metrics; Obtain the metric data corresponding to each of the regular report metrics based on the acquisition logic and filtering rules for the metric data corresponding to each of the regular report metrics; Generate a regular report page based on the metric data corresponding to each of the regular report metrics, the display rules for the metric data, and a preset regular report page template.
2. The method according to claim 1, wherein Determine regular report metrics, including: Obtain regular report goals and regular report requirements; Use a large language model to generate the regular report metrics based on the regular report goals and the regular report requirements.
3. The method according to claim 1, wherein Obtain the metric data corresponding to each of the regular report metrics based on the acquisition logic and filtering rules for the metric data corresponding to each of the regular report metrics, including: Execute the acquisition logic for the metric data corresponding to each of the regular report metrics to obtain the initial metric data corresponding to each of the regular report metrics; Filter the initial metric data corresponding to each of the regular report metrics based on the filtering rules for the metric data corresponding to each of the regular report metrics to obtain the target metric data corresponding to each of the regular report metrics.
4. The method according to any one of claims 1 to 3, characterized in that, The method further includes: Display the filtering rules and display rules for the metric data corresponding to each of the regular report metrics; Obtain an editing operation for the filtering rules and display rules for the metric data corresponding to each of the regular report metrics; Update the filtering rules and display rules for the metric data corresponding to each of the regular report metrics based on the editing operation.
5. The method according to claim 1, characterized in that Generate a regular report page based on the metric data corresponding to each of the regular report metrics, the display rules for the metric data, and a preset regular report page template, including: Determine the display styles for the metric data corresponding to each of the regular report metrics based on the metric data corresponding to each of the regular report metrics and the display rules for the metric data; Fill the metric data corresponding to each of the regular report metrics into the corresponding positions in the regular report page template according to the determined display styles to obtain the regular report page.
6. The method according to claim 5, characterized in that, The method further includes: In the case where there is no corresponding display rule for the metric data corresponding to the target regular report metric, use artificial intelligence content generation technology to generate the display style corresponding to the target regular report metric based on the metric data corresponding to the target regular report metric.
7. A device for generating a regular report page, characterized in that, The device includes: A first determination module for determining regular report metrics, where the regular report metrics include multiple ones; A second determination module for using a preset rule model to determine the acquisition logic, filtering rules, and display rules for the metric data corresponding to each of the regular report metrics; An acquisition module for obtaining the metric data corresponding to each of the regular report metrics based on the acquisition logic and filtering rules for the metric data corresponding to each of the regular report metrics; A generation module for generating a regular report page based on the metric data corresponding to each of the regular report metrics, the display rules for the metric data, and a preset regular report page template.
8. A computer device, characterized in that, Includes: At least one processor; And A memory communicatively coupled to the at least one processor; wherein: The memory stores instructions executable by the at least one processor, and when the instructions are executed by the at least one processor, the at least one processor is enabled to execute the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, Computer instructions are stored in the computer-readable storage medium, and when the computer instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.