Report generation method and device and storage medium

By obtaining and verifying the report configuration information and user information submitted by users and generating target reports, the complexity of report generation templates and error problems in the existing technology are solved, and flexible configuration and efficiency improvement are achieved.

CN118917303APending Publication Date: 2024-11-08STATE NUCLEAR ELECTRIC POWER PLANNING DESIGN & RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410955617.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

In the prior art, the formulation of the rule-based report generation method template is complex and the user experience is poor. When multiple people collaborate to generate reports, they are prone to content errors and difficulty in traceability, resulting in inefficient generation.

Method used

By obtaining the report configuration information and user information submitted by the user, determining the target report name and user list, verifying the validity of the configuration information, generating sub-reports and repeating the steps until the target report is generated, combining the final report with the user list, avoiding global content adjustments, Implement flexible configuration and user permission verification.

Benefits of technology

Improve user experience, avoid report content errors, improve generation efficiency, and simplify problem traceability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118917303A_ABST
    Figure CN118917303A_ABST
Patent Text Reader

Abstract

The invention provides a report generation method and device and a storage medium. The report generation method comprises the steps of obtaining report configuration information submitted by a user and user information of the user; determining a target report name and a user list corresponding to the generated report based on the report configuration information; determining whether report configuration information submitted by the user is valid based on the user information and the user list; if the report configuration information submitted by the user is valid, generating a corresponding sub-report based on the report configuration information, and repeating the steps until all sub-reports corresponding to the target report name are generated; and generating a target report based on all the sub-reports corresponding to the target report name. Therefore, the user can flexibly configure the report needing to be generated through the report configuration information, the user experience is improved, different users corresponding to the report needing to be generated are verified, the situation that the user can check or modify the report content responsible by others at will is avoided, the report generation efficiency is improved, and the user experience is improved. And convenience is provided for problem tracing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of computer data processing, and in particular to a report generating method, device and storage medium. Background Art

[0002] At present, enterprises need a large number of reports to report on the progress and content of projects. In the prior art, reports can be automatically generated based on rule-based methods. Among them, the rule-based method can include marking various types of characteristic characters (such as [] or ${}) in the text and table of the template, and then replacing the characteristic characters with natural language, or performing other logical judgment analysis and then replacing them to generate corresponding reports.

[0003] However, when the rule-based method is used, the template creation is more complex, and the global content needs to be adjusted when the template is modified, resulting in a poor user experience. At the same time, when multiple people collaborate to generate a report, different users can arbitrarily view or modify the report content that others are responsible for. When errors occur in document writing, a lot of manpower and time are required to check and correct them, which reduces the efficiency of report generation and makes it inconvenient to trace the source of the problem. Summary of the invention

[0004] The present application provides a report generation method, device and storage medium to at least solve the technical problems arising in the above-mentioned related technologies.

[0005] A first aspect of the present application provides a report generation method, the method comprising:

[0006] Obtaining report configuration information submitted by a user and user information of the user;

[0007] Based on the report configuration information, determine a target report name and a user list corresponding to the generated report;

[0008] Based on the user information and the user list, determining whether the report configuration information submitted by the user is valid;

[0009] If the report configuration information submitted by the user is valid, a corresponding sub-report is generated based on the report configuration information, and the above steps are repeated until all sub-reports corresponding to the target report name are generated;

[0010] Generate a target report based on all sub-reports corresponding to the target report name.

[0011] Optionally, in an embodiment of the present disclosure, determining whether the report configuration information submitted by the user is valid based on the user information and the user list includes:

[0012] Determining whether the user list includes the user name in the user information;

[0013] If the user list includes the user name, determining that the report configuration information submitted by the user is valid;

[0014] If the user list does not include the user name, it is determined that the report configuration information submitted by the user is invalid.

[0015] Optionally, in one embodiment of the present disclosure, the report configuration information includes a report name, a title outline, and a parameter form.

[0016] Optionally, in an embodiment of the present disclosure, the title outline includes at least one title configuration information; and the generating a corresponding sub-report based on the report configuration information includes:

[0017] Based on the at least one title configuration information, determine a first subdivision title corresponding to each title;

[0018] Based on the title condition corresponding to each first subdivided title in the subdivided title index table, determining at least one target title in the at least one title configuration information that meets the corresponding title condition;

