[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN102842065A - Index modeling-based index data filling method - Google Patents

Index modeling-based index data filling method Download PDF

Info

Publication number
CN102842065A
CN102842065A CN2012102541050A CN201210254105A CN102842065A CN 102842065 A CN102842065 A CN 102842065A CN 2012102541050 A CN2012102541050 A CN 2012102541050A CN 201210254105 A CN201210254105 A CN 201210254105A CN 102842065 A CN102842065 A CN 102842065A
Authority
CN
China
Prior art keywords
index
report
modeling
interface
desired value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012102541050A
Other languages
Chinese (zh)
Inventor
李晓东
朱海东
孙峰
张元元
胡银华
张五一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guodian Nanjing Automation Co Ltd
Original Assignee
Guodian Nanjing Automation Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guodian Nanjing Automation Co Ltd filed Critical Guodian Nanjing Automation Co Ltd
Priority to CN2012102541050A priority Critical patent/CN102842065A/en
Publication of CN102842065A publication Critical patent/CN102842065A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses an index modeling-based index data filling method which comprises the following steps of: (1) modeling all indexes to be filled up, and retaining a plurality of index objects subjected to modeling in a system; (2) selecting index models from an index library to be assembled into a desired index filling model according to index data to be filled up; (3) generating a detailed index filling interface through the index filling model; and (4) storing the filled index data in an index system after all indexes to be filled are filled up by a user at the index filling interface. The method can adapt to the change of the index filling interface rapidly; the logic relationship of index filling can be modified flexibly; and original codes do not need to be modified by development personnel, so that the working quantity on maintaining the system is reduced greatly, and the probability of system mistakes is reduced.

Description

A kind of achievement data based on the index modeling is made a report on method
Technical field
The present invention relates to a kind of achievement data and make a report on method, belong to technical field of data processing based on the index modeling.
Background technology
Making a report on of achievement data is the key of statistical system, needs the data of statistics all need make a report on personnel's typing in making a report on the interface.In the different statistic stage, need the content of statistics often can change, make a report on the needs that statistics also will be tackled in the interface, the variation of the adaption demand of ability fast and flexible.
The interface that existing majority parameters is made a report on all utilizes code compiling by the software developer according to initial demand, changes in case make a report on content, revises original code with regard to needing the developer according to up-to-date demand.Modification through the code variation that adapts to the demand of making a report on can cause a lot of troubles: a, system maintenance personnel not to adjust to these variations of making a report on demand like this; Can only come the modification of completion code by the software developer; Will cause making a report on hysteresis like this, can not get strain timely.B, the variation of making a report on demand might be bigger, and the code revision more complicated also will could formally be used through test and validation repeatedly after the modification, and it is very big that the workload that causes like this will become, and the efficient of work is not high yet.C, revise the code of making a report on that is originally using, may influence original logic and cause original function normally not use, bring unsettled risk to system.
Summary of the invention
The present invention is directed to defective of the prior art; Make a report on the flexible variation of content and logic in order to tackle index; A kind of index based on the index modeling that proposes is made a report on the method for configuration, and the mode that adopts the index modeling and make a report on configuration on-the-fly modifies the configuration that index attribute and index make a report on and solves these shortcomings.
For solving the problems of the technologies described above, the present invention provides a kind of achievement data based on the index modeling to make a report on method, it is characterized in that, may further comprise the steps:
1) index modeling:
With the whole modelings of required index of making a report on, and a plurality of index models after the modeling are retained in the index storehouse;
2) index is made a report on modeling:
According to the required achievement data of making a report on, the index of in the index storehouse, selecting some index model to be assembled into needs is made a report on model;
3) index is made a report on the generation at interface:
Make a report on model through index, generate concrete index by the engine that drives the interface and make a report on the interface;
4) make a report on logic:
Make a report in the interface in index, after the user fills in all indexs that need make a report on, preserve the achievement data of making a report on by index system.
The index model metadata comprises following attribute:
A. index is encoded: the unique indications that is used to describe the index object;
B. index name: the title that is used for Short Description index object;
C. desired value type: the initial form of desired value can also can be numeral for character string;
D. index unit: the unit that desired value is corresponding;
E. desired value scope: describe some equilibrium relations of index, the normal range of value;
F. the computation attribute of index:, will define the concrete computing formula of this index if index is to be calculated by other index.
Said index is made a report on structure of models and is preserved through XML.
In the step 4); Each index that index is made a report in the interface is handled successively; At first the computation attribute of index is analyzed, in case when the index in the interface need calculate through other index, then utilize the computing formula of index model configuration will refer to that target value calculates; After calculating the acquisition desired value, this desired value is saved in the index system; This desired value is carried out corresponding logical process to next index after preserving, and has all preserved up to whole indexs, and the logic that this index is made a report on has just been accomplished.
The beneficial effect that the present invention reached:
All index modelings that this method relates to during index is made a report on are configured to index after the index after the modeling made up and make a report on model, make a report on model according to index and will produce index.If demand changes, only need modification index model and index to make a report on model and can realize new demand.
This method can adapt to the variation that index is made a report on the interface fast, revises the logical relation that index is made a report on flexibly, and does not need the developer to revise original code, greatly reduces the workload of system maintenance, has reduced system's probability of errors.This method has changed original development scheme of making a report on; Can respond key user's the demand of making a report on fast; The exploitation that utilizes the method for index modeling to make a report on will significantly reduce the problem of being brought by hard coded, makes a report on the workload of configuration with mitigation system O&M personnel flexibly.
Description of drawings
Fig. 1 is the index model of setting up;
Fig. 2 is that index is made a report on the modeling synoptic diagram;
Fig. 3 is that the XML index is made a report on model example;
Fig. 4 is the process flow diagram that index is made a report on logic.
Embodiment
Below in conjunction with accompanying drawing the present invention is further described.Following examples only are used for technical scheme of the present invention more clearly is described, and can not limit protection scope of the present invention with this.
The present invention proposes a kind of method of making a report on based on the index modeling, this method may further comprise the steps:
1, index modeling
With the whole modelings of required index of making a report on, the index object after the modeling will be retained in the system, and index is made a report on the index object after modeling will use modeling.
Fig. 1 is the index model metadata, roughly comprises following attribute:
1) index coding: the unique indications that is used to describe the index object.
2) index name: the title that is used for Short Description index object.
3) desired value type: the initial form of desired value can also can be numeral for character string.
4) index unit: the unit that desired value is corresponding.
5) desired value scope: describe some equilibrium relations of index, the normal range of value.
6) computing formula of index:, will define the concrete computing formula of this index if index is to be calculated by other index.
Generated energy every day with power plant is that specific targets are explained the index model object below:
Index is encoded to: MRFDL.
Index name is: every day generated energy.
Desired value type: double precision numerical value type.
Index unit: ten thousand kilowatt hours.
Desired value scope: can not be above 1.2 times of power plant's maximum generating watt every day.
Index computing formula: do not have.
System will preserve all index models that need make a report on and add up, revises the attribute of certain index if desired, then only needs the model of this index is made amendment.Such as, above desired value scope in the instance do not allow to surpass 1.1 times of maximum generating watt now, then only need in the index model configuration, this scope to be modified as 1.1 times and get final product.After disposing new index model, joining the making a report in the interface of this index, will make a report on logical process according to new index model, reaching only needs to revise model and just can change all automatically flexibly and make a report on logic.
2, index is made a report on modeling
Index through in existing index storehouse, selecting some index just can be assembled into needs is made a report on the interface, and this interface can dispose flexibly, such as deletion or newly-increased certain index, index is increased some suggestive information etc.
Fig. 2 specific explanations index make a report on the method for modeling, through the mode of configuration, assemble existing index flexibly, reach and accomplish the generation of making a report on the interface fast.Among the figure, it is by index 1 that index is made a report on model 1, and index 2 combines with 3 three indexs of index.It is by index 3 that index is made a report on model 2, index 4, and index 5 combines with 6 four indexs of index.An index can occur a plurality of making a report in the interface, and also only existence is made a report in the interface with one.Make a report on model through index and just can make a report on the interface through the concrete index of engine generation at model-driven interface.
3, index is made a report on model structure
This method is preserved index through XML and is made a report on model.
Fig. 3 is that a concrete index is made a report on model.Wherein, comprise some public attributes that this index is made a report in the common element, such as the title that the name representative is made a report on, type is made a report in the type representative, the time cycle that the time representative is made a report on.Comprising all in the fills element needs this to make a report on the index that make a report at the interface, has comprised a plurality of fill elements in the fills element.Each fill element has comprised the attribute that index disposes in making a report on; Code representes the coding of index; Name is the title of index, and datatype representes the type of desired value, and whether the isNeedFill attribute representation changes index and need the personnel of making a report on fill in; If the index of calculating then just need not filled in, unitcode representes the acquiescence unit of index.
4, index is made a report on interface creating method
Through the model that index is made a report on, this method can generate the interface that need make a report on automatically.Like the model of making a report on of Fig. 3, this method will generate 4 index input frames making a report on automatically, and generates digital input frame, the input frame of different types of data such as character string input frame according to the datatype type.
In making a report on the interface, increase an index item if desired, the fill attribute that only needs in making a report on model, to increase a correspondence gets final product, and this method can generate the new interface of making a report on automatically according to making a report on model.
5, make a report on logic
Fig. 4 makes a report on the process flow diagram of logic for index.Make a report in the interface in index, the user begins to preserve index and makes a report on data after all indexs that need make a report on are filled in.This method is handled each index in the circulation interface, at first the computation attribute of index is analyzed, in case when the index in the interface need calculate through other index, just need to utilize the computational algorithm of configuration will refer to that target value calculates.Desired value promptly can be saved in this desired value in the index system after calculating and obtaining.After this index was preserved, the next index that just can circulate was carried out corresponding logical process, has all preserved up to whole indexs, and the logic that this index is made a report on has just been accomplished.
The above only is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from know-why of the present invention; Can also make some improvement and distortion, these improvement and distortion also should be regarded as protection scope of the present invention.

