CN101697122A - Method for generating report query conditions through predefined components - Google Patents

Method for generating report query conditions through predefined components Download PDF

Info

Publication number
CN101697122A
CN101697122A CN200910110655A CN200910110655A CN101697122A CN 101697122 A CN101697122 A CN 101697122A CN 200910110655 A CN200910110655 A CN 200910110655A CN 200910110655 A CN200910110655 A CN 200910110655A CN 101697122 A CN101697122 A CN 101697122A
Authority
CN
China
Prior art keywords
assembly
report
content
query conditions
time
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
CN200910110655A
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.)
Shenzhen Clou Electronics Co Ltd
Original Assignee
Shenzhen Clou Electronics 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 Shenzhen Clou Electronics Co Ltd filed Critical Shenzhen Clou Electronics Co Ltd
Priority to CN200910110655A priority Critical patent/CN101697122A/en
Publication of CN101697122A publication Critical patent/CN101697122A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

The invention relates to the field of report development and discloses a method for generating report query conditions through predefined components, comprising the following steps: (S1) designing query component objects the predefined report can relate; (S2) configuring report query condition content; (S3) designing a report uniform form output page; (S4) combining the query components to generate the query content and outputting to the page. The invention has the beneficial effect that developers only need to foscus on aspects of the design of the report content and the realization of report data content, because a system automatically generates the relevant query content after combining the different query components according to the query conditions configured by the report through configuring the different query conditions on each report requirement, thereby greatly reducing the developing time of the report.

Description

