CN108664004A - The flexible report component of dynamic and configurable and the configuration method of report - Google Patents
The flexible report component of dynamic and configurable and the configuration method of report Download PDFInfo
- Publication number
- CN108664004A CN108664004A CN201810485961.4A CN201810485961A CN108664004A CN 108664004 A CN108664004 A CN 108664004A CN 201810485961 A CN201810485961 A CN 201810485961A CN 108664004 A CN108664004 A CN 108664004A
- Authority
- CN
- China
- Prior art keywords
- editable
- gauge outfit
- report
- row
- model
- 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
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
- G05B19/41865—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by job scheduling, process planning, material flow
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/32—Operator till task planning
- G05B2219/32252—Scheduling production, machining, job shop
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of flexible report component of dynamic and configurable and the configuration methods of report, report component includes model generation unit, for generating editable model according to the first preset condition, and editable gauge outfit is built in editable model according to the second preset condition;Report heading generation unit, for editable gauge outfit to be converted to report heading;Editable row generation unit, the row for generating corresponding blank under report heading, and be expert at the corresponding data of middle input according to predetermined manner;Storage unit generates report for after completing data input, being preserved to the row of report heading and all input datas.It is customizable that the device and method realize statistics, analytic function high flexible, solve the problems, such as each report can not separate operation individually develop, improve development efficiency, reduce maintenance cost, increase flexibility and the scalability of system.
Description
Technical field
The present invention relates to field of computer technology more particularly to the flexible report components and dynamic of a kind of dynamic and configurable
The configuration method of configurable flexible report.
Background technology
From last century the eighties, statistical Process Control (SPC) method is just widely used in the quality control of product
In system, statistic concept is applied to the management of product quality, quality control officer not only it is to be understood that product quality it is good and bad, together
When, it is understood that, it is good how well, how bad badly have.The nineties later stage in last century, in order to reduce the defect rate of product, look-ahead
Production status, external many producers turn one's attention to analysis in real time and monitoring.Real-time statistical Process Control (Real-
Time Statistic Process Control) it is main analysis, monitoring means, pass through the real-time, report based on analysis
Alert and prompt carrys out the generation of pre-control quality problems, to reduce the fluctuation of manufacturing process, reduces defect ware, improves production effect
Rate.
And Report Customization demand is higher in existing product, the abstracting power and model conversion to report model are
There is certain technical sophistication degree in dynamic ranks report.Simultaneously again since each report business is different, report form statistics is realized
And data make a report on function, there are prodigious technical bottlenecks, if each report uses the pattern that separate operation is individually developed, nothing
Method forms unified report component tool, while its workload is also very big.
Therefore, in order to meet the increasingly newer statement form demand of people and big data quantity, complex report forms statistics,
It is badly in need of a kind of dynamic and configurable report tool, is used for statistical Process Control.
Invention content
In order to solve the above technical problems, The present invention provides a kind of flexible report components of dynamic and configurable, including:
Model generation unit for generating editable model according to the first preset condition, and exists according to the second preset condition
Editable gauge outfit is built in the editable model;
Report heading generation unit, for the editable gauge outfit to be converted to report heading;
Editable row generation unit, the row for generating corresponding blank under the report heading, and according to default side
Formula inputs corresponding data in the row;
Storage unit is used for after completing data input, the traveling to the report heading and all input datas
Row preserves, and generates report.
Preferably, the model generation unit includes that the editable model being connected with each other generates subelement and editable table
Head editor's subelement:
The editable model generates subelement, for being chosen in editable gauge outfit model table according to the first preset condition
Dynamic Table Header information, and editable model is generated according to the dynamic Table Header information;
Editable gauge outfit editor's subelement, can for being built in the editable model according to the second preset condition
Edit header.
Preferably, first preset condition is the type of target report, and second preset condition is to preset to compile
Collect father and son's grade relationship of gauge outfit and the default editable gauge outfit.
Preferably, the report heading generation unit includes sequentially connected:
Gauge outfit assignment subelement, for carrying out attribute assignment to the editable gauge outfit, to convert it into statement form
When it is identified;
Rank assignment subelement, for according to father and son's grade relationship between the editable gauge outfit to described in after attribute assignment
Editable gauge outfit carries out rank assignment, shows that father and son's grade between the editable gauge outfit is closed when converting it into statement form
System;
Row turns row subelement, for the editable gauge outfit after progress attribute assignment and rank assignment to be converted to report
Gauge outfit.
Preferably, the report heading includes at least one of single gauge outfit, compound gauge outfit and tree-shaped gauge outfit.
According to another aspect of the present invention, a kind of configuration method of the flexible report of dynamic and configurable is provided, including:
According to the first preset condition generate editable model, and according to the second preset condition in the editable model structure
Build editable gauge outfit;
The editable gauge outfit is converted into report heading;
The row of corresponding blank is generated under the report heading, and is inputted accordingly in the row according to predetermined manner
Data;
After completing data input, the row of the report heading and all input datas is preserved, generates report
Table.
Preferably, generating editable model step according to the first preset condition is specially:
Dynamic Table Header information is chosen in dynamic gauge outfit abstract model table according to the first preset condition, and according to the dynamic table
Header generates editable model.
Preferably, first preset condition is the type of target report, and second preset condition is to preset to compile
Collect father and son's grade relationship of gauge outfit and the default editable gauge outfit.
Preferably, the editable gauge outfit report heading step is converted to specifically include:
Attribute assignment is carried out to the editable gauge outfit, is identified when converting it into statement form;
Rank is carried out to the editable gauge outfit after attribute assignment according to father and son's grade relationship between the editable gauge outfit
Assignment shows father and son's grade relationship between the editable gauge outfit when converting it into statement form;
The editable gauge outfit after progress attribute assignment and rank assignment is converted into report heading.
Preferably, the report heading includes at least one of single gauge outfit, compound gauge outfit and tree-shaped gauge outfit.
Compared with prior art, one or more of said program embodiment can have the following advantages that or beneficial to effect
Fruit:
Using the configuration method of the flexible report of dynamic and configurable provided in an embodiment of the present invention, realize whole according to model
Change, modularization thinking are designed exploitation, and carrying out modelling to contents such as product standard, System Documents detaches, and development behavior can
The report component of configuration supports all report row, column dynamic and configurables in system, realizes statistics, analytic function high flexible
It is customizable, solve the problems, such as each report can not separate operation individually develop, improve development efficiency, reduce maintenance at
This, increases flexibility and the scalability of system.Simultaneously to frequency of usage height, have the function of that general character carries out Module Development Method,
Very big limit reduces exploitation amount, improves system performance, improves system O&M efficiency.
Other features and advantages of the present invention will be illustrated in the following description, and partly becomes from specification
It is clear that understand through the implementation of the invention.The purpose of the present invention and other advantages can be by wanting in specification, right
Specifically noted structure is sought in book and attached drawing to realize and obtain.
Description of the drawings
Attached drawing is used to provide further understanding of the present invention, and a part for constitution instruction, the reality with the present invention
It applies example and is used together to explain the present invention, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 shows the structural schematic diagram of the flexible report component of dynamic and configurable in the embodiment of the present invention one;
Fig. 2 shows the flow charts of the configuration method of the flexible report of dynamic and configurable in the embodiment of the present invention two.
Specific implementation mode
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and examples, how to be applied to the present invention whereby
Technological means solves technical problem, and the realization process for reaching technique effect can fully understand and implement.It needs to illustrate
As long as not constituting conflict, each embodiment in the present invention and each feature in each embodiment can be combined with each other,
It is formed by technical solution within protection scope of the present invention.
In the quality control of product, statistical Process Control (SPC) method is just widely used, however existing product
Middle Report Customization demand is higher, and the abstracting power and model conversion to report model are that dynamic ranks report has one
Fixed technical sophistication degree.Simultaneously again since each report business is different, realizes that report form statistics and data make a report on function, exist
Prodigious technical bottleneck can not form unified report component if each report uses the pattern that separate operation is individually developed
Tool is not easy to the generation of report.
Embodiment one
To solve the above-mentioned technical problems in the prior art, an embodiment of the present invention provides a kind of dynamic and configurables
Flexible report component.
As shown in Figure 1, being the structural schematic diagram of the flexible report component of dynamic and configurable in the embodiment of the present invention one;Reference
The flexible report component of Fig. 1, this implementation dynamic and configurable include sequentially connected model generation unit, report heading generation list
Member, editable row generation unit and storage unit.
Model generation unit is mainly used for generating editable model according to the first preset condition, and according to the second preset condition
Editable gauge outfit is built in the editable model of generation.
Specifically, model generation unit includes that the editable model being connected with each other generates subelement and editable gauge outfit editor
Subelement.Editable model generates subelement and is used to choose dynamic table in editable gauge outfit model table according to the first preset condition
Header, and editable model is generated according to dynamic Table Header information.It is stored with multi-field multiple types in editable gauge outfit model table
Report heading and its essential attribute dynamic Table Header information.First preset condition is the type of target report.Further,
Editable model generates subelement for the type according to the target report to be generated, and is chosen in editable gauge outfit model table
Report heading type, that is, dynamic Table Header information of appropriate arts, and editable model is generated according to report heading type.Editable
Model is used for the essential attribute of specific report heading and report heading into edlin.
Editable gauge outfit editor's subelement is used to build editable gauge outfit in editable model according to the second preset condition.
Second preset condition is father and son's grade relationship of default editable gauge outfit and default editable gauge outfit.According to default editable gauge outfit
It is father and son's grade between the report heading set that user, which needs the report heading set, father and son's grade relationship of default editable gauge outfit,
Correspondence.Specific editable gauge outfit editor subelement is closed according to the father and son of default editable gauge outfit and default editable gauge outfit grade
The essential attribute of parent editable gauge outfit and the parent editable gauge outfit is arranged in system in editable model, and the father is arranged in next
Grade editable gauge outfit corresponds to the editable gauge outfit of sub- grade and corresponding essential attribute, and to the father and son of above-mentioned structure grade editable table
Head is preserved, to generate the information of corresponding editable gauge outfit in editable model.Wherein each father and son's grade editable gauge outfit
Set-up mode is set gradually.Preferably, father and son's grade relationship editable gauge outfit is built according to identical mode successively, generates phase
The information for the editable gauge outfit answered, until default editable gauge outfit structure is completed.
It should be noted that the setting up procedure of editable gauge outfit and its attribute can be set by way of being manually entered
It sets, can be also configured by way of being chosen in drop-down menu.The inventive point of the present invention does not lie in this simultaneously, can also pass through
Other rational methods are configured the above.
Report heading generation unit is used to the editable gauge outfit built in editable model being converted to report heading.By root
The editable gauge outfit got according to the first preset condition and the second preset condition editor is converted into actual report heading, that is, determines life
The columns arranged at report.
Specifically, report heading generation unit include sequentially connected gauge outfit assignment subelement, rank assignment subelement and
Row turns row subelement.Gauge outfit assignment subelement is connect with model generation unit, for carrying out attribute assignment to editable gauge outfit, with
Make editable gauge outfit that can be identified when being converted to statement form, so as to be shown in report.Rank assignment subelement
For carrying out rank assignment to the editable gauge outfit after attribute assignment according to father and son's grade relationship between editable gauge outfit, so that
It shows the grade relationship of the father and son between editable gauge outfit when being converted to statement form, that is to say, that when turning row into every trade, there are fathers
The editable gauge outfit of sub- grade relationship is convertible into corresponding report heading.Row turns row subelement for that will carry out attribute assignment and grade
Editable gauge outfit after other assignment is converted to report heading.It should be noted that if the editable gauge outfit of father and son's grade relationship is one
To one relationship, i.e. a parent editable gauge outfit is there is only a sub- grade editable gauge outfit, then row turns row subelement and given birth to
At single gauge outfit, and with sub- grade editable gauge outfit for the list head.If the editable gauge outfit of father and son's grade relationship is the relationship of a pair two,
That is a parent editable gauge outfit is there are two sub- grade editable gauge outfits, then row turns row subelement and generated compound gauge outfit, this
Compound gauge outfit can show father and son's grade relationship of a pair two;Further compound gauge outfit includes two rows, and uplink shows father
Grade editable gauge outfit, downlink are divided into left and right two parts, show two sub grade editable gauge outfits respectively.If the editable of father and son's grade relationship
Gauge outfit is the relationship of a pair three or three or more a pair, then row turns row subelement and generated tree-shaped gauge outfit, in the tree-shaped gauge outfit
Sub- grade corresponds to the row in report respectively.
It should be noted simultaneously that the coding of the sub- grade gauge outfit row in compound gauge outfit and tree-shaped gauge outfit is unique, at foreground
Reason is shown as the gauge outfit of relationship between superior and subordinate according to father and son's grade relationship of gauge outfit.The coding of parent gauge outfit row and corresponding sub- grade gauge outfit
The coding of row will be consistent, and foreground encodes binding data according to row.Gauge outfit and column data are tied up according to unique row coding
It is fixed, so as to realize the editor of report data and restore function.
Editable row generation unit is used to generate the row of corresponding blank under report heading, and is expert at according to predetermined manner
The middle corresponding data of input, that is, determine the line number for generating report line.Wherein, predetermined manner is to be manually entered.
Specifically, the row of blank corresponding under report heading is added in real time according to the actual conditions of data to be written, and
Data corresponding with gauge outfit are filled in into successively, until data to be filled in fill in completion.
It should be noted that in the process of generation columns and rows and during the row input data of blank, it can be again
It is secondary by model generation unit, report heading generation unit and editable row generation unit generate respectively report new row and
Row.
Storage unit is used for after editable row generation unit completes data input, to report heading and all input datas
Row preserved, generate report.
Specifically, after the completion of the row that data to be filled in fill in the blanks is filled in, to the number filled in report and report
According to being preserved, report is generated.The non-renewable new row and column at report after report generation, i.e., to report heading and all
The configuration of the row of input data i.e. complete field report after being preserved.
In order to further be illustrated to the working method of the flexible report component of the application dynamic and configurable, below according to
Naphtha quality illustrates for making a report in quality management.
Naphtha quality is made a report on firstly the need of configuration naphtha analysis project, i.e. naphtha analysis project report is target report
Table;This project includes analysis project and analysis component, if being only configured with an analysis group timesharing under a sub-item, dynamic
Display directly displays analysis component, if being configured with multiple analysis group timesharing, analysis project and analysis group under an analysis project
Branch shows that is, analysis project and analysis component are editable gauge outfit, and analysis project is father in the form of father and son's grade
Grade editable gauge outfit, analysis group are divided into sub- grade editable gauge outfit.
Configuration mode one:Two analysis projects and analysis component are respectively configured, concrete analysis project is that 10% fixed elongation is strong
Degree and 210 DEG C distillate rate, and analysis group is divided into 100 DEG C and distillates rate/boiling range and 210 DEG C distillate rate, and analysis project and analysis group are divided into
One-to-one father and son's grade relationship.
Concrete model generation unit is according to type, that is, Oil Projects class (of naphtha analysis project report (target report)
One preset condition) petroleum analysis project editable model is chosen from editable gauge outfit model table, according to default editable gauge outfit
(i.e. 10% determine elongation strengths, 210 DEG C distillate rate, 100 DEG C distillate rate/boiling range and 210 DEG C distillate rate) and default editable table
(i.e. 10% determine elongation strengths and 100 DEG C distillate rate/boiling range as one-to-one father and son grade relationship to father and son's grade relationship of head, and 210 DEG C distillate
It is one-to-one father and son grade relationship that rate and 210 DEG C, which distillate rate) editable gauge outfit is built in petroleum analysis project editable model.Afterwards
The editable gauge outfit built in editable model is converted to report heading by report heading generation unit.Editable row generation unit
The row that corresponding blank is generated under report heading is expert at the corresponding data of middle input according to predetermined manner, and is preserved, and sound generates
Naphtha analysis project report.
Configuration mode two:Three analysis projects and four analysis components are configured, concrete analysis project is that 10% fixed elongation is strong
Degree, 210 DEG C distillate rate and total organic carbon, analysis group be divided into 10% determine elongation strengths, 100 DEG C distillate rate/boiling range, 210 DEG C distillate
Rate and total organic carbon.Wherein, the 10% of analysis project determine elongation strengths and analyze component 10% determine elongation strengths, 100 DEG C evaporate
Extracting rate/boiling range is father and son's grade relationship of a pair two, and 210 DEG C of analysis project, which distillates rate, total organic carbon and analyzes 210 DEG C of component, to be evaporated
Extracting rate, total organic carbon are one-to-one father and son grade relationship.
Concrete model generation unit is according to type, that is, Oil Projects class (of naphtha analysis project report (target report)
One preset condition) petroleum analysis project editable model is chosen from editable gauge outfit model table, according to default editable gauge outfit
(i.e. 10% determine elongation strengths, 210 DEG C distillate rate, total organic carbon, 10% determine elongation strengths, 100 DEG C distillate rate/boiling range, 210 DEG C
Distillate rate and total organic carbon) and default editable gauge outfit father and son grade relationship (i.e. 10% determine elongation strengths with 10% calmly extends
Intensity and 100 DEG C distillate father and son's grade relationship that rate/boiling range is a pair two, 210 DEG C distillate rate and 210 DEG C to distillate rate be one-to-one father
Sub- grade relationship, total organic carbon are one-to-one father and son grade relationship with total organic carbon) structure in petroleum analysis project editable model
Build editable gauge outfit.The editable gauge outfit built in editable model is converted to report heading by report heading generation unit afterwards.
Editable row generation unit generates the row of corresponding blank under report heading, and being expert at according to predetermined manner, middle input is corresponding to be counted
According to, and preserve, sound generates naphtha analysis project report.
Using the flexible report component of dynamic and configurable provided in an embodiment of the present invention, realize whole according to modelling, group
Part thinking is designed exploitation, and carrying out modelling to contents such as product standard, System Documents detaches, what development behavior can configure
Report component supports all report row, column dynamic and configurables in system, realizes that statistics, analytic function high flexible are customizable,
Solve the problems, such as each report can not separate operation individually develop, improve development efficiency, reduce maintenance cost, increase system
The flexibility of system and scalability.Simultaneously to frequency of usage height, have the function of that general character carries out Module Development Method, very big limit drop
Low exploitation amount improves system performance, improves system O&M efficiency.
Embodiment two
In order to solve the above technical problems, the present invention also provides a kind of configuration methods of the flexible report of dynamic and configurable.
Fig. 2 shows the flow charts of the configuration method of the flexible report of dynamic and configurable in the embodiment of the present invention two.With reference to
Fig. 2.The configuration method of the flexible report of dynamic and configurable of the present invention includes the following steps:
Step S201 generates editable model according to the first preset condition, and according to the second preset condition in editable mould
Editable gauge outfit is built in type.
Specifically, dynamic Table Header information is chosen in editable gauge outfit model table according to the first preset condition, and according to dynamic
State Table Header information generates editable model.Editable gauge outfit model table be stored with multi-field multiple types report heading and with
The model table of the corresponding essential attribute of report heading.First preset condition is the type of target report.Further, according to institute
The type for the target report to be generated chooses report heading type, that is, dynamic table of appropriate arts in editable gauge outfit model table
Header, and editable model is generated according to report heading type.Editable model is used for specific report heading and report
The corresponding attribute of table gauge outfit is into edlin.
Editable gauge outfit is built in editable model according to the second preset condition.Second preset condition is default editable
The father and son of gauge outfit and default editable gauge outfit grade relationship.Default editable gauge outfit is the report heading for needing to set according to user,
Father and son's grade relationship of default editable gauge outfit is father and son's grade correspondence between the report heading of setting.Further, root
According to the father and son of default editable gauge outfit and default editable gauge outfit grade relationship, parent editable gauge outfit is set in editable model
With the essential attribute of the parent editable gauge outfit, next is arranged the parent editable gauge outfit and corresponds to the editable gauge outfit of sub- grade and right
The essential attribute answered, and the father and son of above-mentioned structure grade editable gauge outfit is preserved, it is corresponding to be generated in editable model
Editable gauge outfit information.Wherein each father and son's grade editable top-of-form set mode is set gradually.Preferably, according to identical
Mode build successively father and son grade relationship editable gauge outfit, generate the information of corresponding editable gauge outfit, until preset editable
Until gauge outfit structure is completed.
Editable gauge outfit is converted to report heading by step S202.
Specifically, attribute assignment is carried out to editable gauge outfit, so that editable gauge outfit can quilt when being converted to statement form
Identification, so as to be shown in report.Later according to father and son's grade relationship between editable gauge outfit to the institute after attribute assignment
It states editable gauge outfit and carries out rank assignment, show that father and son's grade between editable gauge outfit is closed when converting it into statement form
System, i.e., when turning row into every trade, there are the editable gauge outfits of father and son's grade relationship to be convertible into corresponding report heading.It will carry out again
Editable gauge outfit after attribute assignment and rank assignment is converted to report heading.It should be noted that if father and son grade relationship can
Edit header is one-to-one relationship, i.e. there is only a sub- grade editable gauge outfits, then row to turn row for a parent editable gauge outfit
Subelement is generated single gauge outfit, and with sub- grade editable gauge outfit for the list head.If the editable gauge outfit of father and son's grade relationship is
There are two sub- grade editable gauge outfits in the relationship of a pair two, i.e. a parent editable gauge outfit, then capable to turn row subelement and given birth to
At compound gauge outfit, which can show father and son's grade relationship of a pair two;Further compound gauge outfit includes two
Row, uplink show that parent editable gauge outfit, downlink are divided into left and right two parts, show two sub grade editable gauge outfits respectively.If father and son
The editable gauge outfit of grade relationship is the relationship of a pair three or three or more a pair, then row turns row subelement and generated tree-shaped gauge outfit,
Sub- grade in the tree-shaped gauge outfit corresponds to the row in report respectively.
It should be noted simultaneously that the coding of the sub- grade gauge outfit row in compound gauge outfit and tree-shaped gauge outfit is unique, at foreground
Reason is shown as the gauge outfit of relationship between superior and subordinate according to father and son's grade relationship of gauge outfit.The coding of parent gauge outfit row and corresponding sub- grade gauge outfit
The coding of row will be consistent, and foreground encodes binding data according to row.Gauge outfit and column data are tied up according to unique row coding
It is fixed, so as to realize the editor of report data, and restore function.
Step S203 generates the row of corresponding blank under the report heading, and according to predetermined manner in the row
Corresponding data are inputted, until data to be filled in fill in completion, that is, determine the line number for generating report line.
Step S204, after editable row generation unit completes data input, to report heading and all input datas
Row is preserved, and report is generated.
Quality management is generated in specific example process and embodiment one by method generation report disclosed in the embodiment
The process that middle naphtha quality is made a report on is identical, is not repeated herein to it.
Using the configuration method of the flexible report of dynamic and configurable provided in an embodiment of the present invention, realize whole according to model
Change, modularization thinking are designed exploitation, and carrying out modelling to contents such as product standard, System Documents detaches, and development behavior can
The report component of configuration supports all report row, column dynamic and configurables in system, realizes statistics, analytic function high flexible
It is customizable, solve the problems, such as each report can not separate operation individually develop, improve development efficiency, reduce maintenance at
This, increases flexibility and the scalability of system.Simultaneously to frequency of usage height, have the function of that general character carries out Module Development Method,
Very big limit reduces exploitation amount, improves system performance, improves system O&M efficiency.
Those skilled in the art should be understood that each unit of the above-mentioned present invention or each step can use general calculating
Device realizes that they can be concentrated on a single computing device, or be distributed in network constituted by multiple computing devices
On, optionally, they can be realized with the program code that computing device can perform, it is thus possible to be stored in storage
It is performed by computing device in device, either they are fabricated to each integrated circuit modules or will be more in them
A module or step are fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and
Software combines.
While it is disclosed that embodiment content as above but described only to facilitate understanding the present invention and adopting
Embodiment is not limited to the present invention.Any those skilled in the art to which this invention pertains are not departing from this
Under the premise of the disclosed spirit and scope of invention, any modification and change can be made in the implementing form and in details,
But protection scope of the present invention still should be subject to the scope of the claims as defined in the appended claims.
Claims (10)
1. a kind of flexible report component of dynamic and configurable, which is characterized in that including sequentially connected:
Model generation unit, for generating editable model according to the first preset condition, and according to the second preset condition described
Editable gauge outfit is built in editable model;
Report heading generation unit, for the editable gauge outfit to be converted to report heading;
Editable row generation unit, the row for generating corresponding blank under the report heading, and existed according to predetermined manner
Corresponding data are inputted in the row;
Storage unit, for after completing data input, being protected to the row of the report heading and all input datas
It deposits, generates report.
2. according to claim 1, which is characterized in that the model generation unit includes the editable model being connected with each other
Generate subelement and editable gauge outfit editor's subelement:
The editable model generates subelement, for choosing dynamic in editable gauge outfit model table according to the first preset condition
Table Header information, and editable model is generated according to the dynamic Table Header information;
Editable gauge outfit editor's subelement, for building editable in the editable model according to the second preset condition
Gauge outfit.
3. according to claim 1 or 2, which is characterized in that first preset condition is the type of target report, described
Second preset condition is father and son's grade relationship of default editable gauge outfit and the default editable gauge outfit.
4. according to claim 3, which is characterized in that the report heading generation unit includes sequentially connected:
Gauge outfit assignment subelement, for carrying out attribute assignment, quilt when converting it into statement form to the editable gauge outfit
Identification;
Rank assignment subelement, for according to father and son's grade relationship between the editable gauge outfit to that can compile described in after attribute assignment
It collects gauge outfit and carries out rank assignment, father and son's grade relationship between the editable gauge outfit is shown when converting it into statement form;
Row turns row subelement, for the editable gauge outfit after progress attribute assignment and rank assignment to be converted to report table
Head.
5. according to claim 4, which is characterized in that the report heading includes single gauge outfit, compound gauge outfit and tree-shaped
At least one of gauge outfit.
6. a kind of configuration method of the flexible report of dynamic and configurable, which is characterized in that including:
Editable model is generated according to the first preset condition, and being built in the editable model according to the second preset condition can
Edit header;
The editable gauge outfit is converted into report heading;
The row of corresponding blank is generated under the report heading, and inputs corresponding number in the row according to predetermined manner
According to;
After completing data input, the row of the report heading and all input datas is preserved, generates report.
7. wanting the method described in 6 according to right, which is characterized in that it is specific to generate editable model step according to the first preset condition
For:
Dynamic Table Header information is chosen in dynamic gauge outfit abstract model table according to the first preset condition, and is believed according to the dynamic gauge outfit
Breath generates editable model.
8. wanting the method described in 6 or 7 according to right, which is characterized in that first preset condition is the type of target report, institute
State father and son's grade relationship that the second preset condition is default editable gauge outfit and the default editable gauge outfit.
9. wanting the method described in 6 according to right, which is characterized in that it is specific that the editable gauge outfit is converted to report heading step
Including:
Attribute assignment is carried out to the editable gauge outfit, is identified when converting it into statement form;
Rank assignment is carried out to the editable gauge outfit after attribute assignment according to father and son's grade relationship between the editable gauge outfit,
Father and son's grade relationship between the editable gauge outfit is shown when converting it into statement form;
The editable gauge outfit after progress attribute assignment and rank assignment is converted into report heading.
10. wanting the method described in 9 according to right, which is characterized in that the report heading includes single gauge outfit, compound gauge outfit and tree
At least one of shape gauge outfit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810485961.4A CN108664004A (en) | 2018-05-21 | 2018-05-21 | The flexible report component of dynamic and configurable and the configuration method of report |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810485961.4A CN108664004A (en) | 2018-05-21 | 2018-05-21 | The flexible report component of dynamic and configurable and the configuration method of report |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108664004A true CN108664004A (en) | 2018-10-16 |
Family
ID=63776220
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810485961.4A Pending CN108664004A (en) | 2018-05-21 | 2018-05-21 | The flexible report component of dynamic and configurable and the configuration method of report |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108664004A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109558578A (en) * | 2018-11-26 | 2019-04-02 | 成都四方伟业软件股份有限公司 | Report conversion method and device |
CN112765159A (en) * | 2020-12-30 | 2021-05-07 | 医渡云(北京)技术有限公司 | Report generation method, system, computer equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101620591A (en) * | 2009-08-12 | 2010-01-06 | 国网电力科学研究院 | Method for designing module report form layout based on cell mode |
CN102156741A (en) * | 2011-04-16 | 2011-08-17 | 武钢集团昆明钢铁股份有限公司 | Custom dynamic report system and implementation method thereof |
CN102841938A (en) * | 2012-08-14 | 2012-12-26 | 北京久其软件股份有限公司 | Method and system for generating parameterized report |
CN104376068A (en) * | 2014-11-07 | 2015-02-25 | 北京思特奇信息技术股份有限公司 | Data representation system and method based on dynamic report template |
-
2018
- 2018-05-21 CN CN201810485961.4A patent/CN108664004A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101620591A (en) * | 2009-08-12 | 2010-01-06 | 国网电力科学研究院 | Method for designing module report form layout based on cell mode |
CN102156741A (en) * | 2011-04-16 | 2011-08-17 | 武钢集团昆明钢铁股份有限公司 | Custom dynamic report system and implementation method thereof |
CN102841938A (en) * | 2012-08-14 | 2012-12-26 | 北京久其软件股份有限公司 | Method and system for generating parameterized report |
CN104376068A (en) * | 2014-11-07 | 2015-02-25 | 北京思特奇信息技术股份有限公司 | Data representation system and method based on dynamic report template |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109558578A (en) * | 2018-11-26 | 2019-04-02 | 成都四方伟业软件股份有限公司 | Report conversion method and device |
CN112765159A (en) * | 2020-12-30 | 2021-05-07 | 医渡云(北京)技术有限公司 | Report generation method, system, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110825375B (en) | Quantum program conversion method and device, storage medium and electronic device | |
CN106293664A (en) | Code generating method and device | |
CN104298836B (en) | A kind of reactor core Iterative Design system based on Monte Carlo Calculation | |
CN107229693A (en) | The method and system of big data system configuration parameter tuning based on deep learning | |
CN108804322A (en) | Automated testing method, device, computer equipment and storage medium | |
CN103077022B (en) | A kind of work flow visual operation collocation method and device | |
CN105975466A (en) | Method and device for machine manuscript writing aiming at short newsflashes | |
CN108664004A (en) | The flexible report component of dynamic and configurable and the configuration method of report | |
CN109614669B (en) | Network-level bridge structure performance evaluation and prediction method | |
CN106529028A (en) | Technological procedure automatic generating method | |
CN111915011B (en) | Single-amplitude quantum computing simulation method | |
CN109344969B (en) | Neural network system, training method thereof, and computer-readable medium | |
CN108829884A (en) | data mapping method and device | |
CN102521860A (en) | Skeletal animation implementation method | |
CN104090995B (en) | The automatic generation method of rebar unit grids in a kind of ABAQUS tire models | |
CN107247827A (en) | Empty terminal model modeling and automatic connecting method based on machine learning | |
CN106682323A (en) | Transformation system for transforming architecture models into dynamic simulation models, and method thereof | |
CN110110863A (en) | A kind of distributed machines study tune ginseng system based on celery | |
DE102007036273A1 (en) | An integrated memory device and method for operating a memory device | |
CN109002885A (en) | A kind of convolutional neural networks pond unit and pond calculation method | |
CN106126799A (en) | A kind of passive emulation link constructing system and method | |
CN109767002A (en) | A kind of neural network accelerated method based on muti-piece FPGA collaboration processing | |
CN105354253A (en) | SCD file decoupling method | |
CN107943476A (en) | A kind of computer interlocking software development approach based on model-driven | |
CN109656151A (en) | Shield machine intelligence tool changing analogue system and implementation method based on UNITY |
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: 20181016 |
|
RJ01 | Rejection of invention patent application after publication |