CN103577165A - Form generation method and form generator - Google Patents

Form generation method and form generator Download PDF

Info

Publication number
CN103577165A
CN103577165A CN201210254404.4A CN201210254404A CN103577165A CN 103577165 A CN103577165 A CN 103577165A CN 201210254404 A CN201210254404 A CN 201210254404A CN 103577165 A CN103577165 A CN 103577165A
Authority
CN
China
Prior art keywords
data
assembly
list
parameter information
component
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
CN201210254404.4A
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.)
HANGZHOU LECAST ADVERTISING PLANNING CO Ltd
Original Assignee
HANGZHOU LECAST ADVERTISING PLANNING 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 HANGZHOU LECAST ADVERTISING PLANNING CO Ltd filed Critical HANGZHOU LECAST ADVERTISING PLANNING CO Ltd
Priority to CN201210254404.4A priority Critical patent/CN103577165A/en
Publication of CN103577165A publication Critical patent/CN103577165A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a form generation method and a form generator. The form generation method includes receiving a form construction request and determining business that a form to be built corresponds to; acquiring the work flow of the business; building forms that flow nodes of the working flow correspond to and building assemblies in the forms and corresponding to sub flows in the flow nodes according to the sub flows; acquiring parameter information of the assemblies and binding data in a data base and matched with the assemblies according to the parameter information of the assemblies to generate the forms that the flow nodes correspond to, wherein the data structure of the data matched with the assemblies is determined according to the parameter information of the assemblies. Therefore, the assemblies in the forms can be built by a user according to the flow nodes and are not required to be built by developers with data base knowledge, the development efficiency is improved, and development cost and maintenance cost are reduced.

Description