Claims (4)

1. the achievement data based on the index modeling is made a report on method, it is characterized in that, may further comprise the steps:
1) index modeling:
With the whole modelings of required index of making a report on, and a plurality of index models after the modeling are retained in the index storehouse;
2) index is made a report on modeling:
According to the required achievement data of making a report on, the index of in the index storehouse, selecting some index model to be assembled into needs is made a report on model;
3) index is made a report on the generation at interface:
Make a report on model through index, generate concrete index by the engine that drives the interface and make a report on the interface;
4) make a report on logic:
Make a report in the interface in index, after the user fills in all indexs that need make a report on, preserve the achievement data of making a report on by index system.
2. the achievement data based on the index modeling according to claim 1 is made a report on method, it is characterized in that,
The index model metadata comprises following attribute:
A. index is encoded: the unique indications that is used to describe the index object;
B. index name: the title that is used for Short Description index object;
C. desired value type: the initial form of desired value can also can be numeral for character string;
D. index unit: the unit that desired value is corresponding;
E. desired value scope: describe some equilibrium relations of index, the normal range of value;
F. the computation attribute of index:, will define the concrete computing formula of this index if index is to be calculated by other index.
3. the achievement data based on the index modeling according to claim 1 is made a report on method, it is characterized in that,
Said index is made a report on structure of models and is preserved through XML.
4. the achievement data based on the index modeling according to claim 2 is made a report on method, it is characterized in that,
In the step 4); Each index that index is made a report in the interface is handled successively; At first the computation attribute of index is analyzed, in case when the index in the interface need calculate through other index, then utilize the computing formula of index model configuration will refer to that target value calculates; After calculating the acquisition desired value, this desired value is saved in the index system; This desired value is carried out corresponding logical process to next index after preserving, and has all preserved up to whole indexs, and the logic that this index is made a report on has just been accomplished.
CN2012102541050A 2012-07-23 2012-07-23 Index modeling-based index data filling method Pending CN102842065A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012102541050A CN102842065A (en) 2012-07-23 2012-07-23 Index modeling-based index data filling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012102541050A CN102842065A (en) 2012-07-23 2012-07-23 Index modeling-based index data filling method

