CN111353283B - Automatic webpage report generation method and generation system - Google Patents

Automatic webpage report generation method and generation system Download PDF

Info

Publication number
CN111353283B
CN111353283B CN202010057492.3A CN202010057492A CN111353283B CN 111353283 B CN111353283 B CN 111353283B CN 202010057492 A CN202010057492 A CN 202010057492A CN 111353283 B CN111353283 B CN 111353283B
Authority
CN
China
Prior art keywords
report
automatically
webpage
information
body structure
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
CN202010057492.3A
Other languages
Chinese (zh)
Other versions
CN111353283A (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.)
Shanghai Oe Biotech Co ltd
Original Assignee
Shanghai Oe Biotech Co 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 Shanghai Oe Biotech Co ltd filed Critical Shanghai Oe Biotech Co ltd
Priority to CN202010057492.3A priority Critical patent/CN111353283B/en
Publication of CN111353283A publication Critical patent/CN111353283A/en
Application granted granted Critical
Publication of CN111353283B publication Critical patent/CN111353283B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides an automatic webpage report generating method, which realizes highly uniform report output and strengthens style uniformity. And automatically generating a word report while generating the webpage report, and automatically inserting a link into the word report to automatically generate a document directory. The generated webpage report is only stored as a single file, so that the data are all stored in the file and presented uniformly, and display errors are avoided. The webpage report is full of various interactive operation contents, and the result can be conveniently checked by a client. The invention also provides an automatic report generation system.

Description