A kind of list generation method and form builder
Technical field
The application relates to sheet disposal field, particularly a kind of list generation method and form builder.
Background technology
Before cloud platform is used, the corresponding complete workflow of any one business, wherein workflow is created by user.The corresponding list of each flow nodes in workflow, each list binding flow nodes desired data.Therefore, server is in operation during certain business, can call the list corresponding with each flow nodes in workflow and realize the calling of data, the execution of finishing service.
At present, list generation method based on workflow generally adopts the list generation method based on data binding, the method is separated by the interface portion of the data division of list and list, and the data division of list adopts the data binding mode of loose coupling, in list generative process, each assembly in list can adopt " table. row " mode data that the concrete row in the concrete table in component binding database are preserved.When database changes, user needs to change the assembly of binding data.
Although the data division of the list generating based on said method is realized the loose coupling of data binding, but the method still requires user to understand the basic general knowledge of database, therefore when database changes, still need to revise list by the developer who understands database, reduce development efficiency, improve cost of development and maintenance cost.
Summary of the invention
The application's technical matters to be solved is to provide a kind of list generation method, in order to solve in prior art the list generation method based on data binding when database changes, still need developer to revise list, development efficiency reduces, the problem that cost of development and maintenance cost improve.
The application also provides a kind of form builder, in order to guarantee said method implementation and application in practice.
One side based on the application, provides a kind of list generation method, comprising:
Receive list and build request, determine business corresponding to list to be built;
Obtain the workflow of described business;
Build list corresponding to each flow nodes in described workflow, and create the assembly corresponding with described sub-process in list according to the sub-process in described flow nodes;
Obtain the parameter information of described assembly, and according in the parameter information binding data storehouse of described assembly with the data of described component matching, to generate list corresponding to each flow nodes, wherein determine according to the parameter information of described assembly with the data structure of the data of described component matching.
Preferably, the parameter information of described assembly comprises component type;
Described data structure is concrete to be determined according to described component type.
Preferably, whether the parameter information of described assembly also comprises component Name and is required item;
Wherein, the title of described data is identical with described component Name;
Whether described whether be required item have the data with described component matching for reminder-data storehouse.
Preferably, the described component Name of different assemblies is different.
Preferably, also comprise:
The request of receiving unit Type Change, determines assembly to be changed;
Change the described component type of described assembly.
Based on the application on the other hand, also provide a kind of form builder, comprising:
Receiving element, builds request for receiving list, determines business corresponding to list to be built;
Flow process acquiring unit, for obtaining the workflow of described business;
Construction unit, for building list corresponding to each flow nodes of described workflow, and creates the assembly corresponding with described sub-process in list according to the sub-process in described flow nodes;
Data capture unit, for obtaining the parameter information of described assembly, and according in the parameter information binding data storehouse of described assembly with the data of described component matching, to generate list corresponding to each flow nodes, wherein determine according to the parameter information of described assembly with the data structure of the data of described component matching.
Preferably, the parameter information of described assembly comprises component type;
Described data structure is concrete to be determined according to described component type.
Preferably, whether the parameter information of described assembly also comprises component Name and is required item;
Wherein, the title of described data is identical with described component Name;
Whether described whether be required item have the data with described component matching for reminder-data storehouse.
Preferably, the described component Name of different assemblies is different.
Preferably, also comprise: changing unit, for the request of receiving unit Type Change, determine assembly to be changed, change the described component type of described assembly.
Compared with prior art, the application comprises following advantage:
The application, when building list corresponding to each flow nodes, can create the assembly in list, the parameter information of securing component according to flow nodes neutron flow process.In building component process, determine according to the parameter information of assembly with the data structure of the data of component matching, in database the structure of data according to the parameter information automatic mapping of the assembly creating.Therefore, the assembly in list can be created according to flow nodes by user, without the developer by possessing database knowledge, creates, and improves development efficiency, reduces cost of development and maintenance cost.
Certainly, arbitrary product of enforcement the application might not need to reach above-described all advantages simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present application, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiment of the application, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the process flow diagram of a kind of list generation method of the application;
Fig. 2 is a kind of structural representation of a kind of form builder of the application;
Fig. 3 is the another kind of structural representation of a kind of form builder of the application.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only the application's part embodiment, rather than whole embodiment.Embodiment based in the application, those of ordinary skills are not making the every other embodiment obtaining under creative work prerequisite, all belong to the scope of the application's protection.
The application can be used in numerous general or special purpose calculation element environment or configuration.For example: server computer, multi-processor device and comprise distributed computing environment of above any device or equipment etc.
The application can describe in the general context of the computer executable instructions of being carried out by computing machine, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract data type, program, object, assembly, data structure etc.Also can in distributed computing environment, put into practice the application, in these distributed computing environment, by the teleprocessing equipment being connected by communication network, be executed the task.In distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
Please refer to Fig. 1, it shows the process flow diagram of a kind of list of the application generation method, can comprise the following steps:
Step 101: receive list and build request, determine business corresponding to list to be built.
The present embodiment can add " structure " option in menu, and list is built to request and the binding of " structure " option.When user need to build the list of workflow corresponding to certain business, click the mouse and choose this business.Then, user click mouse display menu is chosen " structure " option in menu.When choosing " structure " option, list builds request and automatically sends, and this list builds in request and carries Business Name, with the business of determining that list to be built is corresponding.
Step 102: the workflow of obtaining described business.
Workflow is the implementation of business, and it is preset according to concrete business by user, and the corresponding workflow of each business.
In the present embodiment, the title of workflow can be Business Name, and all working flow process is kept in same list.When determining the business of list to be built, according to Business Name, can from list, obtain the workflow of business.
Step 103: build list corresponding to each flow nodes in described workflow, and create the assembly corresponding with described sub-process in list according to the sub-process in described flow nodes.
In the present embodiment, workflow comprises a plurality of flow nodes, and each flow nodes comprises a plurality of sub-processes.Wherein, flow nodes refers to an execution step in business, and sub-process refers to the sub-step in execution step.The corresponding list of each flow nodes, and an assembly in the corresponding list of each sub-process in flow nodes.
Step 104: the parameter information that obtains described assembly, and according in the parameter information binding data storehouse of described assembly with the data of described component matching, to generate list corresponding to each flow nodes, wherein determine according to the parameter information of described assembly with the data structure of the data of described component matching.
In the present embodiment, the parameter information of assembly can comprise component type.Said modules type can be control class type, as text box or textview field, this is not limited.After the component type of assembly is determined, the data structure of the data that match with this assembly in database can be determined according to component type.When if component type is textview field, the data structure of the data that match with this assembly can be file structure, if component type is form, the data structure of the data that match with this assembly can be list.
Further, when user is when creating list, in list, the data structure of the data of component matching is according to component type automatic mapping.If component type changes, data structure completes renewal automatically, without operating personnel, manually upgrades, therefore, in the application, list can be created according to flow nodes by user, without the developer by possessing database knowledge, creates, improve development efficiency, reduce cost of development and maintenance cost.
In addition, whether the parameter information of assembly can also comprise component Name and be required item.Wherein, component Name is as the title of data.For Assurance component is when the matched data, can mate the data corresponding with it, the component Name of different assemblies is different, the component Name that is each assembly is unique, therefore assembly, when carrying out data binding, can find unique data corresponding with it, avoids data binding to make mistakes.When certain list comprises the assembly of another list, can directly use this assembly simultaneously, omit building component process, improve development efficiency.
Need explanation time: in building component process component type set wrong, can the request of receiving unit Type Change, determine assembly to be changed, the component type of change assembly.
In the present embodiment, all component type is arranged in combobox, and component type change request is bundled in and is clicked in combobox operation.If desired change component type, click combobox, component type change request sends.But user while choosing in combobox certain type shows the component type of this assembly to change to the type of choosing.
Application technique scheme, when building list corresponding to each flow nodes, can create the assembly in list, the parameter information of securing component according to flow nodes neutron flow process.In building component process, determine according to the parameter information of assembly with the data structure of the data of component matching, in database the structure of data according to the parameter information automatic mapping of the assembly creating.Therefore, the assembly in list can be created according to flow nodes by user, without the developer by possessing database knowledge, creates, and improves development efficiency, reduces cost of development and maintenance cost.
For aforesaid embodiment of the method, for simple description, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the application is not subject to the restriction of described sequence of movement, because according to the application, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and related action and module might not be that the application is necessary.
Embodiment is corresponding with said method, and the application also provides a kind of form builder, and its structural representation refers to shown in Fig. 2, can comprise: receiving element 11, flow process acquiring unit 12, construction unit 13 and data capture unit 14.Wherein,
Receiving element 11, builds request for receiving list, determines business corresponding to list to be built.
Acquiring unit 12, for obtaining the workflow of described business.
Construction unit 13, for building list corresponding to each flow nodes of described workflow, and creates the assembly corresponding with described sub-process in list according to the sub-process in described flow nodes.
Data capture unit 14, for obtaining the parameter information of described assembly, and according in the parameter information binding data storehouse of described assembly with the data of described component matching, to generate list corresponding to each flow nodes, wherein determine according to the parameter information of described assembly with the data structure of the data of described component matching.
In the present embodiment, the parameter information of assembly can comprise component type.Said modules type can be control class type, as text box or textview field, this is not limited.After the component type of assembly is determined, the data structure of the data that match with this assembly in database can be determined according to component type.When if component type is textview field, the data structure of the data that match with this assembly can be file structure, if component type is form, the data structure of the data that match with this assembly can be list.
Further, when user is when creating list, in list, the data structure of the data of component matching is according to component type automatic mapping.If component type changes, data structure completes renewal automatically, without operating personnel, manually upgrades, therefore, in the application, list can be created according to flow nodes by user, without the developer by possessing database knowledge, creates, improve development efficiency, reduce cost of development and maintenance cost.
In addition, whether the parameter information of assembly can also comprise component Name and be required item.Wherein, component Name is as the title of data.For Assurance component is when the matched data, can mate the data corresponding with it, the component Name of different assemblies is different, the component Name that is each assembly is unique, therefore assembly, when carrying out data binding, can find unique data corresponding with it, avoids data binding to make mistakes.When certain list comprises the assembly of another list, can directly use this assembly simultaneously, omit building component process, improve development efficiency.
Refer to Fig. 3, it shows the another kind of structural representation of a kind of form builder of the application, on Fig. 2 basis, also comprises changing unit 15, for the request of receiving unit Type Change, determines assembly to be changed, changes the described component type of described assembly.
In the present embodiment, all component type is arranged in combobox, and component type change request is bundled in and is clicked in combobox operation.If desired change component type, click combobox, component type change request sends.But user while choosing in combobox certain type shows the component type of this assembly to change to the type of choosing.When component type changes, data structure completes renewal automatically, without operating personnel, manually upgrades.
It should be noted that, each embodiment in this instructions all adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For device class embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
Finally, also it should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
While for convenience of description, describing above device, with function, being divided into various unit describes respectively.Certainly, when implementing the application, the function of each unit can be realized in same or a plurality of software and/or hardware.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the application can add essential general hardware platform by software and realizes.Understanding based on such, the part that the application's technical scheme contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out the method described in some part of each embodiment of the application or embodiment.
A kind of list generation method and the form builder that above the application are provided are described in detail, applied specific case herein the application's principle and embodiment are set forth, the explanation of above embodiment is just for helping to understand the application's method and core concept thereof; Meanwhile, for one of ordinary skill in the art, the thought according to the application, all will change in specific embodiments and applications, and in sum, this description should not be construed as the restriction to the application.