[0019] Determine a title order corresponding to each target title based on the order of the user information in the user list;

[0020] Based on the title sequence, title outline and parameter form, a corresponding sub-report is generated.

[0021] Optionally, in an embodiment of the present disclosure, generating a corresponding sub-report based on the title sequence, title outline and parameter form includes:

[0022] Based on the title outline, determining a second subdivision title corresponding to each target title;

[0023] Based on the subdivided title index table, determining a content module corresponding to the second subdivided title;

[0024] Determining whether a preset placeholder is included in the content module;

[0025] If so, replacing the placeholder with the data in the parameter form based on the parameter replacement rule to generate report content corresponding to the content module;

[0026] Based on the title sequence and the report content corresponding to each target title, a corresponding sub-report is generated. Optionally, in one embodiment of the present disclosure, generating a target report based on all sub-reports corresponding to the target report name includes: sorting and combining all sub-reports based on the order of user names in the user list to generate the target report.

[0027] Optionally, in one embodiment of the present disclosure, the method further includes:

[0028] Obtaining format configuration information corresponding to the target report name;

[0029] The target report is formatted based on the format configuration information to generate a final report.

[0030] A second aspect of the present application provides a report generating device, the device comprising:

[0031] An acquisition module, used to acquire report configuration information submitted by a user and user information of the user;

[0032] A first determination module, configured to determine a target report name and a user list corresponding to the generated report based on the report configuration information;

[0033] A second determination module, configured to determine whether the report configuration information submitted by the user is valid based on the user information and the user list;

[0034] A first generating module, configured to generate a corresponding sub-report based on the report configuration information if the report configuration information submitted by the user is valid, and repeat the above steps until all sub-reports corresponding to the target report name are generated;

[0035] The second generating module is used to generate a target report based on all sub-reports corresponding to the target report name.

[0036] The electronic device proposed in the embodiment of the third aspect of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method described in the first aspect above can be implemented.

[0037] The computer storage medium proposed in the fourth aspect of the embodiment of the present invention stores computer executable instructions; after the computer executable instructions are executed by the processor, the method described in the first aspect above can be implemented.

[0038] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:

[0039] The report generation method, device and storage medium provided by the present disclosure obtain the report configuration information submitted by the user and the user information of the user; based on the report configuration information, determine the target report name and user list of the corresponding generated report; based on the user information and user list, determine whether the report configuration information submitted by the user is valid; if the report configuration information submitted by the user is valid, then generate the corresponding sub-report based on the report configuration information, repeat the above steps until all sub-reports corresponding to the target report name are generated; based on all sub-reports corresponding to the target report name, generate the target report. Therefore, in the present disclosure, the user can flexibly configure the report to be generated through the report configuration information, generate the corresponding target report, and there is no need to adjust the global content, which improves the user experience. At the same time, the different users corresponding to the report to be generated are verified to prevent users from arbitrarily viewing or modifying the report content that others are responsible for, improve the report generation efficiency, and provide convenience for problem tracing.

[0040] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0042] Figure 1 A flowchart of a report generation method provided according to an embodiment of the present application;

[0043] Figure 2 The present invention is a schematic diagram of the structure of a report generating device provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0044] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0045] The report generation method and device of the embodiments of the present application are described below with reference to the accompanying drawings.

[0046] Figure 1 A flow chart of a report generation method according to an embodiment of the present application is shown in FIG. Figure 1 As shown, the method may include the following steps:

[0047] Step 101: Obtain report configuration information submitted by a user and user information of the user.

[0048] In one embodiment of the present disclosure, the report configuration information may include a report name, a title outline, and a parameter form; and the user information may include a user name.

[0049] In one embodiment of the present disclosure, the above title outline may include at least one title configuration information, and each title configuration information may include a title level, a title name, and a subdivided title. For example, Table 1 is a title outline proposed in an embodiment of the present disclosure.

[0050] Table 1

[0051] Heading 1: Other Chapters Heading 1: Other Chapters Title 1: Electrical Equipment Title 2: Main Transformer: Main Transformer Selection 1 Title 2: 220kV distribution device: 220kV distribution device selection 1 Title 2: 35kV distribution device: 35kV distribution device selection 1 Title 2: Reactive power compensation device: Reactive power compensation selection_Description Title 2: Station transformer set: Station transformer selection Title 2: 400V distribution device: 400V distribution device selection Title 2: Resistor Cabinet: Resistor Cabinet Selection Title 2: Wind turbine nacelle transformer: box-type transformer substation selection_1