Automatic webpage report generation method and generation system
Technical Field
The invention relates to the technical field of data processing, in particular to an automatic webpage report generating method and system.
Background
Most of the reports of the analysis of the company projects at present are mostly in word or pdf format and lack interactivity. Basically, all companies that can provide a netpage report are report generation methods for a specific project, lack versatility, and have the following drawbacks:
1. the cost is high, manual intervention is needed for generating reports in the prior art, and the consumed labor cost, time cost and risk cost are obviously increased along with the increase of analysis contents;
2. the efficiency is low, the prior art can not realize automatic production, various factors needing to be considered, the report is often required to be sent for tens of minutes to several hours, and meanwhile, the report is also influenced by the resources of a used computer;
3. the generated webpage report comprises a plurality of extra css and js files, and the webpage presentation content is easy to be lost and cause errors in the transmission process;
4. there are no better web page interaction measures such as report interpretation presentation of the start of a report, such as interactive viewing logic of pictures and forms.
Disclosure of Invention
The invention aims to create a novel automatic report generation framework, define a corresponding data structure, be quickly applied to result content presentation of each analysis project, unify output styles, improve automation degree and improve efficiency.
The invention provides an automatic report generation method, which comprises the following steps:
a) defining a reporting model data structure comprising: report information structure and report body structure:
the report information structure comprises initial input information of the report, is used for rendering to the starting position of the webpage report and is used for displaying report content;
the report body structure enables recursive loading;
b) an automated method of reporting inclusion of a body structure, comprising:
the add _ section method is used for automatically adding the sub-body structure, reading the corresponding description information from the configured yaml file according to the name, and automatically rendering the description information into a web page structure or a word structure;
the add _ fig/add _ plot method is used for dynamically increasing the picture results generated in the report, wherein when the corresponding results in the report are matched, universal matching is carried out by using a star number; meanwhile, when a netpage structure of the pictures needs to be generated, the picture sequence and chapters are automatically recorded; the click browsing of the pictures can be realized; when a webpage report structure is generated, the picture elements comprise thumbnails embedded in the webpage and links which point to actual files in a specific report folder for report query;
the add _ table method is used for dynamically adding table files in the webpage report, and the table files can be used for intelligently reading the table files generated by the report; meanwhile, click sequencing of each column in a webpage report can be realized, when the number of rows of a table file is more than 20, a quick search module can be added, and logic is designed for a rolling bar when the content of cells in the table is more;
add _ comment method for adding extra fields between report pictures and tables;
a write _ to method for saving the main result as a web page structure and a word structure;
automatically unfolding the help information when accessing the website page for the first time, and accessing the automatically folded help information again;
the help text display of all areas in the webpage is set to be hovering a mouse to display corresponding text help information;
c) actual production usage logic
Configuring corresponding production documents according to corresponding products, combining scripts, and automatically generating a netpage report according to document contents and logic and display contents set by the method; the relevant interactive content is automatically generated in the report.
Wherein the initial input information comprises a project name, a customer name, a unit and a sample type.
Wherein the body structure contains the following key fields:
the name is used for determining a corresponding chapter;
the description is used for confirming corresponding chapter description information, wherein the description can support input markdown format and is used for more flexible webpage frame presentation;
help _ text is used to display help information;
iv _ results for storing the automatically added report sub-body structures in order;
FAQ is used for automatically storing FAQ information of corresponding chapters and is used for collecting, sorting and displaying the FAQ information in a specific area of a report;
and the reference is used for automatically storing the reference information in the chapter description, and automatically generating reference in a specific area of the report when the report is finally generated and realizing the function of click jump.
Based on the method, the invention also provides an automatic report generation system, which comprises the following modules:
a definition module for defining a reporting model data structure, comprising: a report information structure and a report body structure;
an automation module for reporting automation of the subject structure;
the logic module is used for configuring a corresponding production document according to a corresponding product, combining a script and combining the set logic and display content of the method according to the content of the document to automatically generate a netpage report; the relevant interactive content is automatically generated in the report.
The automatic report generation method and the automatic report generation system realize highly uniform report output and strengthen the style uniformity. And automatically generating a word report while generating the webpage report, and automatically inserting a link into the word report to automatically generate a document directory. The generated webpage report is only stored as a single file, all data are stored in the file and presented uniformly, and display errors are avoided. The webpage report is full of various interactive operation contents, and the result can be conveniently checked by a client.
Drawings
Fig. 1 is a schematic diagram of a webpage report in embodiment 1.
Fig. 2 is a schematic diagram of a webpage report in embodiment 2.
Fig. 3 is a schematic diagram of a webpage report in embodiment 3.
Detailed Description
The invention is further described in detail with reference to the following specific examples and the accompanying drawings. The procedures, conditions, experimental methods and the like for carrying out the present invention are general knowledge and common general knowledge in the art except for the contents specifically mentioned below, and the present invention is not particularly limited.
The automatic report generation method provided by the invention comprises the following steps:
b) definitional report model data structure and related method
c) A report information structure, which contains the initial input information of the report, such as project name, customer name, unit, sample type, and the like, and is finally used for rendering to the starting position of the webpage report for displaying the report content;
d) and the report comprises a key main body structure, and the main body structure can realize recursive loading.
The body structure contains several key fields:
the name is used for determining a corresponding chapter;
the description is used for confirming corresponding chapter description information, wherein the description can support input markdown format and is used for more flexible webpage frame presentation;
help _ text is used to display help information;
iv _resultsis used to store the automatically added report sub-body structures in order,
FAQ is used for automatically storing FAQ information of corresponding chapters and is used for collecting, sorting and displaying the FAQ information in a specific area of a report;
and the reference is used for automatically storing the reference information in the chapter description, and automatically generating reference in a specific area of the report when the report is finally generated and realizing the function of click jump.
The subject structure includes an automated method:
the add _ section method is used for automatically adding a sub-body structure, reading corresponding description information from a configured yaml file according to the name, and automatically rendering the description information into a web page structure or a word structure;
the add _ fig/add _ plot method is used for dynamically increasing picture results generated in the report, wherein when corresponding results in the report are matched, universal matching can be performed by using a # number; meanwhile, when a netpage structure of pictures is generated, the picture sequence and chapters are automatically recorded. The click browsing of the pictures can be realized. When generating a web page report structure, the picture elements contain thumbnails embedded in the web page and links to the actual files in the specific report folder for the report query.
And the add _ table method is used for dynamically adding table files in the webpage report, and the table files can be used for intelligently reading the table files generated by the report. Meanwhile, click sequencing of each column in a webpage report can be realized, when the number of rows of the table file is more than 20, a quick search module can be added, and logic is designed for a scroll bar when the content of cells in the table is more.
Add _ comment method is used to add additional fields between report pictures and tables.
The write _ to method is used to save the subject results as a web page structure and a word structure.
Actual production usage logic
According to the corresponding product, the corresponding production document is configured, and in combination with the script, the netpage report can be automatically generated according to the document content in combination with the logic and display content set by the method. The relevant interactive content is automatically generated in the report.
The invention provides an automatic report generation system, which comprises the following modules:
a definition module for defining a reporting model data structure, comprising: a report information structure and a report body structure;
an automation module for reporting automation of the subject structure;
the logic module is used for configuring a corresponding production document according to a corresponding product, combining a script and combining the set logic and display content of the method according to the content of the document to automatically generate a netpage report; the relevant interactive content is automatically generated in the report.
Example 1
The webpage report of the conventional project of the Ouyi biological Agilent chip (corresponding to FIG. 1).
1. Preparation work
a) Preprocessing document information;
b) extracting and corresponding the document information of the analysis module, such as name correspondence, description information correspondence, help information correspondence, picture information processing, table information processing and annotation information processing;
2. analytical procedure
a) After the analysis process 1 is finished, extracting data of the preprocessing information to generate an analysis process document 1;
b) after the analysis process 2 is finished, extracting data of the preprocessed information to generate an analysis process document 2;
c) by analogy, after each analysis process is finished, generating a document of the corresponding process;
3. report generation
a) Automatically integrating each process document obtained based on the analysis process into a finished webpage report;
b) and converting the report into a corresponding document report based on the webpage.
4. The embodiment is mainly used for generating the document and integrating and combining the existing flow for use.
Example 2
A web page report of the euryoyi organism whole transcriptome project (corresponding to fig. 2).
1. Preparation work
a) Preprocessing document information;
b) extracting and corresponding the document information of the analysis module, such as name correspondence, description information correspondence, help information correspondence, picture information processing, table information processing and annotation information processing;
2. analytical procedure
a) The analysis process automatically generates corresponding results according to preset scripts respectively;
3. document generation
a) Automatically extracting document information in preparation work according to a document result generated in the analysis process, and generating each document module;
4. report generation
a) Automatically integrating each process document obtained based on the analysis process into a finished webpage report;
b) and converting the report into a corresponding document report based on the webpage.
5. The method is mainly used for combining the existing analysis process with the document generated by the automatic report.
Example 3
Automated web reporting of the ouyi biocontrol project (corresponding to fig. 3).
1. Preparation (none)
2. Analysis process and document generation
a) The document content can be flexibly integrated with each quality control step in the analysis process;
b) after the analysis is finished, generating a document module in each step;
3. report generation
a) Automatically integrating each process document obtained based on the analysis process into a finished webpage report;
b) and converting the report into a corresponding document report based on the webpage.
4. The embodiment is mainly used for generating and using personalized or customized module analysis documents.
The protection of the present invention is not limited to the above embodiments. Variations and advantages that may occur to those skilled in the art may be incorporated into the invention without departing from the spirit and scope of the inventive concept, and the scope of the appended claims is intended to be protected.