Publications (1)

Publication Number Publication Date
CN102842065A true CN102842065A (en) 2012-12-26

Family

ID=47369397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012102541050A Pending CN102842065A (en) 2012-07-23 2012-07-23 Index modeling-based index data filling method

Country Status (1)

Country Link
CN (1) CN102842065A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105303064A (en) * 2015-12-03 2016-02-03 万达信息股份有限公司 Method for building medical index system based on semantic model
CN109710504A (en) * 2018-12-28 2019-05-03 四川新网银行股份有限公司 A kind of customized visualization real-time monitoring data monitoring method
CN110390475A (en) * 2019-07-10 2019-10-29 国电南京自动化股份有限公司 A kind of early warning and decision support method based on group's big data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060116859A1 (en) * 2004-11-30 2006-06-01 Thomas Legault Reporting model generation within a multidimensional enterprise software system
CN101308490A (en) * 2008-04-28 2008-11-19 北京航空航天大学 Dynamic report generation method and platform
CN101840395A (en) * 2010-04-02 2010-09-22 浪潮集团山东通用软件有限公司 Method for fluctuating statement filling and summarization based on standard code

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060116859A1 (en) * 2004-11-30 2006-06-01 Thomas Legault Reporting model generation within a multidimensional enterprise software system
CN101308490A (en) * 2008-04-28 2008-11-19 北京航空航天大学 Dynamic report generation method and platform
CN101840395A (en) * 2010-04-02 2010-09-22 浪潮集团山东通用软件有限公司 Method for fluctuating statement filling and summarization based on standard code

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105303064A (en) * 2015-12-03 2016-02-03 万达信息股份有限公司 Method for building medical index system based on semantic model
CN105303064B (en) * 2015-12-03 2018-10-16 万达信息股份有限公司 A kind of construction method of the medical index system based on semantic model
CN109710504A (en) * 2018-12-28 2019-05-03 四川新网银行股份有限公司 A kind of customized visualization real-time monitoring data monitoring method
CN110390475A (en) * 2019-07-10 2019-10-29 国电南京自动化股份有限公司 A kind of early warning and decision support method based on group's big data