[0052] As shown in Table 1, each of the above lines represents a piece of title configuration information, and the symbol ":" is used to distinguish the preceding and following contents. Specifically, in one embodiment of the present disclosure, in the above "Title 2: 35kV power distribution device: 35kV power distribution device selection 1", "Title 2" indicates the title level, "35kV power distribution device" indicates the title name, and "35kV power distribution device selection 1" indicates the subdivided title.

[0053] And, in one embodiment of the present disclosure, the parameter form includes a replacement identifier and a replacement parameter. Table 2 is a parameter form proposed in an embodiment of the present disclosure.

[0054] Table 2

[0055] Replace Identifier Replacement parameters <! ! Concatenation range: value> 26 <! String subframe_number of photovoltaic inverters> 11 <! ! Equipment environment: serial number> 1,2,3,4 <? Does it include reactive power compensation?>

[0056] As shown in Table 2, when the placeholder "<!...>" appears, the placeholder can be replaced by a replacement parameter, such as "the number of photovoltaic inverters is <! string subframe_number of photovoltaic inverters>", which is replaced by "the number of photovoltaic inverters is 11" according to the replacement rule; when the placeholder "<!!...>" appears, the placeholder can be confirmed as a table placeholder. At this time, the replaceable parameter can be a single character / number or a character set or a number set. If it is a number set, the number of repetitions of the row of the table is determined according to the length of the number set; when the placeholder "<?...>" appears, the text content in the current report can be judged based on the content in the placeholder. If the judgment result of the placeholder is correct, it is determined that the text content in the current report is generated correctly; otherwise, a prompt message "there is an error in generating the report" is output.

[0057] Further, in one embodiment of the present disclosure, after the user determines the report name and title outline on the front page, the parameter configuration of the content module corresponding to the title can be subdivided in the title outline that appears on the front page, and the user can configure as needed and submit after the configuration is completed. Among them, if there is an unconfigured parameter, the parameter takes the default value.

[0058] Step 102: Based on the report configuration information, determine the target report name and user list of the corresponding generated report.

[0059] In one embodiment of the present disclosure, before determining the target report name and user list of the corresponding generated report based on the report configuration information, the report process can be initiated by the person responsible for the report submitting the target report name and user list. In one embodiment of the present disclosure, the above-mentioned user list can be a user name list, and the user name list can be the order of user names corresponding to the contents of each part of the report. For example, in one embodiment of the present disclosure, assuming that the user name list is user A, user B, user C and user D, user A is responsible for the first part of the report, user B is responsible for the second part of the report, user C is responsible for the third part of the report, and user D is responsible for the fourth part of the report.

[0060] Furthermore, in one embodiment of the present disclosure, after the report configuration information is obtained through the above steps, the target report name and user list of the corresponding generated report can be determined based on the report name in the report configuration information.

[0061] Step 103: Based on the user information and the user list, determine whether the report configuration information submitted by the user is valid.

[0062] In one embodiment of the present disclosure, after obtaining the user information and user list through the above steps, it is possible to determine whether the report configuration information submitted by the user is valid based on the user information and user list to prevent people other than the report associated person from arbitrarily changing the report content.

[0063] Specifically, in one embodiment of the present disclosure, the method for determining whether the report configuration information submitted by a user is valid based on the user information and the user list may include: determining whether the user list includes the user name in the user information; if the user list includes the user name, it means that the user is an associated person of the report, and the report configuration information submitted by the user is determined to be valid; if the user list does not include the user name, it means that the user is not an associated person of the report, and the report configuration information submitted by the user is determined to be invalid.

[0064] Step 104: If the report configuration information submitted by the user is valid, a corresponding sub-report is generated based on the report configuration information, and the above steps are repeated until all sub-reports corresponding to the target report name are generated.

[0065] In one embodiment of the present disclosure, if the report configuration information submitted by the user is valid, a corresponding sub-report may be generated based on the report configuration information. Specifically, in one embodiment of the present disclosure, the method for generating a corresponding sub-report based on the report configuration information may include the following steps:

[0066] Step 1041: Determine a first subdivision title corresponding to each title based on at least one title configuration information;