Generate the method for report query conditions by predefined components
Technical field
The present invention relates to the form development field, particularly a kind of method that generates report query conditions by predefined components.
Background technology
In the software system development of power industry, the client proposes a large amount of form demands often in system's use, and each client also can not propose the form demand of type according to the difference of self requirement of enterprise, caused the continuation of software development, all will drop into a large amount of time and go to carry out the exploitation of client's form at every turn like this.And in each form performance history, all to carry out the tissue of querying condition, and the design effort of these repetitions of design of the page, thus form development time and form development amount increased, reduced work efficiency.
Summary of the invention
In order to solve the problems of the prior art, the invention provides a kind of method by predefined components generation report query conditions, solve the long and big problem of form development amount of form development time in the prior art.
The present invention solves the technical scheme that the prior art problem adopted: design and make and a kind ofly generate the method for report query conditions by predefined components, may further comprise the steps, (S1) the design predefine form enquiring component object that can relate to; (S2) configuration report query conditions content; (S3) the design form consolidation form output page; (S4) query composition assembly generated query content outputs to the page.
The present invention further improves: in the described step (S1), generate certain enquiring component object in advance, and every kind of component object is identified; Described every kind of component object carries out unique number.
The present invention further improves: described component object comprises selection type enquiring component, date and time enquiring component, input frame enquiring component, choice box enquiring component and/or the self-defined inquiry assembly for object.
The present invention further improves: described selection type enquiring component for object comprises that object type describes label, object oriented videotex frame, Object Selection button; The described selection mode that the Object Selection assembly is set is the single or multiple Object Selection modes or the querying condition of alternative not.
The present invention further improves: described date and time enquiring component comprises time selection assembly, selects assembly, date to select assembly, selection of time assembly in month; It is the combobox options that the described time is selected assembly; Described month, assembly was the combobox options; Described date assembly is the date to select text box; Described selection of time assembly is a time input text frame; Described date and time assembly comprises verification method; The different modes of described time on date can be organized different date time showing modes.
The present invention further improves: described choice box enquiring component predefine comprises the assembly of describing label and text input frame; Described text input frame can self-defined initial conditions content; But described self-defined inquiry assembly predefine is described label and drop-down choice box assembly, and this choice box assembly can be provided with single choosing or multiselect.
The present invention further improves: described component object also can be scheduled to self-defined assembly statement input mode; Described self-defined assembly statement input mode can generate the needed querying condition of form by self-defined group of statement of input.
The present invention further improves: in the described step (S2), the XML file configuration is carried out in the description of the described form that will generate; Described file configuration content comprises the configuration of report name, numbering, data query method name and component object.
The present invention further improves: in the described step (S3), and the page output of definition report query, page output is used to generate report query conditions and real form content.
The present invention further improves: in the described step (S4), obtain inquiring about the condition configuration item of form by report number, organize corresponding assembly to generate the needed querying condition content of form on the backstage according to form condition deploy content, output to then in the consolidation form output page; Described form platform is the JAVA platform.
The invention has the beneficial effects as follows: the present invention is by carrying out the configuration of different querying conditions to each form demand, system carries out according to the querying condition of form configuration generating corresponding query contents automatically after the combination of different enquiring components, thereby the developer only needs the aspect with the realization that focuses on form content design and report data content of work, has reduced the development time of form greatly.
Description of drawings
Fig. 1 is the method flow diagram that generates report query conditions by predefined components.
Embodiment
The invention will be further described below in conjunction with accompanying drawing.
As shown in Figure 1, a kind of method by predefined components generation report query conditions may further comprise the steps, the enquiring component object that S1 design predefine form can relate to; S2 configuration report query conditions content; The S3 design form consolidation form output page; S4 query composition assembly generated query content outputs to the page.
Among the described step S1, generate certain enquiring component object in advance, and every kind of component object is identified; Described every kind of component object carries out unique number.
Described component object comprises selection type enquiring component, date and time enquiring component, input frame enquiring component, choice box enquiring component and/or the self-defined inquiry assembly for object.
Described selection type enquiring component for object comprises that object type describes label, object oriented videotex frame, Object Selection button; The described selection mode that the Object Selection assembly is set is the single or multiple Object Selection modes or the querying condition of alternative not.
Described date and time enquiring component comprises time selection assembly, selects assembly, date to select assembly, selection of time assembly in month; It is the combobox options that the described time is selected assembly; Described month, assembly was the combobox options; Described date assembly is the date to select text box; Described selection of time assembly is a time input text frame; Described date and time assembly comprises verification method; The different modes of described time on date can be organized different date time showing modes.
Described choice box enquiring component predefine comprises the assembly of describing label and text input frame; Described text input frame can self-defined initial conditions content; But described self-defined inquiry assembly predefine is described label and drop-down choice box assembly, and this choice box assembly can be provided with single choosing or multiselect.
Described component object also can be scheduled to self-defined assembly statement input mode; Described self-defined assembly statement input mode can generate the needed querying condition of form by self-defined group of statement of input.
Among the described step S2, the XML file configuration is carried out in the description of the described form that will generate; Described file configuration content comprises the configuration of report name, numbering, data query method name and component object, this component object can be selected form Object Selection type as the case may be, the Object Selection mode, date selection of time mode, the configuration of manual initial conditions mode and conditional content or other self-defined assembly statement.
Among the described step S3, the page output of definition report query, page output is used to generate report query conditions and real form content.
Among the described step S4, obtain inquiring about the condition configuration item of form, organize corresponding assembly to generate the needed querying condition content of form on the backstage, output to then in the consolidation form output page according to form condition deploy content by report number; Described form platform is the JAVA platform.
It is of the present invention by the querying condition that may relate in the form exploitation is carried out the predefined components realization, by each form demand is carried out the configuration of different querying conditions, system carries out according to the querying condition of form configuration generating corresponding query contents automatically after the combination of different enquiring components, thereby the developer only needs the aspect of the realization that focuses on form content design and report data content that will work.
Shown in Fig. 1 is the control flow chart that form predetermined queries assembly is generated the report query conditions exploitation of the present invention, system adopts java web platform, system at first carries out the realization of predefined components respectively according to the querying condition that the form performance history may relate to, predefined enquiring component comprises the selection assembly of object, date selection of time assembly, user's input module, user-defined enquiring component.When new form demand, only need carry out certain condition configuration to form, system just can make up different querying condition assemblies automatically according to form configuration condition content, the query page that outputs to appointment then can generate the querying condition that needs, only need in the whole process form is carried out simple querying condition configuration, and need not all advance the page layout design of querying condition, thereby improved the efficient of form development to each form.
Above content be in conjunction with concrete preferred implementation to further describing that the present invention did, can not assert that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (10)