Claims (10)

1. a list generation method, is characterized in that, comprising:
Receive list and build request, determine business corresponding to list to be built;
Obtain the workflow of described business;
Build list corresponding to each flow nodes in described workflow, and create the assembly corresponding with described sub-process in list according to the sub-process in described flow nodes;
Obtain the parameter information of described assembly, and according in the parameter information binding data storehouse of described assembly with the data of described component matching, to generate list corresponding to each flow nodes, wherein determine according to the parameter information of described assembly with the data structure of the data of described component matching.
2. list generation method according to claim 1, is characterized in that, the parameter information of described assembly comprises component type;
Described data structure is concrete to be determined according to described component type.
3. list generation method according to claim 2, is characterized in that, whether the parameter information of described assembly also comprises component Name and be required item;
Wherein, the title of described data is identical with described component Name;
Whether described whether be required item have the data with described component matching for reminder-data storehouse.
4. list generation method according to claim 3, is characterized in that, the described component Name of different assemblies is different.
5. list generation method according to claim 3, is characterized in that, also comprises:
The request of receiving unit Type Change, determines assembly to be changed;
Change the described component type of described assembly.
6. a form builder, is characterized in that, comprising:
Receiving element, builds request for receiving list, determines business corresponding to list to be built;
Flow process acquiring unit, for obtaining the workflow of described business;
Construction unit, for building list corresponding to each flow nodes of described workflow, and creates the assembly corresponding with described sub-process in list according to the sub-process in described flow nodes;
Data capture unit, for obtaining the parameter information of described assembly, and according in the parameter information binding data storehouse of described assembly with the data of described component matching, to generate list corresponding to each flow nodes, wherein determine according to the parameter information of described assembly with the data structure of the data of described component matching.
7. form builder according to claim 6, is characterized in that, the parameter information of described assembly comprises component type;
Described data structure is concrete to be determined according to described component type.
8. form builder according to claim 6, is characterized in that, whether the parameter information of described assembly also comprises component Name and be required item;
Wherein, the title of described data is identical with described component Name;
Whether described whether be required item have the data with described component matching for reminder-data storehouse.
9. form builder according to claim 8, is characterized in that, the described component Name of different assemblies is different.
10. form builder according to claim 8, is characterized in that, also comprises: changing unit, for the request of receiving unit Type Change, determine assembly to be changed, and change the described component type of described assembly.
CN201210254404.4A 2012-07-20 2012-07-20 Form generation method and form generator Pending CN103577165A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210254404.4A CN103577165A (en) 2012-07-20 2012-07-20 Form generation method and form generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210254404.4A CN103577165A (en) 2012-07-20 2012-07-20 Form generation method and form generator

