CN113778944A - Analysis report generation method and device and electronic equipment - Google Patents

Analysis report generation method and device and electronic equipment Download PDF

Info

Publication number
CN113778944A
CN113778944A CN202110985176.7A CN202110985176A CN113778944A CN 113778944 A CN113778944 A CN 113778944A CN 202110985176 A CN202110985176 A CN 202110985176A CN 113778944 A CN113778944 A CN 113778944A
Authority
CN
China
Prior art keywords
data
report
format
processed
preview
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.)
Pending
Application number
CN202110985176.7A
Other languages
Chinese (zh)
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 Personal Medicine Laboratory Co ltd
Original Assignee
Shanghai Personal Medicine Laboratory 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 Personal Medicine Laboratory Co ltd filed Critical Shanghai Personal Medicine Laboratory Co ltd
Priority to CN202110985176.7A priority Critical patent/CN113778944A/en
Publication of CN113778944A publication Critical patent/CN113778944A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/116Details of conversion of file system types or formats
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • 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
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16BBIOINFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR GENETIC OR PROTEIN-RELATED DATA PROCESSING IN COMPUTATIONAL MOLECULAR BIOLOGY
    • G16B45/00ICT specially adapted for bioinformatics-related data visualisation, e.g. displaying of maps or networks

Abstract

The invention relates to the technical field of computers, in particular to an analysis report generation method, an analysis report generation device and electronic equipment, wherein the analysis report generation method comprises the following steps: acquiring data to be processed, and judging the data type of the data to be processed to obtain the data type of the data to be processed; matching a corresponding processing mode according to the data type of the data to be processed, and processing the data to be processed through the corresponding processing mode to obtain report data; acquiring a report form preview request of a user, reading the report form data according to the report form preview request, and converting the report form data into preview data in a preset format; and acquiring a report generation request of a user, reading the preview data according to the report generation request, loading a preset report template, and generating an analysis report. The invention can automatically generate the analysis report, and can specify the layout format of the analysis report according to the user requirement, thereby realizing high customization.

Description