1. the method by predefined format generation report query conditions is characterized in that, may further comprise the steps, and (S1) designs the enquiring component object that the predefine form can relate to; (S2) configuration report query conditions content; (S 3) design form consolidation form output page; (S4) query composition assembly generated query content outputs to the page.
2. according to the described method of claim 1, it is characterized in that: in the described step (S1), generate certain enquiring component object in advance, and every kind of component object is identified by predefined format generation report query conditions; Described every kind of component object carries out unique number.
3. according to the described method by predefined format generation report query conditions of claim 2, it is characterized in that: described component object comprises selection type enquiring component, date and time enquiring component, input frame enquiring component, choice box enquiring component and/or the self-defined inquiry assembly for object.
4. generate the method for report query conditions according to claim 3 is described by predefined format, it is characterized in that: described selection type enquiring component for object comprises that object type describes label, object oriented videotex frame, Object Selection button; The described selection mode that the Object Selection assembly is set is the single or multiple Object Selection modes or the querying condition of alternative not.
5. according to the described method by predefined format generation report query conditions of claim 3, it is characterized in that: described date and time enquiring component comprises time selection assembly, selects assembly, date to select assembly, selection of time assembly in month; It is the combobox options that the described time is selected assembly; Described month, assembly was the combobox options; Described date assembly is the date to select text box; Described selection of time assembly is a time input text frame; Described date and time assembly comprises verification method; The different modes of described time on date can be organized different date time showing modes.
6. according to the described method by predefined format generation report query conditions of claim 3, it is characterized in that: described choice box enquiring component predefine comprises the assembly of describing label and text input frame; Described text input frame can self-defined initial conditions content; But described self-defined inquiry assembly predefine is described label and drop-down choice box assembly, and this choice box assembly can be provided with single choosing or multiselect.
7. according to the described method by predefined format generation report query conditions of claim 3, it is characterized in that: described component object also can be scheduled to self-defined assembly statement input mode; Described self-defined assembly statement input mode can generate the needed querying condition of form by self-defined group of statement of input.
8. according to the described method by predefined format generation report query conditions of claim 1, it is characterized in that: in the described step (S2), the XML file configuration is carried out in the description of the described form that will generate; Described file configuration content comprises the configuration of report name, numbering, data query method name and component object.
9. according to the described method of claim 1, it is characterized in that by predefined format generation report query conditions: in the described step (S3), the page output of definition report query, page output is used to generate report query conditions and real form content.
10. according to the described method that generates report query conditions by predefined format of claim 1, it is characterized in that: in the described step (S4), obtain inquiring about the condition configuration item of form by report number, organize corresponding assembly to generate the needed querying condition content of form on the backstage according to form condition deploy content, output to then in the consolidation form output page; Described form platform is the JAVA platform.
CN200910110655A 2009-10-16 2009-10-16 Method for generating report query conditions through predefined components Pending CN101697122A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910110655A CN101697122A (en) 2009-10-16 2009-10-16 Method for generating report query conditions through predefined components

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910110655A CN101697122A (en) 2009-10-16 2009-10-16 Method for generating report query conditions through predefined components

Publications (1)

Publication Number Publication Date
CN101697122A true CN101697122A (en) 2010-04-21

Family

ID=42142227

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910110655A Pending CN101697122A (en) 2009-10-16 2009-10-16 Method for generating report query conditions through predefined components

Country Status (1)