Similar Documents

Publication Publication Date Title
CN104268428B (en) A kind of visual configuration method calculated for index
CN102663103B (en) Configurable method for automatically generating database and accessing data
CN102346785A (en) Method and device for directly self-defining field of database
CN112905624B (en) Database extension method and device of low-code development platform
CN106293664A (en) Code generating method and device
CN109472446B (en) BIM model-based engineering budget estimate planning method
CN102819609B (en) A kind of perdurable data model modelling approach
CN109446221A (en) A kind of interactive data method for surveying based on semantic analysis
CN116821223B (en) Industrial visual control platform and method based on digital twinning
CN102842065A (en) Index modeling-based index data filling method
CN108255479A (en) Creation method, device, storage medium and the terminal of cube files
CN105279269A (en) SQL generating method and system for supporting table free association
CN103942280A (en) Automatic code generating method based on data structure
CN104346378B (en) A kind of method, apparatus and system for realizing complex data processing
CN103020382A (en) BOM-based multi-instance polymerization simulation modeling method
CN103559350A (en) Load file processing method and device of vehicle
CN105404613B (en) XLS data export methods and system based on SAP platforms
CN102109990A (en) Intelligent display system and method for report
CN110660461B (en) Cross-platform medical data information uploading system based on artificial intelligence
CN101515167A (en) Method for realizing IEC61499 flexible function block by using IEC61131-3 function block
CN109408577B (en) ORACLE database JSON analysis method, system, device and storable medium
CN102184166A (en) Method for converting Excel form into InfoPath form based on office software
CN109062566B (en) Artificial intelligent writing method for telemetry source code of digital spacecraft channel
KR20190114101A (en) Method for designing optimizationally 3D model library to International standard standard product in Shipbuilding Marine
CN105741035A (en) ERP system data integration method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: Li Xiaodong

Inventor after: Tang Yiliang

Inventor after: Zhu Haidong

Inventor after: Sun Feng

Inventor after: Zhang Yuanyuan

Inventor after: Hu Yinhua

Inventor after: Zhang Wuyi

Inventor before: Li Xiaodong

Inventor before: Zhu Haidong

Inventor before: Sun Feng

Inventor before: Zhang Yuanyuan

Inventor before: Hu Yinhua

Inventor before: Zhang Wuyi

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: LI XIAODONG ZHU HAIDONG SUN FENG ZHANG YUANYUAN HU YINHUA ZHANG WUYI TO: LI XIAODONG TANG YILIANG ZHU HAIDONG SUN FENG ZHANG YUANYUAN HU YINHUA ZHANG WUYI

RJ01 Rejection of invention patent application after publication

Application publication date: 20121226

RJ01 Rejection of invention patent application after publication