Analysis report generation method and device and electronic equipment
Technical Field
The invention relates to the technical field of computers, in particular to an analysis report generation method, an analysis report generation device and electronic equipment.
Background
Among the genetic sequencing analysis services, the analysis report is one of the most important outcomes. However, at present, there is no relatively mature analysis report generation and export system, and the mainstream method is that an analysis service provider applies a template to generate a report offline and delivers the report to a user through a storage medium such as a U disk and a hard disk or a third party such as a network disk mailbox.
The defects and shortcomings of the prior art are as follows:
(1) the customization degree is low: because the template is used in an off-line mode, customization basically does not exist, and the customization requirement of the user can be realized only by contacting the analysis service provider and generating the report form again by the analysis service provider and then delivering the report form for the second time.
(2) The difficulty of adjusting the content is large: similarly, because the analysis service provider makes an offline template, when the user wants to modify a certain picture or a certain section of content in the report, the user can only contact the analysis service provider to regenerate the report and deliver the report again.
(3) The delivery mode is complicated and unsafe: the common delivery mode is storage media such as an optical disc and a U disc, or third-party services such as a network disc and a mailbox. The physical storage medium has a damage risk during mailing, and the third-party service has information safety hidden danger. In addition, in either way, the implementation process is quite complicated.
Disclosure of Invention
The invention provides an analysis report generation method, an analysis report generation device and electronic equipment, which are used for automatically generating an analysis report, and can specify the layout format of the analysis report according to the user requirements, so that high customization is realized.
An embodiment of the present specification provides an analysis report generation method, including:
acquiring data to be processed, and judging the data type of the data to be processed to obtain the data type of the data to be processed;
matching a corresponding processing mode according to the data type of the data to be processed, and processing the data to be processed through the corresponding processing mode to obtain report data;
acquiring a report form preview request of a user, reading the report form data according to the report form preview request, and converting the report form data into preview data in a preset format;
and acquiring a report generation request of a user, reading the preview data according to the report generation request, loading a preset report template, and generating an analysis report.
Preferably, the processing the data to be processed by the corresponding processing method includes:
when the data type of the data to be processed is in a mixed format, correcting the data corresponding to the SVG format in the mixed format, and converting the corrected data corresponding to the SVG format into a first PNG picture through a graphic database;
converting data corresponding to an HTML format in the mixed format through a picture rendering library to generate a second PNG picture;
and merging the first PNG picture and the second PNG picture through a picture merging channel.
Preferably, the processing the data to be processed by the corresponding processing method further includes:
and when the data type of the data to be processed is in a table format, converting the data corresponding to the table format into a TSV format.
Preferably, the correcting the data corresponding to the SVG format in the hybrid format includes:
and carrying out style modification, attribute modification and background color addition on the data corresponding to the SVG format in the mixed format.
Preferably, the generating an analysis report includes:
generating a skippable directory according to the read preview data, and loading a target cover;
and splicing the read preview data into the preset report template, loading a target report style, and generating an analysis report.
Preferably, the method further comprises the following steps:
and downloading the analysis report by calling a report downloading interface.
An embodiment of the present specification further provides an analysis report generation apparatus, including:
the information acquisition module is used for acquiring data to be processed and judging the data type of the data to be processed to obtain the data type of the data to be processed;
the data processing module is used for matching a corresponding processing mode according to the data type of the data to be processed and processing the data to be processed through the corresponding processing mode to obtain report data;
the data conversion module is used for acquiring a report preview request of a user, reading the report data according to the report preview request and converting the report data into preview data in a preset format;
and the report generation module is used for acquiring a report generation request of a user, reading the preview data according to the report generation request, loading a preset report template and generating an analysis report.
Preferably, the data processing module includes:
the first data conversion unit is used for correcting data corresponding to the SVG format in the mixed format when the data type of the data to be processed is in the mixed format, and converting the corrected data corresponding to the SVG format into a first PNG picture through a graphic database;
the second data conversion unit is used for converting the data corresponding to the HTML format in the mixed format through a picture rendering library to generate a second PNG picture;
a merging unit, configured to merge the first PNG picture and the second PNG picture through a picture merging channel.
An electronic device, wherein the electronic device comprises:
a processor and a memory storing a computer executable program which, when executed, causes the processor to perform any of the methods described above.
A computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement the method of any of the above.
The invention can process and analyze different types of data, realizes automatic generation of analysis reports, can confirm whether the data is required by the user through report form preview, and further realizes high customization through self-defining selection of templates, covers and the like.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a schematic diagram of an analysis report generation method provided in an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of an analysis report generation apparatus provided in an embodiment of the present specification;
fig. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a computer-readable medium provided in an embodiment of the present specification.
Detailed Description
Exemplary embodiments of the present invention will now be described more fully with reference to the accompanying drawings. The exemplary embodiments, however, may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the invention to those skilled in the art. The same reference numerals denote the same or similar elements, components, or parts in the drawings, and thus their repetitive description will be omitted.
Features, structures, characteristics or other details described in a particular embodiment do not preclude the fact that the features, structures, characteristics or other details may be combined in a suitable manner in one or more other embodiments in accordance with the technical idea of the invention.
In describing particular embodiments, the present invention has been described with reference to features, structures, characteristics or other details that are within the purview of one skilled in the art to provide a thorough understanding of the embodiments. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific features, structures, characteristics, or other details.
The diagrams depicted in the figures are exemplary only, and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The term "and/or" and/or "includes all combinations of any one or more of the associated listed items.
Referring to fig. 1, a schematic diagram of an analysis report generation method provided in an embodiment of the present disclosure includes:
s101: acquiring data to be processed, and judging the data type of the data to be processed to obtain the data type of the data to be processed;
in the preferred embodiment of the present invention, the source data to be generated into the analysis report is imported into the system, the system will first determine the type of the source data, and different data types will be processed by different processing methods, so as to realize the processing capability for multiple data types, thereby facilitating the generation of the subsequent analysis report.
S102: matching a corresponding processing mode according to the data type of the data to be processed, and processing the data to be processed through the corresponding processing mode to obtain report data;
in a preferred embodiment of the present invention, the data to be processed can be divided into a plurality of types, including a table format, a PNG format, an SVG format, a mixture of an SVG format and an HTML format, and the like, and when data processing is performed, different data types can be matched with corresponding processing modes to process different types of data, and after the data is processed, report data can be obtained, and the report data is uploaded to the cache area. The processing of different data is realized through the above mode.
S103: acquiring a report form preview request of a user, reading the report form data according to the report form preview request, and converting the report form data into preview data in a preset format;
in a preferred embodiment of the present invention, when a report preview request initiated by a user is received, the system traverses the report data in the cache area, obtains the required report data, organizes chapter information, picture information and table information in the report data into json data in a specified format, and returns the result to the request end. By the method, the report can be previewed, when the content of the report needs to be adjusted, the report can be directly and manually adjusted, high customization is achieved, and the method is used for previewing the content of the report and generating the catalog at the requesting terminal.
S104: and acquiring a report generation request of a user, reading the preview data according to the report generation request, loading a preset report template, and generating an analysis report.
In a preferred embodiment of the invention, when a report generation request initiated by a user is received, a system loads an html template, generates a skippable directory according to the preview data obtained in the previous step, loads a cover page specified by the user, splices the preview data into the html template, loads a user-defined report style or page attribute specified by the user, and finally renders to generate a PDF analysis report and caches the PDF analysis report to a report cache region. By the method, high customization is realized, reports of types required by users can be obtained, report forms or contents can be modified conveniently, and an after-sale service process of contacting with a service provider is omitted.
Further, the processing the data to be processed by the corresponding processing manner includes:
when the data type of the data to be processed is in a mixed format, correcting the data corresponding to the SVG format in the mixed format, and converting the corrected data corresponding to the SVG format into a first PNG picture through a graphic database;
converting data corresponding to an HTML format in the mixed format through a picture rendering library to generate a second PNG picture;
and merging the first PNG picture and the second PNG picture through a picture merging channel.
In the preferred embodiment of the invention, when the data type of the data to be processed is the mixed type of the SVG format and the HTML format, the data corresponding to the SVG format is corrected, and the correction content comprises style modification, attribute modification, background color addition and the like of the cascading style sheet. And then converting the corrected data into a first PNG picture through an image database, converting the data corresponding to the HTML format into a second PNG picture through an image rendering library, and finally merging the first PNG picture and the second PNG picture through a merging channel so as to obtain report data of the data corresponding to the mixed type. By the method, the data corresponding to the mixed types can be processed.
Further, the processing the data to be processed by the corresponding processing method further includes:
and when the data type of the data to be processed is in a table format, converting the data corresponding to the table format into a TSV format.
In the preferred embodiment of the present invention, when the data type of the data to be processed is in the table format, the data is uniformly converted into the data in the TSV format, and then stored in the cache region. The data in the form format type is processed in the mode.
Further, the correcting the data corresponding to the SVG format in the hybrid format includes:
and carrying out style modification, attribute modification and background color addition on the data corresponding to the SVG format in the mixed format.
Further, the generating an analysis report includes:
generating a skippable directory according to the read preview data, and loading a target cover;
and splicing the read preview data into the preset report template, loading a target report style, and generating an analysis report.
Further, still include:
and downloading the analysis report by calling a report downloading interface.
In the preferred embodiment of the invention, the user can directly download the generated analysis report through the report downloading interface, and simultaneously clear the information related to the analysis report in the report cache area, thereby preventing the risk of data leakage.
In the preferred embodiment of the present invention, after data is added, the data type is determined, and when the data is a table, the data is uploaded to the designated user data area after the format is uniformly converted into the TSV format. When the added data type is a PNG map, the data is directly uploaded to the specified user data area. When the type of the added data is the SVG image, the SVG data can be corrected firstly, and the method comprises the following steps: css style modification, viewbox attribute modification, baseline attribute modification, adding background colors, and so forth. And converting the corrected SVG data into a PNG picture through a rendering engine library. Then, whether the input data has data corresponding to the HTML format is determined, if not, the picture format conversion is completed, and the converted PNG picture is uploaded to a specified user data area; if the input data contains data corresponding to the HTML format, the data corresponding to the HTML format is converted into a PNG picture by using a rendering engine library. And then combining the two PNG pictures (respectively generated from the SVG data and the HTML data) through a combining channel to obtain a PNG picture with a final result, and uploading the PNG picture to a specified user data area. When the report form preview request arrives, the system traverses the user cache region, organizes chapter information, picture information and table information into json data in a specified format and returns the json data to the request terminal. When an analysis report is requested to be generated, the system loads an html template, generates a skip directory according to the input data, loads a cover page specified in advance, and splices the input report content into the template. Then, the report style (page attribute, etc.) defined in advance is loaded. And finally, rendering by using a rendering engine library to generate a PDF report, and calling a downloading interface to download the report through a request terminal.
Fig. 2 is a schematic structural diagram of an analysis report generation apparatus provided in an embodiment of the present specification, including:
the information obtaining module 201 is configured to obtain data to be processed, and perform data type judgment on the data to be processed to obtain a data type of the data to be processed;
the data processing module 202 is configured to match a corresponding processing mode according to a data type of the to-be-processed data, and process the to-be-processed data through the corresponding processing mode to obtain report data;
the data conversion module 203 is configured to obtain a report preview request of a user, read the report data according to the report preview request, and convert the report data into preview data in a preset format;
the report generating module 204 is configured to obtain a report generating request of a user, read the preview data according to the report generating request, load a preset report template, and generate an analysis report.
Further, the data processing module 202 includes:
the first data conversion unit is used for correcting data corresponding to the SVG format in the mixed format when the data type of the data to be processed is in the mixed format, and converting the corrected data corresponding to the SVG format into a first PNG picture through a graphic database;
the second data conversion unit is used for converting the data corresponding to the HTML format in the mixed format through a picture rendering library to generate a second PNG picture;
a merging unit, configured to merge the first PNG picture and the second PNG picture through a picture merging channel.
The functions of the apparatus in the embodiment of the present invention have been described in the above method embodiments, so that reference may be made to the related descriptions in the foregoing embodiments for details that are not described in the present embodiment, and further details are not described herein.
Based on the same inventive concept, the embodiment of the specification further provides the electronic equipment.
In the following, embodiments of the electronic device of the present invention are described, which may be regarded as specific physical implementations for the above-described embodiments of the method and apparatus of the present invention. Details described in the embodiments of the electronic device of the invention should be considered supplementary to the embodiments of the method or apparatus described above; for details which are not disclosed in embodiments of the electronic device of the invention, reference may be made to the above-described embodiments of the method or the apparatus.
Fig. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present specification. An electronic device 300 according to this embodiment of the invention is described below with reference to fig. 3. The electronic device 300 shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 3, electronic device 300 is embodied in the form of a general purpose computing device. The components of electronic device 300 may include, but are not limited to: at least one processing unit 310, at least one memory unit 320, a bus 330 connecting different device components (including the memory unit 320 and the processing unit 310), a display unit 340, and the like.
Wherein the storage unit stores program code executable by the processing unit 310 to cause the processing unit 310 to perform the steps according to various exemplary embodiments of the present invention described in the above-mentioned processing method section of the present specification. For example, the processing unit 310 may perform the steps as shown in fig. 1.
The storage unit 320 may include readable media in the form of volatile storage units, such as a random access memory unit (RAM)3201 and/or a cache storage unit 3202, and may further include a read only memory unit (ROM) 3203.
The storage unit 320 may also include a program/utility 3204 having a set (at least one) of program modules 3205, such program modules 3205 including, but not limited to: an operating device, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 330 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 300 may also communicate with one or more external devices 400 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 300, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 300 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 350. Also, the electronic device 300 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 360. Network adapter 360 may communicate with other modules of electronic device 300 via bus 330. It should be appreciated that although not shown in FIG. 3, other hardware and/or software modules may be used in conjunction with electronic device 300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID devices, tape drives, and data backup storage devices, to name a few.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments of the present invention described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to make a computing device (which can be a personal computer, a server, or a network device, etc.) execute the above-mentioned method according to the present invention. The computer program, when executed by a data processing apparatus, enables the computer readable medium to implement the above-described method of the invention, namely: such as the method shown in fig. 1.
Fig. 4 is a schematic diagram of a computer-readable medium provided in an embodiment of the present disclosure.
A computer program implementing the method shown in fig. 1 may be stored on one or more computer readable media. The computer readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor device, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution apparatus, device, or apparatus. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In summary, the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functionality of some or all of the components in embodiments in accordance with the invention may be implemented in practice using a general purpose data processing device such as a microprocessor or a Digital Signal Processor (DSP). The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
While the foregoing embodiments have described the objects, aspects and advantages of the present invention in further detail, it should be understood that the present invention is not inherently related to any particular computer, virtual machine or electronic device, and various general-purpose machines may be used to implement the present invention. The invention is not to be considered as limited to the specific embodiments thereof, but is to be understood as being modified in all respects, all changes and equivalents that come within the spirit and scope of the invention.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. An analysis report generation method, comprising:
acquiring data to be processed, and judging the data type of the data to be processed to obtain the data type of the data to be processed;
matching a corresponding processing mode according to the data type of the data to be processed, and processing the data to be processed through the corresponding processing mode to obtain report data;
acquiring a report form preview request of a user, reading the report form data according to the report form preview request, and converting the report form data into preview data in a preset format;
and acquiring a report generation request of a user, reading the preview data according to the report generation request, loading a preset report template, and generating an analysis report.
2. The analysis report generation method according to claim 1, wherein said processing the data to be processed by the corresponding processing manner includes:
when the data type of the data to be processed is in a mixed format, correcting the data corresponding to the SVG format in the mixed format, and converting the corrected data corresponding to the SVG format into a first PNG picture through a graphic database;
converting data corresponding to an HTML format in the mixed format through a picture rendering library to generate a second PNG picture;
and merging the first PNG picture and the second PNG picture through a picture merging channel.
3. The analysis report generation method according to claim 1, wherein said processing said data to be processed by said corresponding processing means further comprises:
and when the data type of the data to be processed is in a table format, converting the data corresponding to the table format into a TSV format.
4. The analytic report generation method of claim 2, wherein the correcting data corresponding to the SVG format in the mixed format comprises:
and carrying out style modification, attribute modification and background color addition on the data corresponding to the SVG format in the mixed format.
5. The analysis report generation method of claim 1, wherein said generating an analysis report comprises:
generating a skippable directory according to the read preview data, and loading a target cover;
and splicing the read preview data into the preset report template, loading a target report style, and generating an analysis report.
6. The analysis report generation method of claim 1, further comprising:
and downloading the analysis report by calling a report downloading interface.
7. An analysis report generation apparatus, comprising:
the information acquisition module is used for acquiring data to be processed and judging the data type of the data to be processed to obtain the data type of the data to be processed;
the data processing module is used for matching a corresponding processing mode according to the data type of the data to be processed and processing the data to be processed through the corresponding processing mode to obtain report data;
the data conversion module is used for acquiring a report preview request of a user, reading the report data according to the report preview request and converting the report data into preview data in a preset format;
and the report generation module is used for acquiring a report generation request of a user, reading the preview data according to the report generation request, loading a preset report template and generating an analysis report.
8. The analysis report generation apparatus according to claim 7, wherein the data processing module comprises:
the first data conversion unit is used for correcting data corresponding to the SVG format in the mixed format when the data type of the data to be processed is in the mixed format, and converting the corrected data corresponding to the SVG format into a first PNG picture through a graphic database;
the second data conversion unit is used for converting the data corresponding to the HTML format in the mixed format through a picture rendering library to generate a second PNG picture;
a merging unit, configured to merge the first PNG picture and the second PNG picture through a picture merging channel.
9. An electronic device, wherein the electronic device comprises:
a processor and a memory storing a computer executable program, which when executed, causes the processor to perform the method of any one of claims 1-6.
10. A computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement the method of any of claims 1-6.
CN202110985176.7A 2021-08-25 2021-08-25 Analysis report generation method and device and electronic equipment Pending CN113778944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110985176.7A CN113778944A (en) 2021-08-25 2021-08-25 Analysis report generation method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110985176.7A CN113778944A (en) 2021-08-25 2021-08-25 Analysis report generation method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN113778944A true CN113778944A (en) 2021-12-10