[0067] Step 1042: Based on the title condition corresponding to each first subdivided title in the subdivided title index table, determine at least one target title in at least one piece of title configuration information that meets the corresponding title condition;

[0068] Step 1043: Determine the title order corresponding to each target title based on the order of the user information in the user list;

[0069] Step 1044: Generate a corresponding sub-report based on the title sequence, title outline and parameter form.

[0070] In one embodiment of the present disclosure, the first subdivision title corresponding to each title can be determined based on the content of each title configuration information. For details of the title configuration information, please refer to the above detailed introduction, and the present disclosure embodiment will not be repeated here.

[0071] And, in one embodiment of the present disclosure, the above-mentioned subdivision title index table may include subdivision titles, content modules and title conditions. In one embodiment of the present disclosure, each subdivision title may correspond to one or more content modules, wherein the content module may include a file module, a table module and a picture module. Table 3 is a subdivision title index table proposed in an embodiment of the present disclosure.

[0072] Table 3

[0073] Segment Title Content Module Title Conditions Short circuit current level_wind farm Short-circuit current: a straightforward story Short circuit current level_wind farm Short Circuit Current: Short Circuit Current Level Table Insertion system solution overview 1 Access system solution description <? ? Is the access system not in place?>

[0074] As shown in Table 3, the subdivided title "Short-circuit current level_wind farm" corresponds to the file module "Short-circuit current: Straightforward" and the table module "Short-circuit current level table"; and the title condition corresponding to the first subdivided title "Insert system solution overview 1" is "<? ? Is the access system not in place>", then based on the title condition, the first subdivided title is judged to determine whether the title configuration information corresponding to the first subdivided title meets the title condition. If the title configuration information meets the corresponding title condition, the title name in the title configuration information is determined as the target title; if the title configuration information does not meet the corresponding title condition, the title configuration information is deleted. Among them, in one embodiment of the present disclosure, if the title condition corresponding to the first subdivided title is empty, there is no need to judge the title configuration information corresponding to the first subdivided title, and the title name in the title configuration information is directly determined as the target title.

[0075] Further, in one embodiment of the present disclosure, the method for determining the title order corresponding to each target title based on the order of user information in the user list may include: determining the starting order of the target titles corresponding to the users based on the order of user information in the user list, and sorting them in sequence according to the title level corresponding to each target title to determine the title order corresponding to each target title.

[0076] For example, assuming that the user name list is user A, user B, user C and user D, the title order of the target titles corresponding to user A starts with 1, and then the target titles corresponding to user A are Title 1, Title 1, Title 2, Title 2, Title 3, then the title order corresponding to each target title of user A is 1.1, 1.2, 1.2.1, 1.2.2, 1.2.2.1.

[0077] Among them, in one embodiment of the present disclosure, after obtaining the title sequence corresponding to each target title through the above steps, a corresponding sub-report can be generated based on the title sequence, title outline and parameter form. Specifically, in one embodiment of the present disclosure, the method for generating a corresponding sub-report based on the title sequence, title outline and parameter form may include the following steps:

[0078] Step 1: Based on the title outline, determine the second subdivision title corresponding to each target title;

[0079] Step 2: Determine the content module corresponding to the second subdivision title based on the subdivision title index table;

[0080] Step 3: Determine whether the content module contains a preset placeholder;

[0081] Step 4: If yes, then replace the placeholder with the data in the parameter form based on the parameter replacement rule to generate report content corresponding to the content module;

[0082] Step 5: Generate corresponding sub-reports based on the title sequence and the report content corresponding to each target title.

[0083] Among them, in one embodiment of the present disclosure, if the content module corresponding to the above-mentioned second subdivision title is a text module or a table module, the report content corresponding to the content module can be generated through the above-mentioned steps 3 to 4; if the content module corresponding to the above-mentioned second subdivision title is a picture module, the report content corresponding to the content module can be generated through the picture link in the content module.

[0084] And, in one embodiment of the present disclosure, after the sub-report corresponding to the user is generated through the above steps, the above steps can be repeated until all sub-reports corresponding to the target report name are generated.

[0085] Step 105: Generate a target report based on all sub-reports corresponding to the target report name.

[0086] In one embodiment of the present disclosure, after all sub-reports corresponding to the target report name are obtained through the above steps, the target report can be generated based on all sub-reports corresponding to the target report name. Specifically, in one embodiment of the present disclosure, the method for generating a target report based on all sub-reports corresponding to the target report name may include: sorting and combining all sub-reports based on the order of user names in the user list to generate the target report.

