The content of the invention
It is an object of the invention to overcome the defect of prior art there is provided based on decoupling mechanism can iteration set up business system
The method and its terminal of system.
To achieve the above object, the present invention uses following technical scheme:Based on decoupling mechanism can iteration set up business system
The method of system, methods described includes:
Query service request is obtained, and the procedure information having permission is obtained from the request and is circulated;
According to the procedure information, associated component is opened;
The list service set according to the associated component carries out respective operations successively, obtains list service data;
Submission form service data;
Operation system is set up according to list service data and associated component.
Its further technical scheme is:Query service request is obtained, and the flow letter having permission is obtained from the request
The step of breath is circulated, including step in detail below:
Query service request is obtained, and data base querying is jumped to according to the request;
The Query Result of database is obtained, and configures associated component;
The attribute configuration of the component is stored, and parses the form of the attribute configuration;
According to the query service request, the association flow services information of the component is built, with the association flow clothes
Business information is circulated as the procedure information having permission.
Its further technical scheme is:In the step of obtaining the Query Result of database, and configure associated component, the phase
Closing component includes at least one of link title, enterprise name, the type of business, the Date of Incorporation and state.
Its further technical scheme is:Respective operations are carried out according to the list service that the associated component is set successively, obtained
The step of taking list service data, including step in detail below:
Common controls are configured, page control is obtained;
Initialize the data source of electronic spreadsheet;
The value and the field in the data source of page control are bound, the page control of binding is obtained;
According to the page control of binding, list service data is obtained.
Its further technical scheme is:Common controls are configured, in the step of obtaining page control, the common controls are text
At least one of this frame, combobox, radio box, check box and annex.
Its further technical scheme is:Common controls are configured, in the step of obtaining page control, the page control includes
Enterprise name, the type of business, legal representative, registered capital, the Date of Incorporation, operating period, business scope, residence and checked
At least one of journey, wherein, it is described check process include flow chart, examination & approval link, approver, the examination & approval time, state and
At least one of suggestions made after examination.
Present invention also offers based on decoupling mechanism can iteration set up the terminal of operation system, including acquisition request list
Member, component opening unit, data capture unit, submission unit and establishment unit;
The acquisition request unit, for obtaining query service request, and obtains the flow having permission from the request
Information is circulated;
The component opening unit, for according to the procedure information, opening associated component;
The data capture unit, the list service for being set according to the associated component carries out respective operations successively,
Obtain list service data;
The submission unit, for submission form service data;
The establishment unit, for setting up operation system according to list service data and associated component.
Its further technical scheme is:The acquisition request unit includes enquiry module, configuration module, storing and resolving module
And information architecture module;
The enquiry module, data base querying is jumped to for obtaining query service request, and according to the request;
The configuration module, for obtaining the Query Result of database, and configures associated component;
The storing and resolving module, for storing the attribute configuration of the component, and parses the form of the attribute configuration;
Described information builds module, for according to the query service request, building the association flow services of the component
Information, is circulated using the association flow services information as the procedure information having permission.
Its further technical scheme is:The data capture unit includes space configuration module, initialization module, binding mould
Block and acquisition module;
The space configuration module, for configuring common controls, obtains page control;
The initialization module, the data source for initializing electronic spreadsheet;
The binding module, value and the field in the data source for binding page control, obtains the page of binding
Control;
The acquisition module, for the page control according to binding, obtains list service data.
Compared with the prior art, the invention has the advantages that:The present invention based on decoupling mechanism can iteration set up business
The method of system, by obtaining the request of the service of inquiry, arranges correspondence component, and the list in component is taken according to procedure information
Business is operated, and obtains form data, and operation system is set up using form data and component, realizes that quick response client needs
Ask, interface configurations instrument is pulled using Web visualizations, business and skill are realized in the technical threshold requirement of reduction operation system exploitation
Art is separated so that the construction cycle is short and cost is low.
The invention will be further described with specific embodiment below in conjunction with the accompanying drawings.
Embodiment
In order to more fully understand the technology contents of the present invention, technical scheme is entered with reference to specific embodiment
One step introduction and explanation, but it is not limited to this.
Specific embodiment as shown in Fig. 1~10, the present embodiment provide based on decoupling mechanism can iteration set up business
The method of system, can be used in during the operation system for setting up any industry, realize quick response customer demand, reduce industry
The technical threshold requirement of business system development, the construction cycle is short and cost is low.
As shown in figure 1, be the present embodiment provide based on decoupling mechanism can iteration set up operation system method, the party
Method includes:
S1, query service request is obtained, and the procedure information having permission is obtained from the request circulated;
S2, according to the procedure information, open associated component;
S3, the list service set according to the associated component carry out respective operations successively, obtain list service data;
S4, submission form service data;
S5, operation system set up according to list service data and associated component.
Further, above-mentioned S1 steps, obtain query service request, and the stream having permission is obtained from the request
The step of journey information is circulated, including step in detail below:
S11, acquisition query service request, and data base querying is jumped to according to the request;
S12, the Query Result for obtaining database, and configure associated component;
S13, the storage component attribute configuration, and parse the form of the attribute configuration;
S14, according to the query service request, build the association flow services information of the component, flowed with the association
Journey information on services is circulated as the procedure information having permission.
Above-mentioned S11 steps, obtain query service request, and jump to data base querying according to the request, are specifically
According to request, the data inquired about in database, and provided with Web visualization dragging interface configurations instrument, there is provided inquiry on the page
The configuration in table data source, the data base querying on backstage is realized by writing SQL statement, visualization pulls interface configurations instrument can
So that inquiry row are placed into fixed position, support to merge gauge outfit, the configuration of row click event.
Above-mentioned query service request can obtain request according to querying condition, and there is provided including input frame, combobox, day
The control such as phase frame and operation button as querying condition input, control support define data source, initial value configuration etc. content.
For S12 steps, in the step of obtaining the Query Result of database, and configure associated component, the associated component
Including at least one of link title, enterprise name, the type of business, the Date of Incorporation and state.Its design sketch such as Fig. 7 institutes
Show.
For S13 steps, the step of storing the attribute configuration of the component, and parse the form of the attribute configuration, tool
Body is to store the configuration of each component property with xml forms, then xml format analysis is converted into html forms.Pass through engine solution again
Analyse html forms.
In addition, for also carrying operation button, button support priority assignation and the operation for performing event in associated component;Its
Middle event action includes opening new window, performs SQL operations, writes JS script operations and perform extension class etc.;Open new window
When definable window size, exhibition method and open content;The exhibition method of new window is containing global opening, nested opening etc.;Newly
The opening content of window is that query page, forms pages, report page, the face version designed by page designer and is made by oneself the page
The page of justice exploitation.
In the configuration process of whole associated component, support row field form conversion, conversion regime have fixed key-value pair,
In the mode Auto-matchings such as SQL query result, digital dictionary, information displaying configuration, including pattern, content, sequence, page turning etc.
Hold, support query configuration content generation jsp file, generation JSP contents can be supported to carry out visual presentation, support inquiry list
Real-time online preview, supports Query Result export excel, supports self-defined inquiry, supporting interface data source.
For S2 steps, according to the procedure information, associated component is opened, is that the content of each component is entered according to flow
Row filling, has formed the operation system of an association.
Further, for S3 steps, respective operations are carried out according to the list service that the associated component is set successively,
The step of obtaining list service data, including step in detail below:
S31, configuration common controls, obtain page control;
S32, the data source for initializing electronic spreadsheet;
S33, the value for binding page control and the field in the data source, obtain the page control of binding;
S34, the page control according to binding, obtain list service data.
For above-mentioned S31 steps, common controls are configured, the step of obtaining page control, the common controls are text
At least one of frame, combobox, radio box, check box and annex, its design sketch are as shown in Figure 8.And the page control
Including enterprise name, the type of business, legal representative, registered capital, the Date of Incorporation, operating period, business scope, residence and look into
At least one of process is seen, wherein, it is described to check that process includes flow chart, examination & approval link, approver, examination & approval time, state
At least one of and suggestions made after examination, its design sketch is as shown in Figure 9.
Above-mentioned common controls and the attribute of page control support pattern to set, verification type is set, control data source
The management of the attributes such as setting, respiratory sensation setting.
Certainly, when configuring common controls and obtaining page control, interface configurations work is pulled with Web visualizations
Tool.
Above-mentioned S32 steps, the step of initializing the data source of electronic spreadsheet, the suction parameter for specifically including list is set
Put, initialization data source is set, multiple data sources can be set in a page, data source types support single line of data and list number
According to.
Above-mentioned S33 steps, bind the value and the field in the data source of page control, obtain the page control of binding
The step of, page control supports multirow list configuration, and correspondence initialization list data source can carry out one-to-many data to list
Configuration and displaying.The preservation of the numerical value of the page control of binding supports that pressing different conditions performs different database manipulations, its
Conditional can be combined by different parameters, should supported database operating aspect settable dynamic variable, can held
Row increase, deletion, renewal operation, can perform the storing process for passing parameter.
In addition, for the page control of binding, supporting expansible class to be inquired about list and stored operation, support
List configuration content generation jsp file, shows the JSP contents of generation, supports the real-time online preview of electronic spreadsheet, supporting interface
Data source.
Include Web visualizations for the flow chart during above-mentioned check and pull interface configurations instrument, including conventional
Node drag and drop and associated configuration, such as start, terminate, task, decision-making, branch, merging, the node such as sub-process, pass through line
Mode realizes that node dependence is configured.
As shown in figure 9, node supports a variety of authority configurations, including the global authority of application and department, role, user's group, people
The authority configuration of member, task node supports flexible display configuration, and base page, approval process can be shown by checking the page of process
The page, other secondary pages;Base page:The binding of multiple forms pages can be added, can enter edlin to list or check
Operation;The upload such as multiple annexes can be added.Examine the examination & approval of link, approver, examination & approval time, state and suggestions made after examination composition
The process page:Definable whether show approval process and whether flow for displaying figure;Other secondary pages:Definable is multiple to be checked
With the self-defined page of editor, such as risk prevention system page is checked;The page of definition can be supported to carry out normal arrangement operation.Examination & approval
The approval process page that link, approver, examination & approval time, state and suggestions made after examination are constituted can show task node support
It is no examine, conutersign, cancelling, retracting, the attribute that prompting message etc. is abundant.Task is supported to do it is, of course, also possible to which task node is presented
Time limit setting, node risk is managed to set.Wherein, risk, which is set, includes risk class and prevention and control measure;Task node supports system
Message, short message, lettergram mode notify next processing people.
Above-mentioned building mode uses iteration forming types, quick in the shortest time to deliver application system, passes through industry
Business demand is actual, and iteratively faster constantly corrects product, the final demand for adapting to market.
Above-mentioned use Web visualizations pull interface configurations instrument, can allow user or common developer entirely, without writing
Software code is the rapid build that application system can be achieved, and reduces development technique threshold requirement.
And business need to be only saved the data in database, there is technical staff's design to realize transferring for data in database,
Realize that business is separated with technology, allow implementation personnel to focus more on business realizing, precisely hold user's request, make technical staff special
Note in formation function, allow and more preferably cooperate with the division of labor between the two, project duration can be greatly shortened, save project construction cost.
It is above-mentioned based on decoupling mechanism can the iteration method of setting up operation system, by obtaining the request of the service of inquiry,
According to procedure information arrangement correspondence component, and the list service in component is operated, obtain form data, utilize list number
According to this and component set up operation system, realize quick response customer demand, using Web visualization pull interface configurations instrument, drop
The technical threshold requirement of low operation system exploitation, realizes that business is separated with technology so that the construction cycle is short and cost is low.
As shown in figure 4, be the present embodiment provide based on decoupling mechanism can iteration set up operation system terminal, its wrap
Include acquisition request unit 1, component opening unit 2, data capture unit 3, submission unit 4 and set up unit 5.
Acquisition request unit 1, for obtaining query service request, and obtains the procedure information having permission from the request
Circulated.
Component opening unit 2, for according to the procedure information, opening associated component.
Data capture unit 3, the list service for being set according to the associated component carries out respective operations successively, obtains
List service data.
Unit 4 is submitted, for submission form service data.
Unit 5 is set up, for setting up operation system according to list service data and associated component.
Further, above-mentioned acquisition request unit 1 includes enquiry module 11, configuration module 12, storing and resolving module
13 and information architecture module 14.
Enquiry module 11, data base querying is jumped to for obtaining query service request, and according to the request.
Configuration module 12, for obtaining the Query Result of database, and configures associated component.
Storing and resolving module 13, for storing the attribute configuration of the component, and parses the form of the attribute configuration.
Information architecture module 14, for according to the query service request, building the association flow services letter of the component
Breath, is circulated using the association flow services information as the procedure information having permission.
Enquiry module 11 is specifically the data inquired about in database according to request, and is dragged on the page provided with Web visualizations
Interface configurations instrument is dragged there is provided the configuration in inquiry table data source, the data base querying on backstage is realized by writing SQL statement,
Visualization, which pulls interface configurations instruments, to be placed into fixed position by inquiry row, support to merge gauge outfit, row click event and match somebody with somebody
Put.Above-mentioned query service request can obtain request according to querying condition, and there is provided including input frame, combobox, dat frame
With input of the control such as operation button as querying condition, control is supported to define the contents such as data source, initial value configuration.
The associated component configured in configuration module 12 include link title, enterprise name, the type of business, the Date of Incorporation and
At least one of state.
Storing and resolving module 13 is specifically to store the configuration of each component property with xml forms, then xml format analysis is changed
For html forms.Html forms are parsed by engine again.
In addition, for also carrying operation button, button support priority assignation and the operation for performing event in associated component;Its
Middle event action includes opening new window, performs SQL operations, writes JS script operations and perform extension class etc.;Open new window
When definable window size, exhibition method and open content;The exhibition method of new window is containing global opening, nested opening etc.;Newly
The opening content of window is that query page, forms pages, report page, the face version designed by page designer and is made by oneself the page
The page of justice exploitation.
In the configuration process of whole associated component, support row field form conversion, conversion regime have fixed key-value pair,
In the mode Auto-matchings such as SQL query result, digital dictionary, information displaying configuration, including pattern, content, sequence, page turning etc.
Hold, support query configuration content generation jsp file, generation JSP contents can be supported to carry out visual presentation, support inquiry list
Real-time online preview, supports Query Result export excel, supports self-defined inquiry, supporting interface data source.
Component opening unit 2 is that the content of each component is filled according to flow, has formed the business of an association
System.
In addition, including space configuration module 31, initialization module 32, binding module for above-mentioned data capture unit 3
33 and acquisition module 34.
Space configuration module 31, for configuring common controls, obtains page control.
Initialization module 32, the data source for initializing electronic spreadsheet.
Binding module 33, value and the field in the data source for binding page control, obtains the page control of binding
Part.
Acquisition module 34, for the page control according to binding, obtains list service data.
Common controls in space configuration module 31 be in text box, combobox, radio box, check box and annex extremely
Few one kind, its design sketch is as shown in Figure 8.And the page control includes enterprise name, the type of business, legal representative, registration money
Sheet, the Date of Incorporation, operating period, business scope, residence and at least one of process is checked, wherein, it is described to check process
Including at least one of flow chart, examination & approval link, approver, examination & approval time, state and suggestions made after examination
Above-mentioned common controls and the attribute of page control support pattern to set, verification type is set, control data source
The management of the attributes such as setting, respiratory sensation setting.
Certainly, when configuring common controls and obtaining page control, interface configurations work is pulled with Web visualizations
Tool.
The suction parameter that initialization module 32 specifically includes list is set, initialization data source is set, and a page can be set
Multiple data sources are put, data source types support single line of data and table data.
In the course of work of binding module 33, page control supports multirow list configuration, and correspondence initialization list data source can
The data configuration one-to-many to list progress and displaying.The preservation of the numerical value of the page control of binding is supported to hold by different conditions
The different database manipulation of row, its conditional can be combined by different parameters, should be propped up to database operating aspect
Settable dynamic variable is held, increase is can perform, deletes, updates operation, can perform the storing process for passing parameter.
In addition, for the page control of binding, supporting expansible class to be inquired about list and stored operation, support
List configuration content generation jsp file, shows the JSP contents of generation, supports the real-time online preview of electronic spreadsheet, supporting interface
Data source.
Include Web visualizations for the flow chart during above-mentioned check and pull interface configurations instrument, including conventional
Node drag and drop and associated configuration, such as start, terminate, task, decision-making, branch, merging, the node such as sub-process, pass through line
Mode realizes that node dependence is configured.
In addition, node supports a variety of authority configurations, including the global authority of application and department, role, user's group, the power of personnel
Limit configuration, task node supports flexible display configuration, check process the page can show base page, the approval process page,
Other secondary pages;Base page:The binding of multiple forms pages can be added, edlin or the operation checked can be entered to list;
The upload such as multiple annexes can be added.Examine the approval process of link, approver, examination & approval time, state and suggestions made after examination composition
The page:Definable whether show approval process and whether flow for displaying figure;Other secondary pages:Definable is multiple need to be checked and compile
Volume the self-defined page, such as risk prevention system page checks;The page of definition can be supported to carry out normal arrangement operation.Examine ring
Whether the approval process page that section, approver, examination & approval time, state and suggestions made after examination are constituted can show task node support
Examine, conutersign, cancelling, retracting, the attribute that prompting message etc. is abundant.Task is supported to handle it is, of course, also possible to which task node is presented
Time limit is set, node risk is set.Wherein, risk, which is set, includes risk class and prevention and control measure;Task node supports system to disappear
Breath, short message, lettergram mode notify next processing people.
Above-mentioned building mode uses iteration forming types, quick in the shortest time to deliver application system, passes through industry
Business demand is actual, and iteratively faster constantly corrects product, the final demand for adapting to market.
Above-mentioned use Web visualizations pull interface configurations instrument, can allow user or common developer entirely, without writing
Software code is the rapid build that application system can be achieved, and reduces development technique threshold requirement.
And business need to be only saved the data in database, there is technical staff's design to realize transferring for data in database,
Realize that business is separated with technology, allow implementation personnel to focus more on business realizing, precisely hold user's request, make technical staff special
Note in formation function, allow and more preferably cooperate with the division of labor between the two, project duration can be greatly shortened, save project construction cost.
It is above-mentioned based on decoupling mechanism can iteration set up the terminal of operation system, by obtaining the request of the service of inquiry,
According to procedure information arrangement correspondence component, and the list service in component is operated, obtain form data, utilize list number
According to this and component set up operation system, realize quick response customer demand, using Web visualization pull interface configurations instrument, drop
The technical threshold requirement of low operation system exploitation, realizes that business is separated with technology so that the construction cycle is short and cost is low.
The above-mentioned technology contents that the present invention is only further illustrated with embodiment, in order to which reader is easier to understand, but not
Represent embodiments of the present invention and be only limitted to this, any technology done according to the present invention extends or recreated, by the present invention's
Protection.Protection scope of the present invention is defined by claims.