Claims (5)

1. An automated webpage report generating method, comprising the steps of:
a) defining a reporting model data structure comprising: report information structure and report body structure:
the report information structure comprises initial input information of the report, is used for rendering to the starting position of the webpage report and is used for displaying report content;
the report body structure enables recursive loading; the report body structure contains the following key fields:
the name is used for determining a corresponding chapter;
a description is used to confirm the corresponding section description information, wherein the description supports the input markdown format for more flexible web page frame presentation;
help _ text is used to display help information;
iv _resultsfor storing the automatically added report sub-body structures in order;
v, FAQ is used for automatically storing FAQ information of corresponding chapters, and is used for collecting, sorting and displaying on a report;
the reference is used for automatically storing reference information in chapter description, automatically generating reference on a report when the report is finally generated, and realizing the function of click jump;
b) an automated method of reporting inclusion of a body structure, comprising:
automatically unfolding the help information when accessing the website page for the first time, and accessing the automatically folded help information again;
the help text display of all areas in the webpage is set to be hovering a mouse to display corresponding text help information;
the add _ section method is used for automatically adding the sub-body structure, reading the corresponding description information from the configured yaml file according to the name, and automatically rendering the description information into a web page structure;
the add _ fig/add _ plot method is used for dynamically increasing the picture result generated in the report; when the picture results in the report are matched, universal matching is carried out by using the star number; meanwhile, when a netpage structure of the pictures needs to be generated, the picture sequence and chapters are automatically recorded; the click browsing of the pictures can be realized; when a webpage report structure is generated, the picture elements comprise thumbnails and links embedded in the webpage; the link points to an actual file in a specific report folder for report querying;
the add _ table method is used for dynamically adding table files in the webpage report, and the table files are used for intelligently reading the table files generated by the report; meanwhile, click sorting of each column in the webpage report can be realized, and when the number of rows of the table file is more than 20, a quick search module can be added; when the content of the cells in the table is more, the design of a scroll bar is added;
c) actual production and use logic:
configuring a production document corresponding to a product according to the product, combining a script, and automatically generating a webpage report according to the content of the production document, and combining a set report model data structure, an automatic method contained in a report main body structure and display content; interactive content is automatically generated in the report.
2. The automated web page report generation method of claim 1, wherein the initial input information includes a project name, a customer name, a unit, a sample type.
3. The automated web page report generation method of claim 1, wherein the report body structure comprises an automated method further comprising: add _ comment method to add extra fields between report pictures and tables.
4. The automated web page report generation method of claim 1, wherein the report body structure comprises an automated method further comprising: a write _ to method for saving the subject results as a web page structure.
5. An automated web report generation system, characterized in that it employs the method according to any one of claims 1-4, said system comprising the following modules:
a definition module for defining a reporting model data structure, comprising: a report information structure and a report body structure;
an automation module for reporting automation of the subject structure;
the logic module is used for configuring a production document corresponding to a product according to the product, combining a script, and automatically generating a webpage report according to the content of the production document, the set report model data structure, the automatic method contained in the report main body structure and the display content; interactive content is automatically generated in the report.
CN202010057492.3A 2020-01-19 2020-01-19 Automatic webpage report generation method and generation system Active CN111353283B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010057492.3A CN111353283B (en) 2020-01-19 2020-01-19 Automatic webpage report generation method and generation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010057492.3A CN111353283B (en) 2020-01-19 2020-01-19 Automatic webpage report generation method and generation system