[0087] And, in one embodiment of the present disclosure, after the target report is generated through the above steps, the above method may further include: obtaining format configuration information corresponding to the target report name, adjusting the format of the target report based on the format configuration information, and generating a final report.

[0088] Further, in one embodiment of the present disclosure, the type of the target report may include a Word document report. Also, in one embodiment of the present disclosure, the format configuration information may specifically include format configuration information corresponding to each target title and report format configuration information, and the format configuration information corresponding to each target title may include configuration information corresponding to font type, font size, paragraph alignment, line spacing, first line indent, outline level, bold, title style, and Numbers New Roman, and the report format configuration information may include configuration information of the top margin, bottom margin, left margin, and right margin of the generated report.

[0089] In one embodiment of the present disclosure, if the target report does not have corresponding format configuration information, the format of the target report can be adjusted based on the default format configuration information to generate a final report.

[0090] In summary, the report generation method provided by the present application obtains the report configuration information submitted by the user and the user information of the user; based on the report configuration information, determines the target report name and user list of the corresponding generated report; based on the user information and the user list, determines whether the report configuration information submitted by the user is valid; if the report configuration information submitted by the user is valid, then generates the corresponding sub-report based on the report configuration information, repeats the above steps until all sub-reports corresponding to the target report name are generated; based on all sub-reports corresponding to the target report name, generates the target report. Therefore, in the present disclosure, the user can flexibly configure the report to be generated through the report configuration information, and generate the corresponding target report without adjusting the global content, thereby improving the user experience, and at the same time verifying the different users corresponding to the report to be generated, so that the user can avoid arbitrarily viewing or modifying the report content responsible for others, thereby improving the efficiency of report generation and providing convenience for problem tracing.

[0091] Figure 2 A structural diagram of a report generating device according to an embodiment of the present application is shown as follows: Figure 2 As shown, the device may include:

[0092] The acquisition module 201 is used to acquire the report configuration information submitted by the user and the user information of the user;

[0093] A first determination module 202 is used to determine a target report name and a user list corresponding to the generated report based on the report configuration information;

[0094] The second determination module 203 is used to determine whether the report configuration information submitted by the user is valid based on the user information and the user list;

[0095] The first generating module 204 is used to generate a corresponding sub-report based on the report configuration information if the report configuration information submitted by the user is valid, and repeat the above steps until all sub-reports corresponding to the target report name are generated;

[0096] The second generating module 205 is used to generate a target report based on all sub-reports corresponding to the target report name.

[0097] In one embodiment of the present disclosure, the second determining module 203 is specifically configured to:

[0098] Determine whether the user list includes the user name in the user information;

[0099] If the user list includes the user name, it is determined that the report configuration information submitted by the user is valid;

[0100] If the user name is not included in the user list, it is determined that the report configuration information submitted by the user is invalid.

[0101] Further, in one embodiment of the present disclosure, the above-mentioned report configuration information includes a report name, a title outline and a parameter form.

[0102] Further, in an embodiment of the present disclosure, the title outline includes at least one title configuration information; the first generating module 204 is specifically used to:

[0103] Based on at least one piece of title configuration information, determine a first subdivision title corresponding to each title;

[0104] Based on the title condition corresponding to each first subdivided title in the subdivided title index table, determining at least one target title in at least one piece of title configuration information that meets the corresponding title condition;

[0105] Determine the title order corresponding to each target title based on the order of the user information in the user list;

[0106] Generate corresponding sub-reports based on title order, title outline and parameter form.

[0107] Furthermore, in one embodiment of the present disclosure, the first generating module 204 is further configured to:

[0108] Based on the title outline, determine the second subdivision title corresponding to each target title;

[0109] Determine the content module corresponding to the second subdivision title based on the subdivision title index table;

[0110] Determine whether the content module contains a preset placeholder;

[0111] If so, the data in the parameter form replaces the placeholder based on the parameter replacement rule to generate report content corresponding to the content module;

[0112] Generate corresponding sub-reports based on the title order and the report content corresponding to each target title.

[0113] Further, in one embodiment of the present disclosure, the second generating module 205 is specifically used to:

[0114] All sub-reports are sorted and combined based on the order of user names in the user list to generate the target report.

