CN113935301B - Report generation method and device, storage medium and electronic equipment - Google Patents

Report generation method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN113935301B
CN113935301B CN202111215481.4A CN202111215481A CN113935301B CN 113935301 B CN113935301 B CN 113935301B CN 202111215481 A CN202111215481 A CN 202111215481A CN 113935301 B CN113935301 B CN 113935301B
Authority
CN
China
Prior art keywords
report
parameters
customized
data set
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111215481.4A
Other languages
Chinese (zh)
Other versions
CN113935301A (en
Inventor
牙祖将
石炜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202111215481.4A priority Critical patent/CN113935301B/en
Publication of CN113935301A publication Critical patent/CN113935301A/en
Application granted granted Critical
Publication of CN113935301B publication Critical patent/CN113935301B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • G06F16/24573Query processing with adaptation to user needs using data annotations, e.g. user-defined metadata

Abstract

The invention provides a report generation method and device, a storage medium and electronic equipment, which can be applied to the financial field or other fields, wherein the method comprises the following steps: responding to the report making instruction, and acquiring a table data intermediate file corresponding to the report making instruction; determining a report application scene corresponding to the table data intermediate file; judging whether a data set file of a report application scene exists or not; if a data set file of a report application scene exists, acquiring report parameters in the data set file; performing customized processing on the report parameters to obtain customized report parameters; and generating a report corresponding to the customized report parameters based on the customized report parameters and the intermediate file of the table data. By applying the report generation method provided by the invention, the data set file of the report application scene can be obtained, the report parameters in the data set file are customized, the file is generated according to the customized report parameters, the report meeting the requirements of the customer can be quickly generated, and the production efficiency of the report is greatly improved.

Description

Report generation method and device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a report generation method and apparatus, a storage medium, and an electronic device.
Background
The report forms are important components of the information management system, and particularly for commercial banking institutions, various types of report forms for analysis, evaluation, prediction and the like are required. Due to the wide variety, frequent change and high timeliness of the report forms, the report forms need to be generated accurately in time.
In the process of making a report, a report generation module is usually called to generate the report, however, the existing report generation module usually generates the report with the same format according to one model, the reusability of the report generation module is poor, and the generated report has a single format and cannot meet the actual requirement.
Disclosure of Invention
The invention aims to solve the technical problem of providing a report generation method which can quickly generate different types of reports.
The invention also provides a report generating device used for ensuring the realization and the application of the method in practice.
A report generation method comprises the following steps:
responding to a report making instruction, and acquiring a table data intermediate file corresponding to the report making instruction;
determining a report application scene corresponding to the table data intermediate file;
judging whether a data set file of the report application scene exists or not;
if the data set file of the report application scene exists, acquiring report parameters in the data set file;
performing customized processing on the report parameters to obtain customized report parameters;
and generating a report corresponding to the customized report parameters based on the customized report parameters and the intermediate file of the report data.
The above method, optionally, further includes:
if the data set file corresponding to the report application scene does not exist, determining the table structure information corresponding to the report application scene;
generating report parameters according to the table structure information, wherein the report parameters comprise at least one of table head structure subparameters, table body access logic subparameters, table tail subparameters, page head subparameters and page tail subparameters;
and generating a data set file corresponding to the report application scene based on the report parameters, and storing the data set file.
Optionally, the above method, performing a customized processing on the report parameter to obtain a customized report parameter, includes:
acquiring customer demand information;
determining sub-parameters to be adjusted in the report parameters and adjustment types of the sub-parameters to be adjusted according to the customer demand information;
and adjusting each sub-parameter to be adjusted according to the adjustment type of each sub-parameter to be adjusted to obtain customized report parameters.
Optionally, in the method, generating the report corresponding to the customized report parameter based on the customized report parameter and the intermediate file of the table data includes:
and adding the customized report parameters and the intermediate file of the report data into the operation step corresponding to the report making instruction to generate a report corresponding to the customized report parameters.
The above method, optionally, further includes:
and displaying the report on a preset display page.
A report generation apparatus comprising:
the first acquisition unit is used for responding to a report making instruction and acquiring a table data intermediate file corresponding to the report making instruction;
the determining unit is used for determining a report application scene corresponding to the table data intermediate file;
the judging unit is used for judging whether a data set file of the report application scene exists or not;
the second acquisition unit is used for acquiring the report parameters in the data set file if the data set file of the report application scene exists;
the client processing unit is used for performing client processing on the report parameters to obtain client report parameters;
and the generating unit is used for generating the report corresponding to the customized report parameters based on the customized report parameters and the intermediate file of the report data.
The above apparatus, optionally, further comprises:
the first execution unit is used for determining the table structure information corresponding to the report application scene if the data set file corresponding to the report application scene does not exist;
the second execution unit is used for generating report parameters according to the table structure information, wherein the report parameters comprise at least one of a table head structure subparameter, a table body access logic subparameter, a table tail subparameter, a page head subparameter and a page tail subparameter;
and the third execution unit is used for generating a data set file corresponding to the report application scene based on the report parameters.
The above apparatus, optionally, the customization processing unit includes:
the acquiring subunit is used for acquiring the customer requirement information;
the determining subunit is used for determining the sub-parameters to be adjusted in the report parameters and the adjustment types of the sub-parameters to be adjusted according to the customer requirement information;
and the adjusting sub-unit is used for adjusting each sub-parameter to be adjusted according to the adjustment type of each sub-parameter to be adjusted to obtain the customized report parameters.
A storage medium, the storage medium includes storage instructions, and when the instructions are executed, a device on which the storage medium is located is controlled to execute the report generation method.
An electronic device comprising a memory, and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by one or more processors to perform the report generation method as described above.
Compared with the prior art, the invention has the following advantages:
the invention provides a report generation method and device, a storage medium and electronic equipment, wherein the method comprises the following steps: responding to a report making instruction, and acquiring a table data intermediate file corresponding to the report making instruction; determining a report application scene corresponding to the table data intermediate file; judging whether a data set file of the report application scene exists or not; if the data set file of the report application scene exists, acquiring report parameters in the data set file; performing customized processing on the report parameters to obtain customized report parameters; and generating a report corresponding to the customized report parameters based on the customized report parameters and the intermediate file of the report data. By applying the report generation method provided by the invention, the data set file of the report application scene can be obtained, the report parameters in the data set file are customized, the file is generated according to the customized report parameters, the report meeting the customer requirements can be rapidly generated, and the report production efficiency is greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flowchart of a method for generating a report according to the present invention;
FIG. 2 is a flow chart of a process for performing customization on report parameters according to the present invention;
FIG. 3 is a schematic view of a process for automatically generating a report according to the present invention;
FIG. 4 is a schematic structural diagram of a report generation apparatus according to the present invention;
fig. 5 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The traditional report making method is that the structure of the report is directly defined in the COBOL program or the JCL code according to the structure of the report by programming the COBOL program code or the JCL code, then the access rule and the assignment logic are determined according to the content of the report, and finally the whole report result is output to an output file through statistical calculation. According to the traditional report making method, a specific report needs a programming code, and the code cannot be reused, so that the report making efficiency is low.
The embodiment of the invention provides a report generation method, which can be applied to electronic equipment, wherein a method flow chart of the method is shown in fig. 1, and the method specifically comprises the following steps:
s101: and responding to a report making instruction, and acquiring a table data intermediate file corresponding to the report making instruction.
In the method provided by the invention, a feasible way for acquiring the table data intermediate file corresponding to the report making instruction is as follows: and acquiring a file identifier in the report making instruction, and acquiring the intermediate file of the report data corresponding to the file identifier in a preset file storage area.
Another feasible way for obtaining the table data intermediate file corresponding to the report making instruction is as follows: and analyzing the report making instruction to obtain instruction information of the report making instruction, and obtaining a table data intermediate file in the instruction information.
S102: and determining a report application scene corresponding to the table data intermediate file.
In the method provided by the embodiment of the present invention, a feasible way to determine the report application scenario corresponding to the table data intermediate file is as follows: traversing a preset scene relation table based on the file identifier of the table data intermediate file to determine a report application scene of the table data intermediate file, wherein the scene relation table records the corresponding relation between the table data intermediate file and the report application scene.
Another possible way is: and acquiring a scene identifier in the report making instruction, and determining a report application scene corresponding to the intermediate file of the report data according to the scene identifier.
S103: judging whether a data set file of the report application scene exists or not; if so, S107 is executed, and if not, S104 is executed.
In a feasible manner, whether the data set file of the report application scene exists in a preset data set file storage area can be judged.
S104: and determining the table structure information corresponding to the report application scene.
The table structure information may include one or more of table header structure information, page header structure information, table footer structure information, page footer structure information, and table body structure information.
S105: and generating report parameters according to the table structure information. The report parameters comprise at least one of a table head structure subparameter, a table body access logic subparameter, a table tail subparameter, a page head subparameter and a page tail subparameter.
Specifically, parameterization may be performed on one or more of header structure information, footer structure information, and body structure information in the table structure information to obtain the report parameters.
S106: and generating a data set file corresponding to the report application scene based on the report parameters, and storing the data set file, wherein the data set file can be stored in a data set file storage area.
In an embodiment of the present invention, the data set file includes a plurality of parameter fields, for example, a parameter field for storing a header structure subparameter, a header subparameter, a footer parameter, a body parameter, and a footer subparameter.
The data set file corresponding to the report application scene can be generated according to the preset file length and the report parameters, and the file length can be set according to actual requirements.
S107: and acquiring report parameters in the data set file.
In the embodiment of the present invention, the report parameters may be obtained in each parameter field in a data set file, and the data set file may be a symmanes data set file.
S108: and carrying out customized processing on the report parameters to obtain customized report parameters.
The report parameters can be subjected to customized processing according to the requirement information of the client to obtain customized report parameters, and the customized report parameters are parameters meeting the requirements of the client.
S109: and generating a report corresponding to the customized report parameters based on the customized report parameters and the intermediate file of the report data.
The table data intermediate file can be rendered based on the customized report parameters to generate a report of a report application scene.
By applying the report generation method provided by the invention, the data set file of the report application scene can be obtained, the report parameters in the data set file are customized, the file is generated according to the customized report parameters, the report meeting the requirements of the customer can be quickly generated, and the production efficiency of the report is greatly improved.
In the method provided in the embodiment of the present invention, based on the above method, specifically, a process of performing a customized processing on the report parameter to obtain a customized report parameter is shown in fig. 2, and includes the following steps.
S201: and acquiring the customer requirement information.
The client requirement information can be generated by executing preset adjustment operation for a user and can also be acquired in a report making instruction.
S202: and determining the sub-parameters to be adjusted in the report parameters and the adjustment types of the sub-parameters to be adjusted according to the customer requirement information.
Specifically, the sub-parameter to be adjusted may be one or more of a table header structure sub-parameter, a table body access logic sub-parameter, a table footer sub-parameter, a page header sub-parameter, and a page footer sub-parameter, and the adjustment type may be at least one of an add type, a delete type, and a modify type.
S203: and adjusting each sub-parameter to be adjusted according to the adjustment type of each sub-parameter to be adjusted to obtain customized report parameters.
In the embodiment of the invention, the customized report parameters are obtained by adjusting the sub-parameters to be adjusted in the report parameters, and then the report is generated based on the customized report parameters, so that the customized report requirements of customers can be met.
In the method provided in the embodiment of the present invention, based on the above method, specifically, the generating a report corresponding to the customized report parameter based on the customized report parameter and the intermediate file of the table data includes:
and adding the customized report parameters and the intermediate file of the report data into the operation step corresponding to the report making instruction to generate a report corresponding to the customized report parameters.
The operation step refers to the operation step of the host JCL, and the customized report parameters and the intermediate file of the report data are added into the operation step corresponding to the report making instruction, so that the customized report parameters and the intermediate file of the report data can be used as the input of a report making tool, the report making tool renders the intermediate file of the report data based on the customized parameters, and the report of the report application scene is obtained.
Specifically, the report tool may be an ICEMAN tool.
In the method provided in the embodiment of the present invention, based on the above method, specifically, the method further includes:
and displaying the report on a preset display page.
The method provided by the embodiment of the present invention may be applied to various fields, for example, in the field of report making using a banking system, as shown in fig. 3, for a process diagram for automatically generating a report provided by the embodiment of the present invention, in the process of practical application, based on the principle of SYMNAMES DD instruction of the host JCL, parameters such as header and footer of the report are defined to form a symtames data set file according to the structure of the report, parameters in the symtames data set file are customized, on this basis, the host JCL is used to call an ICEMAN tool, the structure information such as the header and the footer required for generating the report is obtained through the symtames data set file designated by SYMNAMES DD, and the required report is automatically made, the specific making process is as follows:
the method comprises the following steps: according to the display contents of the report, combing the contents of the report such as a HEADER, a footer and the like, and writing parameters to be subjected to parameter writing, wherein the parameter contents comprise HEADER information HEADER2 parameters and footer TRAILER1 parameters;
step two: the first use requires defining a symamames dataset file, the record format of the file is FB, the record length is 80, and no definition is needed later.
Step three: and according to the sorted parameter content, parameterizing each parameter domain in a pre-defined SYMNAMES data set file in an abstract and parameterization mode, and maintaining the parameter domains in the pre-defined SYMNAMES data set file to be customized.
Step four: and calling a real-time dynamic parameter replacement device to customize all parameter contents in the SYMNAMES data set file.
Step five: and taking the parameters in the customized SYMNAMES data set file as parameter input, executing a JCL job pace DFSORT application, acquiring the content of each parameter in the SYMNAMES data set file through an SYMNAMES DD instruction, forming a HEADER2 parameter and a TRAILER1 parameter of OUTFIL, and finally finishing report making processing.
Based on the commonality that the structure of the report mainly comprises a report head, a page tail, a segment head, a segment tail, a report tail and the like, the embodiment of the invention uses a non-programming method, utilizes the principle that SYMNAMES DD of a host computer JCL can specify a SYMNAMES data set file containing a symbolization process instruction, defines parameters of each domain corresponding to the report structure by the parameters, maintains the parameters into the SYMNAMES data set file which is defined in advance, customizes each parameter domain in the SYMNAMES data set file, and automatically acquires the information of each parameter domain related to the structure of the header, the page head, the page tail and the like which are required by report generation through the SYMNAMES data set file specified by SYMNAMES DD instructions when the host computer JCL calls an ICEMAN tool, thereby automatically making the required report. That is, in the embodiment of the present invention, various parameters required for making a unified report from a sym-manes dataset file are used, and parameters in the sym-manes dataset file can be flexibly changed at any time according to the need for the report through the addition, deletion, modification function of an editor, so that reports of different types and different formats can be generated.
Corresponding to the method described in fig. 1, an embodiment of the present invention further provides a report generating device, which is used for implementing the method in fig. 1 specifically, the report generating device provided in the embodiment of the present invention may be applied to an electronic device, and a schematic structural diagram of the report generating device is shown in fig. 4, and specifically includes:
a first obtaining unit 401, configured to, in response to a report making instruction, obtain a table data intermediate file corresponding to the report making instruction;
a determining unit 402, configured to determine a report application scenario corresponding to the table data intermediate file;
a judging unit 403, configured to judge whether a data set file of the report application scenario exists;
a second obtaining unit 404, configured to obtain a report parameter in a data set file if the data set file of the report application scenario exists;
the customization processing unit 405 is configured to perform customization processing on the report parameters to obtain customized report parameters;
a generating unit 406, configured to generate a report corresponding to the customized report parameter based on the customized report parameter and the intermediate table data file.
By applying the report generation device provided by the invention, the data set file of the report application scene can be obtained, the report parameters in the data set file are customized, the file is generated according to the customized report parameters, the report meeting the requirements of the customer can be quickly generated, and the production efficiency of the report is greatly improved.
In an embodiment provided by the present invention, based on the above scheme, optionally, the report generating apparatus further includes:
the first execution unit is used for determining the table structure information corresponding to the report application scene if the data set file corresponding to the report application scene does not exist;
the second execution unit is used for generating report parameters according to the table structure information, wherein the report parameters comprise at least one of a table head structure subparameter, a table body access logic subparameter, a table tail subparameter, a page head subparameter and a page tail subparameter;
and the third execution unit is used for generating a data set file corresponding to the report application scene based on the report parameters.
In an embodiment provided by the present invention, based on the foregoing solution, optionally, the customization processing unit includes:
the acquisition subunit is used for acquiring the customer demand information;
the determining subunit is used for determining the sub-parameters to be adjusted in the report parameters and the adjustment types of the sub-parameters to be adjusted according to the customer demand information;
and the adjusting sub-unit is used for adjusting each sub-parameter to be adjusted according to the adjustment type of each sub-parameter to be adjusted to obtain the customized report parameters.
The specific principle and the execution process of each unit and each module in the report generation device disclosed in the embodiment of the present invention are the same as those of the report generation method disclosed in the embodiment of the present invention, and reference may be made to corresponding parts in the report generation method provided in the embodiment of the present invention, which are not described herein again.
The embodiment of the invention also provides a storage medium, which comprises a stored instruction, wherein when the instruction runs, the equipment where the storage medium is located is controlled to execute the report generation method.
An electronic device is provided in an embodiment of the present invention, and the structural diagram of the electronic device is shown in fig. 5, which specifically includes a memory 501 and one or more instructions 502, where the one or more instructions 502 are stored in the memory 501, and are configured to be executed by one or more processors 503 to perform the following operations according to the one or more instructions 502:
responding to a report making instruction, and acquiring a table data intermediate file corresponding to the report making instruction;
determining a report application scene corresponding to the table data intermediate file;
judging whether a data set file of the report application scene exists or not;
if the data set file of the report application scene exists, acquiring report parameters in the data set file;
performing customized processing on the report parameters to obtain customized report parameters;
and generating a report corresponding to the customized report parameters based on the customized report parameters and the intermediate file of the report data.
The embodiment of the invention also provides a report generation system which comprises a preprocessing module, a parameterization module, a customization module and a job calling module.
The preprocessing module can be used for carding the contents such as a header, a footer and a footer required by the JCL job step according to the display contents of the report.
And the parameterization module can be used for abstracting and parameterizing a general domain in parameters according to the contents of the sorted header, the footer and the like and maintaining the parameters in a SYMNAMES data set file which is defined in advance.
And the customization module can be used for calling the real-time dynamic parameter replacement device to customize the parameter content of the SYMNAMES data set file.
When the job calling module is mainly used for executing ICEMAN by JCL job, the system loads the customized SYMNAMES data set file content into SYMNAMES DD specified SYMNAMES data set file in the execution job as OUTFIL parameter of the JCL, thereby efficiently generating report required by user.
It should be noted that the report generation method and apparatus, the storage medium, and the electronic device provided by the present invention can be used in the fields of artificial intelligence, block chaining, distributed, cloud computing, big data, internet of things, mobile internet, network security, chip, virtual reality, augmented reality, holography, quantum computing, quantum communication, quantum measurement, digital twin, and finance. The above description is only an example, and does not limit the application fields of the report generation method and apparatus, the storage medium, and the electronic device provided by the present invention.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the units may be implemented in one or more of software and/or hardware in implementing the invention.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The report generation method provided by the invention is described in detail above, a specific example is applied in the text to explain the principle and the implementation mode of the invention, and the description of the above example is only used to help understanding the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (8)

1. A report generation method is characterized by comprising the following steps:
responding to a report making instruction, and acquiring a table data intermediate file corresponding to the report making instruction;
determining a report application scene corresponding to the table data intermediate file;
judging whether a data set file of the report application scene exists or not;
if the data set file of the report application scene exists, acquiring report parameters in the data set file;
performing customized processing on the report parameters to obtain customized report parameters;
generating a report corresponding to the customized report parameters based on the customized report parameters and the intermediate file of the report data;
if the data set file corresponding to the report application scene does not exist, determining the table structure information corresponding to the report application scene;
generating report parameters according to the table structure information, wherein the report parameters comprise at least one of a table head structure subparameter, a table body access logic subparameter, a table tail subparameter, a page head subparameter and a page tail subparameter;
and generating a data set file corresponding to the report application scene based on the report parameters, and storing the data set file.
2. The method of claim 1, wherein the customizing the reporting parameters to obtain customized reporting parameters comprises:
acquiring customer demand information;
determining sub-parameters to be adjusted in the report parameters and adjustment types of the sub-parameters to be adjusted according to the customer demand information;
and adjusting each sub-parameter to be adjusted according to the adjustment type of each sub-parameter to be adjusted to obtain customized report parameters.
3. The method of claim 1, wherein generating the report corresponding to the customized report parameters based on the customized report parameters and the table data intermediate file comprises:
and adding the customized report parameters and the intermediate file of the report data into the operation step corresponding to the report making instruction to generate a report corresponding to the customized report parameters.
4. The method of claim 1, further comprising:
and displaying the report on a preset display page.
5. A report generation apparatus, comprising:
the first acquisition unit is used for responding to a report making instruction and acquiring a table data intermediate file corresponding to the report making instruction;
the determining unit is used for determining a report application scene corresponding to the table data intermediate file;
the judging unit is used for judging whether a data set file of the report application scene exists or not;
the second acquisition unit is used for acquiring the report parameters in the data set file if the data set file of the report application scene exists;
the client processing unit is used for performing client processing on the report parameters to obtain client report parameters;
the generating unit is used for generating a report corresponding to the customized report parameters based on the customized report parameters and the intermediate file of the report data;
the first execution unit is used for determining the table structure information corresponding to the report application scene if the data set file corresponding to the report application scene does not exist;
the second execution unit is used for generating report parameters according to the table structure information, wherein the report parameters comprise at least one of a table head structure subparameter, a table body access logic subparameter, a table tail subparameter, a page head subparameter and a page tail subparameter;
and the third execution unit is used for generating a data set file corresponding to the report application scene based on the report parameters.
6. The apparatus of claim 5, wherein the customization processing unit comprises:
the acquiring subunit is used for acquiring the customer requirement information;
the determining subunit is used for determining the sub-parameters to be adjusted in the report parameters and the adjustment types of the sub-parameters to be adjusted according to the customer requirement information;
and the adjusting sub-unit is used for adjusting each sub-parameter to be adjusted according to the adjustment type of each sub-parameter to be adjusted to obtain the customized report parameters.
7. A storage medium, characterized in that the storage medium comprises storage instructions, wherein when the instructions are executed, the device on which the storage medium is located is controlled to execute the report generation method according to any one of claims 1 to 4.
8. An electronic device comprising a memory and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the one or more processors to perform the report generation method of any of claims 1-4.
CN202111215481.4A 2021-10-19 2021-10-19 Report generation method and device, storage medium and electronic equipment Active CN113935301B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111215481.4A CN113935301B (en) 2021-10-19 2021-10-19 Report generation method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111215481.4A CN113935301B (en) 2021-10-19 2021-10-19 Report generation method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113935301A CN113935301A (en) 2022-01-14
CN113935301B true CN113935301B (en) 2022-07-12

Family

ID=79280277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111215481.4A Active CN113935301B (en) 2021-10-19 2021-10-19 Report generation method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113935301B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109471890A (en) * 2018-10-16 2019-03-15 深圳壹账通智能科技有限公司 Generation method, terminal device and the medium of report file
CN111079398A (en) * 2019-12-13 2020-04-28 蚁安居(天津)网络技术有限公司 Report system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850242A (en) * 2015-12-03 2017-06-13 阿里巴巴集团控股有限公司 A kind of information processing method and device
CN107885709A (en) * 2017-09-29 2018-04-06 深圳市共济科技股份有限公司 A kind of report form generation method, system and storage medium
CN111027300A (en) * 2019-10-30 2020-04-17 厦门天锐科技股份有限公司 Method and device for generating report form in user-defined mode
CN110807002B (en) * 2019-11-05 2022-08-02 杭州安恒信息技术股份有限公司 Report generation method, system and equipment based on workflow and storage medium
CN112463797A (en) * 2020-12-08 2021-03-09 航天信息股份有限公司 Report generation method, system, storage medium and electronic equipment
CN112579656A (en) * 2020-12-14 2021-03-30 中国建设银行股份有限公司 Method and device for generating division schemes
CN112257401B (en) * 2020-12-22 2021-03-19 畅捷通信息技术股份有限公司 Adaptive expansion method and device of data object and storage medium
CN112949276A (en) * 2021-03-31 2021-06-11 中国建设银行股份有限公司 Report generation method and device, electronic equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109471890A (en) * 2018-10-16 2019-03-15 深圳壹账通智能科技有限公司 Generation method, terminal device and the medium of report file
CN111079398A (en) * 2019-12-13 2020-04-28 蚁安居(天津)网络技术有限公司 Report system

Also Published As

Publication number Publication date
CN113935301A (en) 2022-01-14

Similar Documents

Publication Publication Date Title
KR101153002B1 (en) Method, system, and apparatus for providing access to workbook models through remote function calls
US10635408B2 (en) Method and apparatus for enabling agile development of services in cloud computing and traditional environments
CN111512287A (en) Computerized control of execution pipelines
CN106951231B (en) Computer software development method and device
CN113626223A (en) Interface calling method and device
US20110055373A1 (en) Service identification for resources in a computing environment
CN110955801A (en) Knowledge graph analysis method and system for cognos report indexes
CN113935301B (en) Report generation method and device, storage medium and electronic equipment
US11615061B1 (en) Evaluating workload for database migration recommendations
CN112491943A (en) Data request method, device, storage medium and electronic equipment
CN115543428A (en) Simulated data generation method and device based on strategy template
CN113138760B (en) Page generation method and device, electronic equipment and medium
CN111125579B (en) Webpage information processing method and device, storage medium and electronic equipment
CN112597105A (en) Processing method of file associated object, server side equipment and storage medium
CN112883091A (en) Factor data acquisition method and device, computer equipment and storage medium
CN111429125A (en) Account management method and device, storage medium and electronic equipment
CN110502483A (en) Data processing method, device, computer equipment and storage medium
Karpagavalli et al. Strategy tree and fuzzy based cloud SLA change management
CN114697390B (en) XML message processing method and device, storage medium and electronic equipment
CN112559091A (en) Event reporting method and device, computer equipment and storage medium
CN116414707A (en) Test data execution method, device, equipment, medium and product based on API (application program interface) document
CN114924721A (en) Code generation method and device, computer equipment and storage medium
CN106687999B (en) Generating a set of instructions implementing rules designed to update objects specified according to an application data model
CN118051510A (en) Water conservancy data quality detection method, system, device and readable storage medium
CN116301732A (en) Asset architecture analysis method and system for use cases

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant