Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for generating self-defined report and terminal

A custom report and terminal technology, applied in the field of data processing, can solve the problems of not wanting to display, reduce development efficiency, difficult code maintenance, etc., and achieve the effect of reducing workload and easy maintenance

Pending Publication Date: 2018-09-14
FUJIAN RONGJI SOFTWARE ENG CO LTD
View PDF14 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In most systems, regarding the design of form output, most of them use fixed template files to output data, but in the process of use, users often want to output the form data they need, and the format is not fixed, and some information users want in It is reflected in the table, but it is not in the template, or the user does not want to display some content in the template, so that the user cannot obtain the desired data report. If the template file is used for output, the template needs to be redefined, and the file output of the new template needs to be developed. Personnel rewrite the code corresponding to the file output, which increases the workload of the developer and makes it difficult to maintain the code later
[0003] Therefore, the current report generation process has the following defects: for developers, in the case that the template cannot be changed, in order to meet the user's needs, they can only create another set of templates for the user, and need to rewrite a set of report data output programs for the new template code, which wastes developers' time and reduces development efficiency, and rewriting code is not conducive to later code maintenance

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for generating self-defined report and terminal
  • Method for generating self-defined report and terminal
  • Method for generating self-defined report and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0074] Please refer to figure 2 , Embodiment 1 of the present invention is:

[0075] A custom report generation method, including steps:

[0076] S1. Define script writing rules and script syntax;

[0077] Script writing adopts the method of script chain programming for script writing, and multiple operations are linked together through '.' to form a code, making the code easy to read and easy to write.

[0078] Chain coding also has many grammar rules, such as:

[0079] Basic grammar rule 1, the format is: Target>cds

[0080] For example: $variable1>cds.sql("Select Field1, Field2, Field3From Table Where Id=${$number}").

[0081] This syntax only allows single-line descriptions and does not allow cross-lines. Among them, ">" is used as a separator; "cds" is the abbreviation of "chain dataset", which usually performs a series of operations on the data, and the data processing in cds The method is divided into: data acquisition, data processing, and assignment; it is not a...

Embodiment 3

[0115] Please refer to Figure 4 , the third embodiment of the present invention is:

[0116] A terminal 1 for generating custom reports, comprising a first memory 2, a first processor 3, and a first computer program stored in the first memory 2 and operable on the first processor 3, the The first processor 3 implements the following steps when executing the first computer program:

[0117] S1. Define script writing rules and script syntax;

[0118] Script writing adopts the method of script chain programming for script writing, and multiple operations are linked together through '.' to form a code, making the code easy to read and easy to write.

[0119] Chain coding also has many grammar rules, such as:

[0120] Basic grammar rule 1, the format is: Target>cds

[0121] For example: $variable1>cds.sql("Select Field1, Field2, Field3From Table Where Id=${$number}").

[0122] This syntax only allows single-line descriptions and does not allow cross-lines. Among them, ">" is ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for generating a self-defined report and a terminal. A scrip compiling rule and a script syntax are defined; a corresponding report template is drawn according to a to-be-output content; a script content corresponding to the uploaded report template is compiled according to the script compiling rule and the script syntax; a data object to be output to the report isinquired according to received query conditions, and a corresponding report template is determined; the script content corresponding to the report template is parsed; the script content correspondingto the parsed report template is executed, a data source which is to be output to the data object in the report is obtained, and the report template is filled with the data source. Users and developers compile the script content corresponding to the report template according the simple script rule, and then data output of different reports can be achieved; the developers do not need to develop acode for each report template, the workload is reduced, and later maintenance is facilitated.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a method for generating a self-defined report and a terminal. Background technique [0002] In most systems, regarding the design of form output, most of them use fixed template files to output data, but in the process of use, users often want to output the form data they need, and the format is not fixed, and some information users want in It is reflected in the table, but it is not in the template, or the user does not want to display some content in the template, so that the user cannot obtain the desired data report. If the template file is used for output, the template needs to be redefined, and the file output of the new template needs to be developed. Personnel rewrite the code corresponding to the file output, which increases the workload of the developer and makes it difficult to maintain the code later. [0003] Therefore, the current report generation process has the fo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/24
CPCG06F40/186G06F40/205G06F16/248G06F16/242G06F40/174
Inventor 陈世营陈伟达邓松高李达取刘震赖志烽
Owner FUJIAN RONGJI SOFTWARE ENG CO LTD