CN110175319A - A kind of report generation method and device - Google Patents
A kind of report generation method and device Download PDFInfo
- Publication number
- CN110175319A CN110175319A CN201910377733.XA CN201910377733A CN110175319A CN 110175319 A CN110175319 A CN 110175319A CN 201910377733 A CN201910377733 A CN 201910377733A CN 110175319 A CN110175319 A CN 110175319A
- Authority
- CN
- China
- Prior art keywords
- report
- parameter
- report generation
- generation model
- business datum
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000006872 improvement Effects 0.000 description 7
- 230000007246 mechanism Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 239000002699 waste material Substances 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 239000010979 ruby Substances 0.000 description 1
- 229910001750 ruby Inorganic materials 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/177—Editing, e.g. inserting or deleting of tables; using ruled lines
- G06F40/18—Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/186—Templates
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
This specification embodiment provides a kind of report generation method and device.The described method includes: obtaining report generation request;The report generation request, including report parameter and business datum;According to the report parameter, corresponding report parameter addition instruction is obtained;The first report generation model is operated using report parameter addition instruction, obtains the second report generation model;Report is generated according to the business datum and the second report generation model.By the above method, the current desired report wanted can be generated in the case where need to only provide report parameter, without additionally programming, save corresponding time and resource.
Description
Technical field
This specification embodiment is related to field of computer technology, in particular to a kind of report generation method and device.
Background technique
Report is a kind of include the information such as business datum table, specifically can be directed to each intermediate item detail and remittance
Total information is arranged and is shown.It is can wrap in report containing different parameters, is corresponding with several business numbers for each parameter
According to.An intuitive reflection concisely can be carried out to parameters and its business datum using report.
It may include different parameters for report generated, and correspond to format, the data sample of parameters
Formula may all can be different.At present when being handled for different reports, if often all being needed it includes there is different projects
Corresponding program is worked out for generating corresponding report.At the same time, it for different report programs, often also requires to increase
If the information such as document analysis and document definition configuration so when the report quantity of required generation is larger, generally require to compile
The contents such as large number of program i.e. document analysis information are made, workload is undoubtedly increased, and safeguard that numerous report is raw
Excessive energy is also needed at program, to be easy to cause the waste of time and resource.
Summary of the invention
The purpose of this specification embodiment is to provide a kind of report generation method and device, to solve to generate in the prior art
A large amount of reports need to work out a large amount of report programs, to waste time and the problem of resource.
It is realized in order to solve the above technical problems, the embodiment of the present application provides a kind of report generation method and device
:
A kind of report form generation method, comprising:
Obtain report generation request;The report generation request, including report parameter and business datum;
According to the report parameter, corresponding report parameter addition instruction is obtained;
The first report generation model is operated using report parameter addition instruction, obtains the second report generation mould
Type;
Report is generated according to the business datum and the second report generation model.
A kind of report generation device, comprising:
Request module, for obtaining report generation request;The report generation request, including report parameter and business
Data;
Instruction acquisition module, for obtaining corresponding report parameter addition instruction according to the report parameter;
Second report generation model obtains module, for being instructed using report parameter addition to the first report generation mould
Type is operated, and the second report generation model is obtained;
Report generation module, for generating report according to the business datum and the second report generation model.
The technical solution provided by above this specification embodiment is as it can be seen that the report that this specification embodiment is generated for needs
Table, according to wherein entrained report parameter, obtains corresponding report parameter addition and refers to after getting report generation request
It enables, and the first report generation model is operated according to report parameter addition instruction, obtain the second report generation model.
In conjunction with business datum entrained in institute's report generation request, required for being directly generated using the second report generation model
Report.The method shown through the foregoing embodiment, can be directly according to entrained in the report generation request received
Report parameter, obtain corresponding instruction and the first report generation model operated, and can be raw using the model modified
At required report, to solve the problems, such as to be required to work out corresponding generation program for different reports, report is avoided
The complicated processes that table generates;The first report generation model can be reused in the implementation process of this method, avoided
The problem of needing overspending energy to safeguard in the case where generation model is excessive, has saved corresponding time and resource.
Detailed description of the invention
In order to illustrate more clearly of this specification embodiment or technical solution in the prior art, below will to embodiment or
Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only
The some embodiments recorded in this specification, for those of ordinary skill in the art, before not making the creative labor
It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of report form generation method of this specification embodiment;
Fig. 2 is a kind of module map of report generation device of this specification embodiment;
Fig. 3 is a kind of schematic diagram of presentation parameter bandwagon effect of this specification embodiment.
Specific embodiment
Below in conjunction with the attached drawing in this specification embodiment, the technical solution in this specification embodiment is carried out clear
Chu is fully described by, it is clear that described embodiment is only this specification a part of the embodiment, rather than whole implementation
Example.The embodiment of base in this manual, those of ordinary skill in the art are obtained without making creative work
Every other embodiment, all should belong to this specification protection range.
In order to preferably apply embodiments herein, report is generated according to corresponding demand, before generating new report, in advance
First it is provided with the first report generation model.First report generation model is the model for being able to carry out modification to generate report.?
In first report generation model, it is packaged with every report parameter in advance.Report parameter therein is carried out by different instructions
After calling, modified report generation model can be enabled to add corresponding report parameter, different type can be generated
Report.
A kind of specific embodiment of report form generation method of the application is introduced below in conjunction with attached drawing 1.The execution master of the method
Body is server, and the specific implementation step of the report form generation method is as follows:
S100: report generation request is obtained.
Report generation request is the request for obtaining current desired new report.It, can be in report generation request
Carry report parameter and business datum.Report generation request can be user and directly be inputted by front-end interface, can also
Be other servers when needing to call corresponding report to request transmitted by the server.
Report parameter is parameter included in the report of acquisition required for the report generation request.For example, user needs
Obtain include report ID, mechanism number, currency, these parameters of operating time report, then to report transmitted by server
Generating the report parameter for including in request is report ID, mechanism number, currency, operating time.
Report parameter can also include Metre variables and table body parameter.Metre variables are generally the beginning in report in report
Description to information such as report name, report ID, statement dates, report mechanisms number.Different Metre variables can not be same
It is shown in row, i.e., Metre variables and its corresponding business datum are arranged in report according to lateral.In general report
It include multirow Metre variables.Certain key messages in report can be observably checked by the setting of Metre variables.Table body
Parameter is the data body portion in report.Under normal circumstances, the table body parameter in single page report constitutes record, and table body record is
For every field in record.Table body parameter and its corresponding business datum are arranged generally according to longitudinal.
It is defined by Metre variables and the preparatory of table body parameter, so that the data that report is showed are more structured,
Convenient for the progress of relevant work.Correspondingly, the report item encapsulated in advance in the first report generation model can also be corresponding with table
The format of head parameter and table body parameter.The information that the setting of Metre variables and table body parameter can preferably carry report into
Row is shown.
Business datum is data entrained in the report of required generation.It is the report of required generation that business datum is corresponding
In report parameter.For example, the report of required generation need include report ID, mechanism number, the operating time, operator these
Report item, then business datum is the data corresponding to aforementioned four report item.A certain item report parameter can be corresponding with more
A business datum.
It can also include presentation parameter in the report generation request.It, can be by presentation parameter by the way that presentation parameter is arranged
Corresponding business datum can be shown according to default displaying format.Showing format can be to keep presentation parameter institute right
The business datum answered is more eye-catching, to be easier to obtain corresponding concern;It can also be such that presentation parameter can be preferably
The beginning of user's new page or new report is reminded, for example, being directed to first report parameter of report new page, it, which can be set, is
Format is shown, to prompt the beginning of user's report new page.
It can also include format control instruction in the report generation request.Format control instruction is used for the entirety to report
Format is adjusted.It, can be in advance targetedly to report by presetting format control instruction in report generation is requested
The format such as entering a new line, skip is controlled in table.For example, the overall formats such as being entered a new line, being skipped in corresponding position
When operation, corresponding format control instruction can be set, for carrying out typesetting to report overall format.It is controlled by format
The setting of instruction preferably can carry out arrangement arrangement to the overall format of report, convenient for the preview of report item, be conducive to work
The progress of work.
The first report generation model can be the first report generation subprogram.In this case, the report ginseng
Number addition instruction, can be corresponding control statement, for example, for being associated with logical file and object in the first report generation subprogram
Manage the DD sentence of file.In actual application, corresponding report is generated using program and corresponding sentence, realizes the application
Technical solution, can more effectively meet the application environment of herein described method.
S200: according to the report parameter, corresponding report parameter addition instruction is obtained.
Report parameter addition instruction is the instruction operated for the first report generation model.Different report parameters,
It is corresponding with corresponding report parameter addition instruction.For example, when including this parameter of currency in report parameter, it can be corresponding
Monetary parameter addition instruction is obtained, for being adjusted to the first report generation model.Report parameter addition instruction can be with
It is the instruction pre-set for the change conditions of report item, need to be adjusted the first report generation model
When, according to different report parameters, corresponding instruction can be directly acquired.When report generation request in include presentation parameter
When, it is also necessary to obtain corresponding presentation parameter adjustment instruction.The presentation parameter adjustment instruction, for presentation parameter is corresponding
Business datum is set as default and shows format.For example, when the presentation parameter is report ID, accessed presentation parameter tune
Whole instruction can set report ID to showing format, so that the format of this report item of report ID is different from other reports
The format of table entry can more observably be prompted to the relevant information of user.
S300: the first report generation model is operated using report parameter addition instruction, obtains the second report
Generate model.
Second report generation model is the model for generating the new report for corresponding to report generation request.By to first
Report generation model is operated, available second report generation model.
After getting report parameter addition instruction, corresponding operation can be carried out to the first report generation model.For example,
The report parameter includes operator's parameter, is added and is instructed according to corresponding operator's parameter, can be in first report
Table, which generates, increases this report parameter of operator to realize the adjustment to the first report generation model in model.
When including presentation parameter in report generation request, and corresponding presentation parameter is obtained according to the presentation parameter
When adjustment instruction, the first report generation model can also be operated using the presentation parameter adjustment instruction, obtained
The business datum of presentation parameter in two report generation model reports generated can show that format is shown with default, thus
More observably the project can be shown.
It is the first report generation subprogram in the first report generation model, is report according to accessed by report parameter
In the case that table parameter adds sentence, carrying out operation to the first report generation subprogram be can be in first report life
At corresponding report parameter addition sentence is added in subprogram, wherein packaged report parameter is called, to obtain
Second report generation subprogram.It, can be more intuitively by the addition of subprogram setting and the respective statement for subprogram
Actual application is carried out to the step of the application.
S400: report is generated according to the business datum and the second report generation model.
Second report generation model is to be directed to obtained model after the first report item is adjusted, and be can be used for
Generate report.When including to ultimately generate report item included by report in the second report generation model, in conjunction with each report
Required report can be generated in project data corresponding to table entry.
When the report parameter in report is corresponding with Metre variables and table body parameter, according to pre-set corresponding to each
Each report parameter is configured by the setting of report parameter according to the format of Metre variables or table body parameter.For example, being directed to
The report parameters such as report name, report ID, report generation time, are generally shown in gauge outfit, by itself and corresponding business
Data are according to laterally being arranged, consequently facilitating user checks;And in report for example Business Name, the business amount of money,
The report parameters such as traffic handling time are generally shown in report main body in the form of fields, according to the lattice of table body parameter
Formula is used longitudinal direction to be arranged, and in order to carry out typesetting to report, is preferably shown to specific field data.
When including presentation parameter in report generation request, and corresponding presentation parameter tune is obtained for presentation parameter
After whole instruction is adjusted the first report generation model, obtained second report generation model can be in final report
In with default show that format is shown presentation parameter.The default format for showing format and can be different from other business datums,
And presentation parameter is served and is emphasized, so that the project more can be checked observably by user.
Presentation parameter is illustrated below with a specific example.As shown in figure 3, report ID and report in report
The table time is arranged to presentation parameter.It is default to show that format is, for the specific character of items of the business datum in presentation parameter,
These characters are reconfigured to the format for being arranged as itself.Corresponding presentation parameter adjustment is obtained for the two report items to refer to
It enables, the first report generation model is adjusted, the second report generation model is obtained.Recycle the second report generation model
Corresponding report is generated, report ID as shown in Figure 3 is obtained and statement dates is disposed as the default report sample for showing format.It is logical
Crossing above-mentioned specific example can be seen that setting by presentation parameter, can be well to the report item for needing eye-catching displaying
It is emphasized, conducive to the displaying of report.
It is subprogram in the first report generation model, and raw to the first report according to acquired report parameter addition sentence
It is operated at subprogram, after obtaining the second report generation subprogram, generates corresponding report using the second report generation subprogram
Table.In a specific example, it can use specified interface and call the second report generation subprogram, and according to the industry
Data of being engaged in generate report.Report generation model is applied in the form of subprogram, more meets practical operation situation, and more
Easily the technical solution described in this method is implemented, and preferably meets corresponding technical requirements.
Due to the limited width of report, when the table body parameter in report is excessive, if directly to each table body parameter pair
The business datum answered is shown the width that may exceed report.Therefore, data length threshold can be set for report parameter
Value when the length of the business datum corresponding to the report item is greater than the data length threshold value, carries out the business datum
Folds operation.Folds operation can be the data that front end length in intercept service data is equal to data length threshold value, and will not by
The data of interception are folded to the second row and are shown.After folds, it is still desirable to the data for being folded to the second row are judged, if
The data length threshold value is still greater than in the row data, repeats folds operation.It is operated by above-mentioned folds, so that report parameter pair
The business datum answered can be shown within the specified range, when the table body parameter in report is more, can also make report to it
In all data carried, thus effectively show report content.
Since the line number that can include in report is limited, in the case where business datum is more, the second report generation is utilized
When model generates corresponding report, it is possible that the case where line number of business datum is arranged beyond report itself line number.For
Number of data lines threshold value has can be set in the second report generation model in above situation.If the line number of business datum is big in report
When the number of data lines threshold value, page switching operation is executed to the data beyond number of data lines threshold portion.Pass through above-mentioned behaviour of skipping
Make, so that also can be reasonably shown to data therein, when the corresponding business datum of report parameter is more to have
Conducive to the displaying of report content.
When including format control instruction in report generation request, report is being generated using the second report generation model
During, according to corresponding format control instruction, the pattern of report can be controlled.For example, generating report name
It enters a new line after this report item, then according to the format control instruction, line feed operation is carried out at this.Pass through format
Control instruction can targetedly control the pattern of report, meet the corresponding displaying requirement of report.
A Sample Scenario introduced below is illustrated above-mentioned report form generation method.Bank cashier A needs to generate
Report name, report ID, mechanism ID, transaction amount these report items, and report ID therein is utilized and shows that format carries out
The report of displaying.Bank cashier A is by the report parameter of required report and corresponding business datum and comprising entering a new line and paging
The format control instruction of position, submits to server A.Server A is receiving the report item and corresponding business datum
Afterwards, report generation request is generated.Report parameter in the report generation request includes report name, report ID, mechanism ID, hands over
The easy amount of money, report generation request in also include corresponding generating item purpose business datum, while also comprising setting report ID be exhibition
Show parameter and the format control instruction for adjusting the operations such as skip, enter a new line.
Above-mentioned report generation request is sent to the server B for being used to execute above-mentioned report form generation method by server A.Service
Device B obtains corresponding report parameter addition instruction after receiving the report generation request, according to report parameter, corresponds to
The report parameters such as report name therein, report ID, mechanism ID, transaction amount, and obtained according to presentation parameter and correspond to report
The presentation parameter adjustment instruction of ID recycles the report parameter addition instruction, presentation parameter adjustment instruction raw to the first report
It is operated at model, obtains the second report generation model.Second report generation models coupling business datum, format control refer to
It enables, and the item length threshold value according to corresponding to every report item carries out folds to business datum, after generating candidate report, then
According to number of data lines threshold value, page switching operation is executed to candidate report, obtains report required for final bank teller A.
After server B report required for generating, the report is fed back into server A, is fed back to by server A
Teller A, the generation demand of report needed for completing teller A.
It can be seen that the present processes when needing to generate new report by above-mentioned Sample Scenario, it is only necessary to according to
For the report parameter of all-purpose financial statements project, corresponding adjustment sentence is obtained, can be obtained for generating current desired report
Report generation model, without additionally working out report program, to solve maintenance report generator heavy workload, waste
The problem of time and resource.Meanwhile according to the Sample Scenario of above-mentioned report generation, it can be seen that the present processes can also be right
Corresponding report project is shown, to accomplish to keep report orderliness apparent, important information can be emphasized, is more enriched
The function of report.
A kind of embodiment of report generation device of the application introduced below, as shown in Fig. 2, the device includes:
Request module 210, for obtaining report generation request;Report generation request, including report parameter and
Business datum;
Instruction acquisition module 220, for obtaining corresponding report parameter addition instruction according to the report parameter;
Second report generation model obtains module 230, for raw to the first report using report parameter addition instruction
It is operated at model, obtains the second report generation model;
Report generation module 240, for generating report according to the business datum and the second report generation model.
The report parameter, comprising: Metre variables and table body parameter.
The first report generation model, comprising: be packaged with the report generation model of report parameter in advance.
The second report generation model obtains module 230, comprising:
Report parameter calls subelement 231, for being instructed using report parameter addition to the first report generation model
In report parameter be called.
The report generation request, further includes presentation parameter;Described device further include:
Presentation parameter adjustment instruction obtains module 250, for obtaining corresponding presentation parameter tune according to the presentation parameter
Whole instruction;The presentation parameter adjustment instruction shows format for setting default for the corresponding business datum of presentation parameter;
Correspondingly, the second report generation model obtains module 230, comprising:
Second report generation model obtains subelement 232, for utilizing the presentation parameter adjustment instruction and the report
Parameter addition instruction operates the first report generation model, obtains the second report generation model.
The first report generation model, including the first report generation subprogram;The report parameter addition instruction, including
Report parameter adjusts sentence;The second report generation model obtains module 230, comprising:
Second report generation subprogram generates subelement 233, for adding the report in the first report generation subprogram
Table parameter adds sentence, obtains the second report generation subprogram;
Correspondingly, the report generation module 240, comprising:
First report generation subelement 241, for calling the second report generation subprogram, and root using specified interface
Report is generated according to the business datum.
The second report generation model, including data length threshold value;Described device further include:
Folds module 260, when being greater than the item length threshold value for the length in the business datum, to the business
Data carry out folds operation.
In the second report generation model, including number of data lines threshold value;The report generation module 240, comprising:
Module of skipping 242 executes when the line number for the business datum in this page of report is greater than the number of data lines threshold value
Page switching operation.
In the report generation request, including format control instruction;The report generation module 240, comprising:
Second report generation subelement 243, for according to the business datum, the format control instruction and described second
Report generation model generates report.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So
And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker
Dedicated IC chip 2.Moreover, nowadays, substitution manually makes IC chip, and this programming is also used instead mostly
" logic compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development
Seemingly, and the source code before compiling also handy specific programming language is write, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present
Integrated Circuit Hardware Description Language) and Verilog2.Those skilled in the art
It will be apparent to the skilled artisan that only needing method flow slightly programming in logic and being programmed into integrated circuit with above-mentioned several hardware description languages
In, so that it may it is readily available the hardware circuit for realizing the logical method process.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
As seen through the above description of the embodiments, those skilled in the art can be understood that this specification
The mode of required first hardware platform can be added to realize by software.Based on this understanding, the technical solution of this specification
Substantially the part that contributes to existing technology can be embodied in the form of software products in other words, the computer software
Product can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes each embodiment of this specification or embodiment
Certain parts described in method.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
This specification can be used in numerous first or dedicated computing system environments or configuration.Such as: personal computer,
Server computer, handheld device or portable device, laptop device, multicomputer system, microprocessor-based system,
Set top box, programmable consumer-elcetronics devices, network PC, minicomputer, mainframe computer including any of the above system are set
Standby distributed computing environment etc..
This specification can describe in the general context of computer-executable instructions executed by a computer, such as journey
Sequence module.Generally, program module include routines performing specific tasks or implementing specific abstract data types, programs, objects,
Component, data structure etc..This specification can also be practiced in a distributed computing environment, in these distributed computing environment
In, by executing task by the connected remote processing devices of communication network.In a distributed computing environment, program module
It can be located in the local and remote computer storage media including storage equipment.
Although depicting this specification by embodiment, it will be appreciated by the skilled addressee that there are many become for this specification
Shape and the spirit changed without departing from this specification, it is desirable to which the attached claims include these deformations and change without departing from this
The spirit of specification.
Claims (10)
1. a kind of report form generation method characterized by comprising
Obtain report generation request;The report generation request, including report parameter and business datum;
According to the report parameter, corresponding report parameter addition instruction is obtained;
The first report generation model is operated using report parameter addition instruction, obtains the second report generation model;
Report is generated according to the business datum and the second report generation model.
2. the method as described in claim 1, which is characterized in that the report parameter, comprising: Metre variables and table body parameter.
3. the method as described in claim 1, which is characterized in that the first report generation model, comprising: be packaged with report in advance
The report generation model of table parameter.
4. method as claimed in claim 3, which is characterized in that described to be instructed using report parameter addition to the first report
Model is generated to be operated, comprising:
The report parameter in the first report generation model is called using report parameter addition instruction.
5. the method as described in claim 1, which is characterized in that the report generation request, further includes presentation parameter;The side
Method further include:
According to the presentation parameter, corresponding presentation parameter adjustment instruction is obtained;The presentation parameter adjustment instruction, for that will open up
Show that the corresponding business datum of parameter is set as default and shows format;
Correspondingly, described that the first report generation model is operated using report parameter addition instruction, obtain the second report
Table generates model, comprising:
The first report generation model is operated using the presentation parameter adjustment instruction and report parameter addition instruction,
Obtain the second report generation model.
6. the method as described in claim 1, which is characterized in that the first report generation model, including the first report generation
Subprogram;The report parameter addition instruction, including report parameter add sentence;It is described to utilize report parameter addition instruction
First report generation model is operated, the second report generation model is obtained, comprising:
The report parameter addition sentence is added in the first report generation subprogram, obtains the second report generation subprogram;
It is correspondingly, described that report is generated according to the business datum and the second report generation model, comprising:
The second report generation subprogram is called using specified interface, and report is generated according to the business datum.
7. the method as described in claim 1, which is characterized in that the second report generation model, including data length threshold value;
It is described report is generated according to the business datum and the second report generation model before, further includes:
If the length of the business datum is greater than the data length threshold value, folds operation is carried out to the business datum.
8. the method as described in claim 1, which is characterized in that in the second report generation model, including number of data lines threshold
Value;It is described that report is generated according to the business datum and the second report generation model, comprising:
If the line number of report parameter and business datum is greater than the number of data lines threshold value in report page, page switching operation is executed.
9. the method as described in claim 1, which is characterized in that in the report generation request, including format control instruction;Institute
It states and report is generated according to the business datum and the second report generation model, comprising:
Report is generated according to the business datum, the format control instruction and the second report generation model.
10. a kind of report generation device characterized by comprising
Request module, for obtaining report generation request;The report generation request, including report parameter and business number
According to;
Instruction acquisition module, for obtaining corresponding report parameter addition instruction according to the report parameter;
Second report generation model obtain module, for using the report parameter addition instruction to the first report generation model into
Row operation, obtains the second report generation model;
Report generation module, for generating report according to the business datum and the second report generation model.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910377733.XA CN110175319A (en) | 2019-05-05 | 2019-05-05 | A kind of report generation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910377733.XA CN110175319A (en) | 2019-05-05 | 2019-05-05 | A kind of report generation method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110175319A true CN110175319A (en) | 2019-08-27 |
Family
ID=67690623
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910377733.XA Pending CN110175319A (en) | 2019-05-05 | 2019-05-05 | A kind of report generation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110175319A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111090974A (en) * | 2019-12-27 | 2020-05-01 | 中国银行股份有限公司 | Report generation method, device and equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101071416A (en) * | 2007-07-02 | 2007-11-14 | 华为技术有限公司 | Report template generating system, development tool, development method and report client end |
CN101908039A (en) * | 2010-06-29 | 2010-12-08 | 北京科技大学 | Report template customizing system |
CN102279848A (en) * | 2010-06-09 | 2011-12-14 | 中国电信股份有限公司 | Method and device for generating report template |
CN106469140A (en) * | 2015-08-17 | 2017-03-01 | 朗新科技股份有限公司 | A kind of report generating system and its method |
CN106649242A (en) * | 2016-12-29 | 2017-05-10 | 郑州云海信息技术有限公司 | Method and system for generating report |
JP2018085005A (en) * | 2016-11-25 | 2018-05-31 | キヤノン株式会社 | Report preparation system |
CN108804402A (en) * | 2017-04-28 | 2018-11-13 | 北京京东尚科信息技术有限公司 | Report generating system based on big data platform and method |
-
2019
- 2019-05-05 CN CN201910377733.XA patent/CN110175319A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101071416A (en) * | 2007-07-02 | 2007-11-14 | 华为技术有限公司 | Report template generating system, development tool, development method and report client end |
CN102279848A (en) * | 2010-06-09 | 2011-12-14 | 中国电信股份有限公司 | Method and device for generating report template |
CN101908039A (en) * | 2010-06-29 | 2010-12-08 | 北京科技大学 | Report template customizing system |
CN106469140A (en) * | 2015-08-17 | 2017-03-01 | 朗新科技股份有限公司 | A kind of report generating system and its method |
JP2018085005A (en) * | 2016-11-25 | 2018-05-31 | キヤノン株式会社 | Report preparation system |
CN106649242A (en) * | 2016-12-29 | 2017-05-10 | 郑州云海信息技术有限公司 | Method and system for generating report |
CN108804402A (en) * | 2017-04-28 | 2018-11-13 | 北京京东尚科信息技术有限公司 | Report generating system based on big data platform and method |
Non-Patent Citations (1)
Title |
---|
董思文;屠培期;: "基于FastReport的客户管理系统的报表设计" * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111090974A (en) * | 2019-12-27 | 2020-05-01 | 中国银行股份有限公司 | Report generation method, device and equipment |
CN111090974B (en) * | 2019-12-27 | 2023-10-24 | 中国银行股份有限公司 | Report generation method, device and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Green | Report on dialogue specification tools | |
CN113886362A (en) | Data storage system and storage method based on workflow engine and low-code platform | |
CN106469140A (en) | A kind of report generating system and its method | |
CN109144511B (en) | Method and system for automatically generating numerical simulation graphical user interface | |
CN108268615A (en) | A kind of data processing method, device and system | |
CN113268227A (en) | Zero-code visualization software development platform and development method | |
KR100374296B1 (en) | System for developing application program for mobile terminal and mobile terminal including application program developed by the same | |
US20130167046A1 (en) | Method and system for customizing a graphic user interface of a manufacturing execution system screen | |
CN110175319A (en) | A kind of report generation method and device | |
CN114185874A (en) | Big data based modeling method and device, development framework and equipment | |
US20160018952A1 (en) | Multi-Format Editors | |
Kim et al. | Adapting model transformation approach for android smartphone application | |
CN107391099A (en) | A kind of resource preprocess method and device | |
KR20130068601A (en) | Apparatus and method for dynamic customization and execution of query based software logic for multitenant | |
Lane | A design space and design rules for user interface software architecture | |
CN104573526B (en) | Software product multi version management method, device and computer equipment | |
CN114780539A (en) | Method, system and storage medium for generating report form in multiple dimensions | |
Batz et al. | The application-specific task area | |
CN100440226C (en) | Chip algorithm simulating platform and method | |
Schneider et al. | AUI: A programming language for developing plastic interactive software | |
JPH08166973A (en) | Image data managing system | |
CN113778411A (en) | Graphical programming method and application equipment | |
Bass et al. | PRESTIGE: a CASE workbench for the JSD implementor | |
KR20140070151A (en) | Method of implementation plan for dynamic business service based on sql | |
Nor et al. | The application of component-based methodology in developing visual power system analysis tool |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190827 |
|
RJ01 | Rejection of invention patent application after publication |