[0115] Furthermore, in one embodiment of the present disclosure, the above device is also used for:

[0116] Get the format configuration information corresponding to the target report name;

[0117] The target report is formatted based on the format configuration information to generate a final report.

[0118] In summary, the report generation device provided by the present application obtains the report configuration information submitted by the user and the user information of the user; based on the report configuration information, determines the target report name and user list of the corresponding generated report; based on the user information and the user list, determines whether the report configuration information submitted by the user is valid; if the report configuration information submitted by the user is valid, then generates the corresponding sub-report based on the report configuration information, repeats the above steps until all sub-reports corresponding to the target report name are generated; based on all sub-reports corresponding to the target report name, generates the target report. Therefore, in the present disclosure, the user can flexibly configure the report to be generated through the report configuration information, and generate the corresponding target report without adjusting the global content, thereby improving the user experience, and at the same time verifying the different users corresponding to the report to be generated, so that the user can avoid arbitrarily viewing or modifying the report content responsible for others, thereby improving the efficiency of report generation and providing convenience for problem tracing.

[0119] In order to implement the above embodiments, the present disclosure also proposes a computer storage medium.

[0120] The computer storage medium provided in the embodiment of the present disclosure stores an executable program; after the executable program is executed by the processor, the following can be achieved: Figure 1 The method shown.

[0121] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0122] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0123] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A report generation method, characterized in that: The method comprises: Obtaining report configuration information submitted by a user and user information of the user; Based on the report configuration information, determine a target report name and a user list corresponding to the generated report; Based on the user information and the user list, determining whether the report configuration information submitted by the user is valid; If the report configuration information submitted by the user is valid, a corresponding sub-report is generated based on the report configuration information, and the above steps are repeated until all sub-reports corresponding to the target report name are generated; Generate a target report based on all sub-reports corresponding to the target report name.

2. The method according to claim 1, characterized in that The determining, based on the user information and the user list, whether the report configuration information submitted by the user is valid includes: Determining whether the user list includes the user name in the user information; If the user list includes the user name, determining that the report configuration information submitted by the user is valid; If the user list does not include the user name, it is determined that the report configuration information submitted by the user is invalid.

3. The method according to claim 1, characterized in that The report configuration information includes a report name, a title outline, and a parameter form.

4. The method according to claim 3, characterized in that The title outline includes at least one title configuration information; and the generating a corresponding sub-report based on the report configuration information includes: Based on the at least one title configuration information, determine a first subdivision title corresponding to each title; Based on the title condition corresponding to each first subdivided title in the subdivided title index table, determining at least one target title in the at least one title configuration information that meets the corresponding title condition; Determine a title order corresponding to each target title based on the order of the user information in the user list; Based on the title sequence, title outline and parameter form, a corresponding sub-report is generated.

5. The method according to claim 4, characterized in that Based on the title sequence, title outline and parameter form, a corresponding sub-report is generated, including: Based on the title outline, determining a second subdivision title corresponding to each target title; Based on the subdivided title index table, determining a content module corresponding to the second subdivided title; Determining whether a preset placeholder is included in the content module; If so, replacing the placeholder with the data in the parameter form based on the parameter replacement rule to generate report content corresponding to the content module; Based on the title sequence and the report content corresponding to each target title, a corresponding sub-report is generated.

6. The method according to claim 1, characterized in that The generating the target report based on all sub-reports corresponding to the target report name includes: sorting and combining all sub-reports based on the order of user names in the user list to generate the target report.

7. The method according to claim 1, characterized in that The method further comprises: Obtaining format configuration information corresponding to the target report name; The target report is formatted based on the format configuration information to generate a final report.

8. A report generating device, characterized in that: The device comprises: An acquisition module, used to acquire report configuration information submitted by a user and user information of the user; A first determination module, configured to determine a target report name and a user list corresponding to the generated report based on the report configuration information; A second determination module, configured to determine whether the report configuration information submitted by the user is valid based on the user information and the user list; A first generating module, configured to generate a corresponding sub-report based on the report configuration information if the report configuration information submitted by the user is valid, and repeat the above steps until all sub-reports corresponding to the target report name are generated; The second generating module is used to generate a target report based on all sub-reports corresponding to the target report name.

9. An electronic device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the report generating method according to any one of claims 1 to 7 is implemented.