Publications (1)

Publication Number Publication Date
CN103577165A true CN103577165A (en) 2014-02-12

Family

ID=50049022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210254404.4A Pending CN103577165A (en) 2012-07-20 2012-07-20 Form generation method and form generator

Country Status (1)

Country Link
CN (1) CN103577165A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445536A (en) * 2016-09-28 2017-02-22 湛江市霞山区新软佳科技有限公司 Automated business design management system
CN107203626A (en) * 2017-05-27 2017-09-26 网宿科技股份有限公司 A kind of BPM method and system
CN107665204A (en) * 2016-07-28 2018-02-06 北京京东尚科信息技术有限公司 A kind of method and apparatus that list is provided
CN108510240A (en) * 2018-03-26 2018-09-07 科大国创软件股份有限公司 A kind of document dynamic configuration system and its configuration method
CN109446271A (en) * 2018-10-31 2019-03-08 阿里巴巴集团控股有限公司 A kind of method of data synchronization, device, equipment and medium
CN109743202A (en) * 2018-12-26 2019-05-10 中国联合网络通信集团有限公司 Management method, device, equipment and the readable storage medium storing program for executing of data
CN110362555A (en) * 2019-06-28 2019-10-22 武汉钢铁有限公司 Workflow form control method
CN111506307A (en) * 2020-04-10 2020-08-07 北京凌云光技术集团有限责任公司 Parameter chain-based subentry expansion method and system
CN112308440A (en) * 2020-11-06 2021-02-02 平安证券股份有限公司 Work order processing method and device, computer equipment and computer readable storage medium

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107665204A (en) * 2016-07-28 2018-02-06 北京京东尚科信息技术有限公司 A kind of method and apparatus that list is provided
CN107665204B (en) * 2016-07-28 2021-01-26 北京京东尚科信息技术有限公司 Method and device for providing form
CN106445536A (en) * 2016-09-28 2017-02-22 湛江市霞山区新软佳科技有限公司 Automated business design management system
CN107203626A (en) * 2017-05-27 2017-09-26 网宿科技股份有限公司 A kind of BPM method and system
CN108510240A (en) * 2018-03-26 2018-09-07 科大国创软件股份有限公司 A kind of document dynamic configuration system and its configuration method
CN109446271A (en) * 2018-10-31 2019-03-08 阿里巴巴集团控股有限公司 A kind of method of data synchronization, device, equipment and medium
CN109743202A (en) * 2018-12-26 2019-05-10 中国联合网络通信集团有限公司 Management method, device, equipment and the readable storage medium storing program for executing of data
CN110362555A (en) * 2019-06-28 2019-10-22 武汉钢铁有限公司 Workflow form control method
CN110362555B (en) * 2019-06-28 2022-04-29 武汉钢铁有限公司 Workflow list control method
CN111506307A (en) * 2020-04-10 2020-08-07 北京凌云光技术集团有限责任公司 Parameter chain-based subentry expansion method and system
CN111506307B (en) * 2020-04-10 2023-04-14 凌云光技术股份有限公司 Parameter chain-based subentry expansion method and system
CN112308440A (en) * 2020-11-06 2021-02-02 平安证券股份有限公司 Work order processing method and device, computer equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN103577165A (en) Form generation method and form generator
CN102375731B (en) Coding-free integrated application platform system
US20140067836A1 (en) Visualizing reporting data using system models
CN101976199A (en) Object-oriented middleware distributed system development platform
CN104615617A (en) Dispatch monitoring information processing system for substation equipment
CN109117141B (en) Method, device, electronic equipment and computer readable storage medium for simplifying programming
CN102375734B (en) Application product development system, method and device and operation system, method and device
CN102393889A (en) Permissions configuration management system
CN104050275A (en) Method and system for reviewing project
CN106164867A (en) The increment parallel processing of data
CN109242288B (en) Performance data matching method and system
CN113014424B (en) Cloud platform management method and device, electronic equipment and storage medium
CN103345386A (en) Software production method, device and operation system
CN104461562A (en) Task creating method and system
CN110990396B (en) Data storage method, device and storage medium
CN110955715A (en) ERP system, data conversion method and device of target platform and electronic equipment
Bhattacharjee et al. A model-driven approach to automate the deployment and management of cloud services
CN103207783A (en) Software development engine system based on browser/server mode and building method thereof
CN105302709A (en) Test data generating method and device
CN102375743B (en) SOA(Service-Oriented Architecture) system development method based on model and template
CN105550762A (en) Meeting room appointment method and device
CN101072226B (en) Grid computing method and system
CN102541563A (en) Method and system for generating monitoring interfaces
CN109829639A (en) Service item monitoring method and device
CN104793928A (en) Developing and running platform implementation method and system based on Java

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140212