CN110457669A - The sheet disposal method and system based on B/S framework for facilitating service logic to control - Google Patents
The sheet disposal method and system based on B/S framework for facilitating service logic to control Download PDFInfo
- Publication number
- CN110457669A CN110457669A CN201910777535.2A CN201910777535A CN110457669A CN 110457669 A CN110457669 A CN 110457669A CN 201910777535 A CN201910777535 A CN 201910777535A CN 110457669 A CN110457669 A CN 110457669A
- Authority
- CN
- China
- Prior art keywords
- list
- control
- configuration
- definition
- information
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/177—Editing, e.g. inserting or deleting of tables; using ruled lines
- G06F40/18—Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Storage Device Security (AREA)
Abstract
The invention discloses a kind of sheet disposal method and system based on B/S framework for facilitating service logic to control, and provide view model registering functional, can simplify the operation of user with intensive data, be convenient for user sharing data;View model field is tied to form controls, is controlled convenient for service logic, safeguard protection can be provided for confidential data;Verification information configuration can be subjected to server back end verifying without being disposed on the control of front end in metadata, keep program operation safer;Run-time scenario information is configured, different business processing components can be bound for list, different business logic components can be called according to operation context, facilitate business processing.
Description
This case is so that application No. is 201610976524.3, the applying date is on November 7th, 2016, and entitled " one kind is based on
The sheet disposal method and form system of B/S framework " patent application be female case divisional application.
Technical field
The present invention relates to field of computer technology more particularly to it is a kind of facilitate that service logic controls based on B/S framework
Sheet disposal method and system.
Background technique
Currently, Form Designer is mostly used greatly desktop application or is realized in a manner of Integrated Development Environment card format, In
Need to install client software or plug-in unit when exploitation, form design result is saved in the form of HTML fragment in the database, in reality
When existing data are submitted, realized using control and data sheet field mapping mode.It is only submitted in list in submitting data procedures
Preceding to do business processing in advance, in relative complex business scene, inconvenience carries out Service control, and background business logic also adopt by inconvenience
With the common method of encapsulation.
Summary of the invention
The technical problems to be solved by the present invention are: providing a kind of table based on B/S framework for facilitating service logic to control
Form processing method and system.
In order to solve the above-mentioned technical problem, a kind of the technical solution adopted by the present invention are as follows: base for facilitating service logic to control
In the sheet disposal method of B/S framework, definition and configuration including carrying out list on webpage are specifically included:
Carry out view model registration;
The metadata information of view model is obtained by reflection technology;
Construct view model metadata structure tree;
The attribute node of metadata structure tree is tied to form controls.
The invention further relates to a kind of form processing systems based on B/S framework for facilitating service logic to control, including list
Definition module, the form definition module on webpage for carrying out the definition and configuration of list, for by the member of view model
Data information is tied to form controls.
The beneficial effects of the present invention are: view model registering functional is provided, the behaviour of user can be simplified with intensive data
Make, is convenient for user sharing data;View model field is tied to form controls, is controlled convenient for service logic, can be secret
Data provide safeguard protection.
Detailed description of the invention
Fig. 1 is the flow chart that view model is tied to form controls by the present invention;
Fig. 2 is the block diagram of form system of the present invention.
Specific embodiment
To explain the technical content, the achieved purpose and the effect of the present invention in detail, below in conjunction with embodiment and cooperate attached
Figure is explained.
The most critical design of the present invention is: view model field is tied to form controls, controlled convenient for service logic,
Safeguard protection can be provided for confidential data.
Fig. 1 and Fig. 2 is please referred to, a kind of sheet disposal method based on B/S framework for facilitating service logic to control is included in
The definition and configuration that list is carried out on webpage, specifically include:
Carry out view model registration;
The metadata information of view model is obtained by reflection technology;
Construct view model metadata structure tree;
The attribute node of metadata structure tree is tied to form controls.
As can be seen from the above description, the beneficial effects of the present invention are: view model registering functional is provided, number can be concentrated
According to user sharing data are convenient in the operation of simplified user;View model field is tied to form controls, is convenient for service logic
Control, can provide safeguard protection for confidential data.
Further, the definition for carrying out list and configuration are specific further include:
Carry out control information registration and Metadata registry;
Configure form fields permission, metadata validation information and Run-time scenario information.
Seen from the above description, Run-time scenario information is configured, different business processing components can be bound for list, it can root
Different business logic components are called according to operation context, facilitate business processing.
Further, after carrying out form definition and configuring further include: parsing list configuration obtains form controls and matches confidence
Breath, carries out the initialization of control.
Further, further includes: according to the metadata validation information of configuration, call corresponding verifying plug-in unit, verifying input
The correctness of value.
Seen from the above description, verification information is configured in metadata without being disposed on the control of front end, can be carried out
Server back end verifying keeps program operation safer.
Further, further includes: according to the form fields authority information and current context state of configuration, carry out permission meter
It calculates.
Further, further includes: list submit the total amount evidence is filled up in the view model.
Further, further includes: list is provided and shows Run-time scenario information locating for current form.
A kind of form processing system based on B/S framework for facilitating service logic to control, including form definition module, it is described
Form definition module on webpage for carrying out the definition and configuration of list, for the metadata information of view model to be tied to
Form controls.
Further, the form definition module is also used to carry out control information registration, Metadata registry, configuration form fields
Permission, metadata validation information and Run-time scenario information.
It further, further include list operation module, the list operation module includes:
Engine mould is fast, for parsing list configuration, obtains form controls configuration information, carries out the initialization of control;
Permission computing module, for carrying out permission calculating according to form fields privileges configuration information and current context state;
Authentication module verifies the correctness of input value for the metadata validation information according to configuration;
It is fast to be worth fill mould, for list submit the total amount evidence to be filled up in view model;
Event processing module realizes the place of the hot-swappable formula of event handling class for providing event handling stand-by master control logic
Adjustment method.
Embodiment
Please refer to Fig. 1 and Fig. 2, the embodiment of the present invention one are as follows: as shown in Figure 1, a kind of base for facilitating service logic to control
In the sheet disposal method of B/S framework, including following content:
The definition and configuration that list is carried out on webpage, specifically include, progress view model registration first, then by anti-
It penetrates technological means and obtains view model metadata information, view model metadata information includes Property Name, attribute type and category
Property description.View model metadata structure tree is constructed on the right side of the Form Designer in toolbar, passes through dragging metadata structure tree
On attribute node to form controls, designer control logic is then by attribute node searching route information solicitation to form controls
On NAME attribute, the binding of view model and form controls is realized.In the present embodiment, the operation of the Form Designer is mainly such as
Under: the basic operation of list classification, newly-increased subtype, deletion, modification, movement and addition including list classification;List it is basic
Operation, deletion, modification, movement, duplication, full screen editing and list Run-time scenario including list etc.;List Run-time scenario
Basic operation includes the newly-increased of scene, deletion, modification and paging query are shown etc.;Form layout's management, which operates, includes, list
New Layout, a key generate, import html text, reversed generation, save layout, preview, JS editing machine, CSS editing machine, revocation
Layout, export, attribute, binding data source, design printing, control box management, table operation and attribute event configuration etc., the control
The operation of part case includes classification load control, and the table operation includes addition table style, Merge Cells, split cells
Lattice, deletion row, deletion column, Delete Table, table moves up, table moves down, is inserted into control, upper insertion a line, lower insertion a line, a left side
One column of insertion, right insertion one column, layout attributes, cell attribute, upper insertion page break and lower fork such as page break etc.;The attribute
Event configuration includes attribute configuration, event configuration, metadata structure tree and recycle bin etc..
List is defined and further includes, carries out control information registration, Metadata registry, form fields authority configuration, first number
According to verifying configuration and Run-time scenario information configuration.Run-time scenario configuration include list entirety permission when defining list operation,
Initialization event processing and list submit event handling, provide list and show Run-time scenario information bound in current form.Institute
Stating form fields authority configuration includes: form fields selection, and form fields authority configuration provides the mode that batch selects form fields;Form fields
Permissions list shows current form authority configuration situation;List permission type, permission type include it is read-only, disabling and it is hidden.
In the list operation phase, parsing list configuration first obtains form controls configuration information, calls and accordingly generate agency
Displaying generating algorithm or printing generating algorithm, carry out the initialization of control.According to form fields privileges configuration information and it is current on
Context state carries out permission calculating;According to metadata validation information, corresponding verifying plug-in unit is called, the correct of input value is verified
Property, after the completion of verifying, by list submit the total amount according to being filled up in view model, include value type conversion, assignment, subobject wound
Build, Obj State record etc. logical algorithms, list operation when, provide list show current form locating for Run-time scenario letter
Breath.User accesses the definition that list is realized in form definition service by form Definition Tool, calls list fortune by operation system
Row service shows list content, realizes forms traffic logic, realizes list printing function by list print service, passes through list
Expansion service realizes the extension of list dependent event processing, realizes additional sheet disposal logic.
As shown in Fig. 2, the present embodiment further relates to a kind of sheet disposal system based on B/S framework for facilitating service logic to control
System, comprising:
Including form definition module, the form definition module on webpage for carrying out the definition of list, configuring and set
Meter is also used to carry out control information registration and metadata note for the metadata information of view model to be tied to form controls
Volume, configuration form fields permission, metadata validation information and Run-time scenario information;
List runs module, and the list operation module includes:
Engine mould is fast, and for parsing list configuration, acquisition form controls configuration information carries out the initialization of control, including
Presentation engine and print engine;
Permission computing module, for carrying out permission calculating according to form fields privileges configuration information and current context state;
Authentication module verifies the correctness of input value for the metadata validation information according to configuration;
It is fast to be worth fill mould, for list submit the total amount evidence to be filled up in view model;
Event processing module provides event handling stand-by master control logic, realizes that the processing of the hot-swappable formula of event handling class is calculated
Method.
In conclusion a kind of sheet disposal method based on B/S framework for facilitating service logic to control provided by the invention
And system, view model registering functional is provided, the operation of user can be simplified with intensive data, be convenient for user sharing data;It will view
Graph model field is tied to form controls, controls convenient for service logic, can provide safeguard protection for confidential data;Verifying is believed
Breath configuration, without being disposed on the control of front end, can carry out server back end verifying in metadata, pacify program operation more
Entirely;Run-time scenario information is configured, different business processing components can be bound for list, can be called according to operation context different
Business logic components, facilitate business processing.
The above description is only an embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalents made by bright specification and accompanying drawing content are applied directly or indirectly in relevant technical field, similarly include
In scope of patent protection of the invention.
Claims (10)
1. a kind of sheet disposal method based on B/S framework for facilitating service logic to control, which is characterized in that including on webpage
The definition and configuration for carrying out list, specifically include:
Carry out view model registration;
The metadata information of view model is obtained by reflection technology;
Construct view model metadata structure tree;
The attribute node of metadata structure tree is tied to form controls;
Include: after the definition and configuration for carrying out list on webpage
In the list operation phase, user accesses the definition that list is realized in form definition service by form Definition Tool, passes through industry
Business subsystem call table list operation service shows list content, realizes forms traffic logic, passes through list print service and realizes list
Printing function is realized the extension of list dependent event processing by list expansion service, realizes additional sheet disposal logic.
2. the sheet disposal method based on B/S framework according to claim 1 for facilitating service logic to control, feature exist
In the definition for carrying out list and configuration are specific further include:
Carry out control information registration and Metadata registry;
Configure form fields permission, metadata validation information and Run-time scenario information.
3. the sheet disposal method based on B/S framework according to claim 2 for facilitating service logic to control, feature exist
In after carrying out form definition and configuring further include: parsing list configuration obtains form controls configuration information, carries out control
Initialization.
4. the sheet disposal method based on B/S framework according to claim 3 for facilitating service logic to control, feature exist
In, further includes: according to the metadata validation information of configuration, corresponding verifying plug-in unit is called, the correctness of input value is verified.
5. the sheet disposal method based on B/S framework according to claim 4 for facilitating service logic to control, feature exist
In, further includes: according to the form fields authority information and current context state of configuration, carry out permission calculating.
6. the sheet disposal side based on B/S framework according to any one of claims 1 to 5 for facilitating service logic to control
Method, which is characterized in that further include: list submit the total amount evidence is filled up in the view model.
7. the sheet disposal method based on B/S framework according to claim 6 for facilitating service logic to control, feature exist
In, further includes: list is provided and shows Run-time scenario information locating for current form.
8. a kind of form processing system based on B/S framework for facilitating service logic to control, which is characterized in that including form definition
Module, the form definition module are specifically used for for carrying out the definition and configuration of list on webpage: carrying out view model note
Volume;The metadata information of view model is obtained by reflection technology;Construct view model metadata structure tree;By metadata structure
The attribute node of tree is tied to form controls;
Include: after the definition and configuration for carrying out list on webpage
In the list operation phase, user accesses the definition that list is realized in form definition service by form Definition Tool, passes through industry
Business subsystem call table list operation service shows list content, realizes forms traffic logic, passes through list print service and realizes list
Printing function is realized the extension of list dependent event processing by list expansion service, realizes additional sheet disposal logic.
9. the form processing system based on B/S framework according to claim 8 for facilitating service logic to control, feature exist
In, the form definition module is also used to carry out control information registration, Metadata registry, configuration form fields permission, metadata are tested
Demonstrate,prove information and Run-time scenario information.
10. the form processing system based on B/S framework for facilitating service logic to control according to claim 8 or claim 9, special
Sign is, further includes list operation module, and the list operation module includes:
Engine mould is fast, for parsing list configuration, obtains form controls configuration information, carries out the initialization of control;
Permission computing module, for carrying out permission calculating according to form fields privileges configuration information and current context state;
Authentication module verifies the correctness of input value for the metadata validation information according to configuration;
It is fast to be worth fill mould, for list submit the total amount evidence to be filled up in view model;
Event processing module realizes that the processing of the hot-swappable formula of event handling class is calculated for providing event handling stand-by master control logic
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910777535.2A CN110457669A (en) | 2016-11-07 | 2016-11-07 | The sheet disposal method and system based on B/S framework for facilitating service logic to control |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610976524.3A CN106502977B (en) | 2016-11-07 | 2016-11-07 | A kind of sheet disposal method and form system based on B/S framework |
CN201910777535.2A CN110457669A (en) | 2016-11-07 | 2016-11-07 | The sheet disposal method and system based on B/S framework for facilitating service logic to control |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610976524.3A Division CN106502977B (en) | 2016-11-07 | 2016-11-07 | A kind of sheet disposal method and form system based on B/S framework |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110457669A true CN110457669A (en) | 2019-11-15 |
Family
ID=58323829
Family Applications (4)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910777424.1A Withdrawn CN110457668A (en) | 2016-11-07 | 2016-11-07 | Simplify the sheet disposal method and system based on B/S framework of user's operation |
CN201610976524.3A Active CN106502977B (en) | 2016-11-07 | 2016-11-07 | A kind of sheet disposal method and form system based on B/S framework |
CN201910777383.6A Withdrawn CN110457667A (en) | 2016-11-07 | 2016-11-07 | The good sheet disposal method and system based on B/S framework of safety |
CN201910777535.2A Withdrawn CN110457669A (en) | 2016-11-07 | 2016-11-07 | The sheet disposal method and system based on B/S framework for facilitating service logic to control |
Family Applications Before (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910777424.1A Withdrawn CN110457668A (en) | 2016-11-07 | 2016-11-07 | Simplify the sheet disposal method and system based on B/S framework of user's operation |
CN201610976524.3A Active CN106502977B (en) | 2016-11-07 | 2016-11-07 | A kind of sheet disposal method and form system based on B/S framework |
CN201910777383.6A Withdrawn CN110457667A (en) | 2016-11-07 | 2016-11-07 | The good sheet disposal method and system based on B/S framework of safety |
Country Status (1)
Country | Link |
---|---|
CN (4) | CN110457668A (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107895112A (en) * | 2017-11-01 | 2018-04-10 | 东软集团股份有限公司 | List priority assignation, list generation method and device, medium, electronic equipment |
CN111061727A (en) * | 2019-11-26 | 2020-04-24 | 贝壳技术有限公司 | Form data storage method and system |
CN113377352B (en) * | 2021-07-05 | 2022-03-25 | 重庆市规划和自然资源信息中心 | Big data form modeling generation method for government affair business |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102122281A (en) * | 2010-01-11 | 2011-07-13 | 腾讯科技(北京)有限公司 | Method, device and system for generating page form |
CN103064659A (en) * | 2011-10-21 | 2013-04-24 | 镇江金软计算机科技有限责任公司 | Software as a service (SAAS) model based on metadata extraction user-defined worksheet system |
-
2016
- 2016-11-07 CN CN201910777424.1A patent/CN110457668A/en not_active Withdrawn
- 2016-11-07 CN CN201610976524.3A patent/CN106502977B/en active Active
- 2016-11-07 CN CN201910777383.6A patent/CN110457667A/en not_active Withdrawn
- 2016-11-07 CN CN201910777535.2A patent/CN110457669A/en not_active Withdrawn
Also Published As
Publication number | Publication date |
---|---|
CN110457668A (en) | 2019-11-15 |
CN110457667A (en) | 2019-11-15 |
CN106502977A (en) | 2017-03-15 |
CN106502977B (en) | 2019-09-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110663040B (en) | Method and system for securely embedding dashboard into content management system | |
US11106856B2 (en) | Document architecture with fragment-driven role based access controls | |
US9880989B1 (en) | Document annotation service | |
CN114035773B (en) | Configuration-based low-code form development method, system and device | |
CN110196971A (en) | Online document edit methods, device, terminal device and storage medium | |
EP3443466B1 (en) | Document automation | |
US9645719B2 (en) | Data-driven schema for describing and executing management tasks in a graphical user interface | |
CN101909082B (en) | Model-driven grid portal configuration system and method | |
CN111881662A (en) | Form generation method, device, processing equipment and storage medium | |
US20080288471A1 (en) | Apparatus and method for providing a data marketplace | |
CN106462671B (en) | Compound document quotes resource | |
CN106502977B (en) | A kind of sheet disposal method and form system based on B/S framework | |
CN102902673A (en) | Method and device for dynamically generating web pages | |
CN103927385A (en) | Unifying method and device of data model | |
US8484555B2 (en) | Electronic document control apparatus, method, program and system | |
CN114116684B (en) | Docker containerization-based deep learning large model and large data set version management method | |
JP2013228889A (en) | Information processing apparatus, information processing method, program, and information processing system | |
CN112711414B (en) | Form interface adaptation display method and device and storage medium | |
US10956659B1 (en) | System for generating templates from webpages | |
US10891432B2 (en) | System and process for generating an internet application | |
JP5547917B2 (en) | Content generation / distribution system for portable information terminals | |
CN109597845B (en) | Report configuration method, report configuration device, computer equipment and storage medium | |
JP2016513298A (en) | Electronic document providing method, system, parent server, and child client | |
CN106446611A (en) | Security-level information generation and reading methods and apparatuses | |
CN111144960B (en) | Method and device for issuing special invoice of value-added tax, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20191115 |
|
WW01 | Invention patent application withdrawn after publication |