Publications (2)

Publication Number Publication Date
CN111353283A CN111353283A (en) 2020-06-30
CN111353283B true CN111353283B (en) 2021-09-10

Family

ID=71195686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010057492.3A Active CN111353283B (en) 2020-01-19 2020-01-19 Automatic webpage report generation method and generation system

Country Status (1)

Country Link
CN (1) CN111353283B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112446197B (en) * 2020-11-26 2024-02-02 宁波九寰适创科技有限公司 Automatic standardized report generation method for industrial application

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976235A (en) * 2010-09-21 2011-02-16 天津神舟通用数据技术有限公司 Extensible Word report automatically-generating method based on dynamic web page
CN103019556A (en) * 2012-11-21 2013-04-03 用友软件股份有限公司 Quick help information display system and quick help information display method
CN107358023A (en) * 2017-06-06 2017-11-17 沈阳东软医疗系统有限公司 Generate medical report, method, system and the equipment of interaction medical report

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9208141B2 (en) * 2010-02-05 2015-12-08 Oracle International Corporation Generating and displaying active reports

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976235A (en) * 2010-09-21 2011-02-16 天津神舟通用数据技术有限公司 Extensible Word report automatically-generating method based on dynamic web page
CN103019556A (en) * 2012-11-21 2013-04-03 用友软件股份有限公司 Quick help information display system and quick help information display method
CN107358023A (en) * 2017-06-06 2017-11-17 沈阳东软医疗系统有限公司 Generate medical report, method, system and the equipment of interaction medical report

Also Published As

Publication number Publication date
CN111353283A (en) 2020-06-30

Similar Documents

Publication Publication Date Title
US11580011B2 (en) Operation verifying apparatus, operation verifying method and operation verifying system
US9495347B2 (en) Systems and methods for extracting table information from documents
Weinschenk et al. GUI design essentials: for Windows 95, Windows 3.1, World Wide Web
US9892094B2 (en) Electronic book pagination
US20080084573A1 (en) System and method for relating unstructured data in portable document format to external structured data
AU2009238294B2 (en) Data transformation based on a technical design document
US10366154B2 (en) Information processing device, information processing method, and computer program product
US20130262968A1 (en) Apparatus and method for efficiently reviewing patent documents
CN112597182B (en) Optimization method, device, terminal and storage medium of data query statement
US20110191381A1 (en) Interactive System for Extracting Data from a Website
CN111753501A (en) Method for merging OFD (office file format) files and displaying quick reading
US7720814B2 (en) Repopulating a database with document content
US11934774B2 (en) Systems and methods for generating social assets from electronic publications
CN103559184A (en) Form page display method and device
US20160188584A1 (en) System for tracking and displaying changes in a set of related electronic documents.
US8260772B2 (en) Apparatus and method for displaying documents relevant to the content of a website
US20070043689A1 (en) Lightweight generic report generation tool
CN102737030A (en) Patent document data outputting method, terminal and system
US8615733B2 (en) Building a component to display documents relevant to the content of a website
CN111353283B (en) Automatic webpage report generation method and generation system
CN112181410A (en) View layer code generation method and device, electronic equipment and storage medium
CN112613287A (en) Data list display method, device, equipment and storage medium
CN101464875A (en) Method for representing electronic dictionary catalog data by XML
US10650020B1 (en) Analyzing transformations for preprocessing datasets
JP2013037580A (en) Information processor

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Xiao Yunping

Inventor after: Wu Xuebiao

Inventor after: Wang Shuwei

Inventor after: Shi Xianjun

Inventor after: Lin Bo

Inventor after: Liu Yuchuan

Inventor before: Wang Shuwei

Inventor before: Xiao Yunping

Inventor before: Shi Xianjun

Inventor before: Lin Bo

Inventor before: Wu Xuebiao

GR01 Patent grant
GR01 Patent grant