Country Link
CN (1) CN101697122A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789457A (en) * 2011-05-17 2012-11-21 航天信息股份有限公司 Method for dynamically customizing filter conditions
CN103577189A (en) * 2013-10-30 2014-02-12 北京华胜天成科技股份有限公司 Method and system for realizing query condition
CN103605779A (en) * 2013-11-28 2014-02-26 北京国双科技有限公司 Report generation method and device
CN104133826A (en) * 2013-09-26 2014-11-05 腾讯科技(深圳)有限公司 Method for creating data report business, relevant device and business system
CN104391708A (en) * 2014-12-08 2015-03-04 畅捷通信息技术股份有限公司 Time determination method and device
CN104572813A (en) * 2014-11-26 2015-04-29 国家电网公司 Report generation method and device
CN104714949A (en) * 2013-12-11 2015-06-17 航天信息股份有限公司 Method for customizing report dynamically
CN108089899A (en) * 2016-11-22 2018-05-29 深圳市创梦天地科技有限公司 Inquire about the implementation method and device of report
CN105354025B (en) * 2015-10-18 2018-09-14 广州赛意信息科技股份有限公司 Business model based on mobile application configures system and method
CN110362591A (en) * 2018-04-02 2019-10-22 北京神州泰岳软件股份有限公司 A kind of report form showing method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464439A (en) * 2002-06-18 2003-12-31 国际商业机器公司 System and process for developing customized business report forms in the WEB applications

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464439A (en) * 2002-06-18 2003-12-31 国际商业机器公司 System and process for developing customized business report forms in the WEB applications

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘军,阳小华,杨星: "基于B/S模式的通用型组合查询组件的设计", 《微计算机信息》 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789457A (en) * 2011-05-17 2012-11-21 航天信息股份有限公司 Method for dynamically customizing filter conditions
CN104133826A (en) * 2013-09-26 2014-11-05 腾讯科技(深圳)有限公司 Method for creating data report business, relevant device and business system
CN103577189A (en) * 2013-10-30 2014-02-12 北京华胜天成科技股份有限公司 Method and system for realizing query condition
CN103577189B (en) * 2013-10-30 2017-08-04 北京华胜天成科技股份有限公司 The method and system that querying condition is realized
CN103605779A (en) * 2013-11-28 2014-02-26 北京国双科技有限公司 Report generation method and device
CN104714949A (en) * 2013-12-11 2015-06-17 航天信息股份有限公司 Method for customizing report dynamically
CN104572813A (en) * 2014-11-26 2015-04-29 国家电网公司 Report generation method and device
CN104572813B (en) * 2014-11-26 2019-02-26 国家电网公司 A kind of report generation method and device
CN104391708A (en) * 2014-12-08 2015-03-04 畅捷通信息技术股份有限公司 Time determination method and device
CN104391708B (en) * 2014-12-08 2017-09-15 畅捷通信息技术股份有限公司 Time determines method and time determining device
CN105354025B (en) * 2015-10-18 2018-09-14 广州赛意信息科技股份有限公司 Business model based on mobile application configures system and method
CN108089899A (en) * 2016-11-22 2018-05-29 深圳市创梦天地科技有限公司 Inquire about the implementation method and device of report
CN108089899B (en) * 2016-11-22 2021-06-01 深圳市创梦天地科技有限公司 Method and device for realizing query report
CN110362591A (en) * 2018-04-02 2019-10-22 北京神州泰岳软件股份有限公司 A kind of report form showing method and device
CN110362591B (en) * 2018-04-02 2022-02-22 北京神州泰岳软件股份有限公司 Report form display method and device

Similar Documents

Publication Publication Date Title
CN101697122A (en) Method for generating report query conditions through predefined components
CN100363892C (en) Method and system for managing development objects for computer program code
CN101727324B (en) Code generation method and device
CN101477463B (en) Software platform and software development platform used for digital television set-top box
CN103440264B (en) The realization method and system of electric power field operation form
CN106528129A (en) Web application interface generation system and method
CN102436498B (en) Report form generating method and relative device
CN111831276B (en) Software visualization rapid development system
CN106371825A (en) Dynamic form generation method and apparatus for mobile end application interface
CN104679488A (en) Flow path customized development platform and method
CN102663103A (en) Configurable method for automatically generating database and accessing data
CN109445886A (en) A kind of interface display method, system and terminal device
CN102495735A (en) Web end UI (user interface) component application frame system
CN104317595A (en) Background-push component-based graphical monitoring device based on SVG (scalable vector graphics) and operating method thereof
CN106873974A (en) Smart code generates automotive engine system and method
CN101276278A (en) Code conversion apparatus
CN102222278A (en) Operation process customizing method and device
CN104915378A (en) Rapid statistics task generation system and method suitable for big data
CN103268226A (en) Test script file generation method and device
CN102298740A (en) Business process management supporting method
CN103530097A (en) Implement method and device of module crossing middleware platform
CN104391731A (en) Editing method based on C# and irrelevant to data types
CN114707474A (en) Report generation method and device, electronic equipment and computer readable storage medium
CN103164573A (en) Product data management (PDM) design system
He et al. ISA-95 tool for enterprise modeling

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100421