Family

ID=78839228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110985176.7A Pending CN113778944A (en) 2021-08-25 2021-08-25 Analysis report generation method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113778944A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115658838A (en) * 2022-11-18 2023-01-31 山东省地图院 Map set data generation method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104636393A (en) * 2013-11-13 2015-05-20 航天信息股份有限公司 Self-adaptation report form establishing method based on user self-definition behavior analysis
CN107358023A (en) * 2017-06-06 2017-11-17 沈阳东软医疗系统有限公司 Generate medical report, method, system and the equipment of interaction medical report
CN107977351A (en) * 2017-12-28 2018-05-01 平安科技(深圳)有限公司 Electronic report forms generation method, device, computer equipment and storage medium
CN109712683A (en) * 2018-12-17 2019-05-03 上海派森诺医学检验所有限公司 A kind of examining report generation method of automation
CN111553137A (en) * 2020-03-30 2020-08-18 平安医疗健康管理股份有限公司 Report generation method and device, storage medium and computer equipment
CN111651966A (en) * 2020-06-04 2020-09-11 航天科工智慧产业发展有限公司 Data report file generation method and device and electronic equipment
CN111695329A (en) * 2020-06-12 2020-09-22 深圳前海微众银行股份有限公司 Universal report generation method and device
CN111768823A (en) * 2020-05-28 2020-10-13 上海森亿医疗科技有限公司 SVG element-based medical expression editing method, device, equipment and medium
CN112287650A (en) * 2020-10-23 2021-01-29 中国石油天然气集团有限公司 Intelligent generation method, system and device for well logging interpretation report

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104636393A (en) * 2013-11-13 2015-05-20 航天信息股份有限公司 Self-adaptation report form establishing method based on user self-definition behavior analysis
CN107358023A (en) * 2017-06-06 2017-11-17 沈阳东软医疗系统有限公司 Generate medical report, method, system and the equipment of interaction medical report
CN107977351A (en) * 2017-12-28 2018-05-01 平安科技(深圳)有限公司 Electronic report forms generation method, device, computer equipment and storage medium
CN109712683A (en) * 2018-12-17 2019-05-03 上海派森诺医学检验所有限公司 A kind of examining report generation method of automation
CN111553137A (en) * 2020-03-30 2020-08-18 平安医疗健康管理股份有限公司 Report generation method and device, storage medium and computer equipment
CN111768823A (en) * 2020-05-28 2020-10-13 上海森亿医疗科技有限公司 SVG element-based medical expression editing method, device, equipment and medium
CN111651966A (en) * 2020-06-04 2020-09-11 航天科工智慧产业发展有限公司 Data report file generation method and device and electronic equipment
CN111695329A (en) * 2020-06-12 2020-09-22 深圳前海微众银行股份有限公司 Universal report generation method and device
CN112287650A (en) * 2020-10-23 2021-01-29 中国石油天然气集团有限公司 Intelligent generation method, system and device for well logging interpretation report

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
风火轮小组: "《XML从入门到精通》", 大恒电子出版社, pages: 162 - 168 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115658838A (en) * 2022-11-18 2023-01-31 山东省地图院 Map set data generation method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107832045B (en) Method and apparatus for cross programming language interface conversion
US7853253B2 (en) System and method of regulating data traffic between a client device and a server
US8290974B2 (en) System for handling graphics
WO2002084638A1 (en) System, method and apparatus for converting and integrating media files
WO2022053004A1 (en) Mail processing method and apparatus, and electronic device, and computer readable medium
US9729672B2 (en) Collaborative editing
CN111752561B (en) Block development method, block sharing method, page building method and page building system
CN110795649A (en) Target page display method, device and system and electronic equipment
CN110795181A (en) Application program interface display method and device based on skip protocol and electronic equipment
CN112584250A (en) Video preview method and device, terminal equipment and storage medium
CN113778944A (en) Analysis report generation method and device and electronic equipment
US9043243B2 (en) System and method of generating a media package for ingesting into an on-line downloading application
CN114756228A (en) Page processing method, device, equipment and storage medium
US20060010123A1 (en) Method and system for a batch parser
CN113282852A (en) Method and device for editing webpage
WO2022184077A1 (en) Document editing method and apparatus, and terminal and non-transitory storage medium
CN110728593A (en) Case planning method and device, electronic device, and storage medium
CN110647327A (en) Method and device for dynamic control of user interface based on card
CN108021317B (en) Method and device for screen editing
CN112367399B (en) Filter effect generation method and device, electronic device and storage medium
CN109901934A (en) The method and apparatus for generating interface help document
CN111179164A (en) Method and device for generating thumbnail
CN113254019A (en) Method and device for registering front-end data stream state file
CN111190599A (en) Method and device for realizing android self-defined soft keyboard by using Dialog and electronic equipment
CN112468543B (en) Method, device, equipment and computer readable medium for publishing information

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