CN109408180A - The method that terminal applies dynamic imports customizing form - Google Patents
The method that terminal applies dynamic imports customizing form Download PDFInfo
- Publication number
- CN109408180A CN109408180A CN201811198362.0A CN201811198362A CN109408180A CN 109408180 A CN109408180 A CN 109408180A CN 201811198362 A CN201811198362 A CN 201811198362A CN 109408180 A CN109408180 A CN 109408180A
- Authority
- CN
- China
- Prior art keywords
- list
- terminal applies
- templat
- user
- imports
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention relates to form data process fields, disclose a kind of method that terminal applies dynamic imports customizing form, terminal applies dynamic is imported customizing form, facilitate user that form templat is efficiently used to carry out list operation.The middleware module for being used for sheet disposal is arranged in the present invention, in terminal applies APP user after entering the selection of list column interface and needing to check the list of editor, middleware module selects the form templat number of list to search local form templat by user, and protocol analysis processing is carried out to form templat, primary code UI is generated, finally list is presented to the user with primary code UI interface form.The present invention is operated suitable for sheet disposal.
Description
Technical field
The present invention relates to form data process fields, the in particular to method of terminal applies dynamic importing customizing form.
Background technique
Internet+overall background under, the public constantly opens up in market, and customer demand is increasingly intended to personalization, and a
The most direct means of propertyization are exactly to customize.Under this social overall background and requirement drive, the importance of service is customized just
It is self-evident.Can it also just becomes a project move the key of client.
In previous C/S model, different terminal application platforms needs independently to complete the development of front end UI.For
There is problem substantially two o'clock in the urgent need to address for the system of a large amount of forms traffic processing:
1, a large amount of list needs to synchronize more new management in server and terminal applies.
2, there are numerous input items in list content, the work of a large amount of low technical difficulty is brought to terminal applies developer
Amount.
Its own research and development update cost limitation usually all with to client provide fixed service content based on, it is difficult to meet
Low cost, efficient iterative and the demand of the business of personalization of client.The Cross Platform Technology of many front end exploitations drives in this demand
Under slowly develop, such as html5.But even to this day primary code primely treatment effeciency, bottom hardware communication and interface
UI operation fluency is other can not to substitute.Especially in data acquisition, for different data informations, the acquisition of data and
Interaction is likely to be communicated with bottom Intelligent hardware, is just able to satisfy demand for services.The personalized service of these height, to behaviour
Making fluency and efficiency naturally also has requirements at the higher level.
Summary of the invention
The technical problem to be solved by the present invention is providing a kind of method that terminal applies dynamic imports customizing form, use
Terminal applies dynamic is imported customizing form, facilitate user that form templat is efficiently used to carry out list operation.
To solve the above problems, the technical solution adopted by the present invention is that: setting one is used for the middleware mould of sheet disposal
Block, in terminal applies APP user after entering the selection of list column interface and needing to check the list of editor, middleware module passes through use
Family selects the form templat number of list to search local form templat, and carries out protocol analysis processing to form templat, generates
Primary code UI out is finally presented to the user list with primary code UI interface form.
Further, parameter name, the page when table structure of the list template includes: data interaction are shown in rear
Name, the page are shown in the corresponding parameter of parameter name when the name in front, page Show Styles, selecting data collection, data interaction
Whether value the parameter value defaulted, is required information, the sublist individual event set for including.
Further, the list template is JSON data structure.
Further, the list template includes the editable form item of dynamic, and can carry out form templat by WEB terminal
The editor of information.
The beneficial effects of the present invention are: user is not necessarily to understand the specific descriptions information of template using method of the invention, use
Family is only needed through sheet disposal middleware to the list UI content presented after form templat parsing, so that it may conveniently be used
Form templat carries out list operation.Whole process form templat is fully transparent to user.Terminal applies APP passes through list mould
Unified, friendly list UI interactive operation interface is presented after plate parsing, form item operation is conveniently completed convenient for user.System
The sheet disposal efficiency that one interactive operation greatly improves.
Meanwhile list template includes the editable form item of dynamic, number can be improved in the data description based on JSON structure
According to treatment effeciency.Importantly, being defined by the structure of form templat can be answered by sheet disposal middleware in different terminals
With the cross-platform realization dynamic list function of platform, research and development cost is substantially reduced.List template is put in server end, terminal applies
APP is automatically performed the synchronized update of form templat by interface at any time.
Detailed description of the invention
Fig. 1 is middleware module application schematic diagram of the present invention.
Fig. 2 is middleware module operational flowchart of the present invention.
Specific embodiment
The present invention provides the terminal applies method that dynamic imports customizing form, is designed based on json data format, uses
A kind of method for dynamic data list that JAVA and SWIFT programming language is realized combines primary code and Cross Platform Technology
Advantage provides the method that user customizes demand that fast implements.The middleware for sheet disposal is arranged in the present invention first
Module, the middleware module is by message module, synchronized update module, protocol resolution module, primary code UI generation module etc. four
A unit composition, in terminal applies APP user after entering the selection of list column interface and needing to check the list of editor, middleware mould
Block selects the form templat number of list to search local form templat by user, and carries out at protocol analysis to form templat
Reason, generates primary code UI, finally list is presented to the user with primary code UI interface form, and concrete processing procedure is as schemed
Shown in 1.
Terminal end can trigger template synchronization request, terminal applies APP list when entering list column interface using APP user
Handle middleware by the corresponding application interface of invoking server complete the comparison of form templat information with it is synchronous, and answered in terminal
Storage management is carried out with local.To guarantee that newest form templat can be synchronized in terminal applies the three kinds of approach that use immediately
It realizes, is request triggering, terminal applies user when server message pushes mode, terminal applies enter list function interface respectively
Editor complete list submit the total amount according to when trigger.
For terminal applies APP user after entering the selection of list column interface and needing to check the list of editor, middleware passes through use
Family selects the form templat number of list to search local form templat, and carries out protocol analysis processing, generates primary code
UI is finally presented to the user list with primary code UI interface form.
Sheet disposal middleware function of the present invention realizes that specific embodiment is as follows:
The first step defines form structure and describes agreement.This agreement is to answer for server sheet disposal middleware with terminal
With the communication between sheet disposal middleware, explanation is described to the important attribute of form item.The structure of list template describes
Agreement is as shown in Table 1 and Table 2.
1 list stencil structure of table
2 selecting data collection of table
Title | Definition | Explanation |
id | Unique identification | |
label | Show value | |
only | Whether can be coexisted with other options | |
input | Input entry value | Without this attribute, indicate without input entry value |
Second step, form templat administrator carry out the editor of form templat information by WEB terminal, such as: form name, list
Item description information (item included in above-mentioned agreement) etc..Server is submitted after completing editor, by the sheet disposal on server
Between part carry out protocol encapsulation processing after transfer operation layer carry out further management operation.Server can will be generated with JSON structure shape
The form templat file data of formula simultaneously generates corresponding unique number storage management.Finally, server completes management business processing
It is synchronous to notify that terminal applies APP form templat has update to complete data in a manner of message push afterwards.During this, at list
Managing middleware is fully transparent to form templat administrator.Operation processing process is as shown in Figure 2.
Treated that form templat file data is as follows for protocol encapsulation:
[{ stlabel: " essential information ", class:1, level:1 },
{ stlabel: " essential information ", class:1, level:2 },
{ name: " name ", stlabel: " name ", class:10, ismust: " 1 ", edittype:1 },
Name: " idCard ", stlabel: " identification card number ", class:10, maxlen:18, regex: " ^ d { 15 } |
^\\d{17}([0-9]|X|x)$"},
{ name: " birthday ", stlabel: " date of birth ", class:25, ismust: " 1 " },
Name: " sickness ", stlabel: " illness type ", class:20, struct:4, default:1,
Ismust: " 1 ", data:[{ id:1, label: " nothing ", only:1 }, { id:2, label: " hypertension " }] ,]
Third step, terminal applies APP carry out dissection process generation to form templat by the middleware module of sheet disposal
The interface UI of clean up editing list is simultaneously shown.
Claims (4)
1. the method that terminal applies dynamic imports customizing form, which is characterized in that setting one is used for the centre of sheet disposal
Part module, in terminal applies APP user after entering the selection of list column interface and needing to check the list of editor, middleware module is logical
Crossing user selects the form templat number of list to search local form templat, and carries out protocol analysis processing to form templat,
Primary code UI is generated, finally list is presented to the user with primary code UI interface form.
2. the method that terminal applies dynamic as described in claim 1 imports customizing form, which is characterized in that the list mould
Parameter name, the page when table structure of version includes: data interaction are shown in the name at rear, the page is shown in the name in front, the page
Whether the parameter value of the corresponding parameter value of parameter name, default when Show Styles, selecting data collection, data interaction is that must fill out
Information, the sublist individual event set for including.
3. the method that terminal applies dynamic as claimed in claim 2 imports customizing form, which is characterized in that the list mould
Version is JSON data structure.
4. the method that terminal applies dynamic as claimed in claim 2 imports customizing form, which is characterized in that the list mould
Version includes the editable form item of dynamic, and the editor of form templat information can be carried out by WEB terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811198362.0A CN109408180A (en) | 2018-10-15 | 2018-10-15 | The method that terminal applies dynamic imports customizing form |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811198362.0A CN109408180A (en) | 2018-10-15 | 2018-10-15 | The method that terminal applies dynamic imports customizing form |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109408180A true CN109408180A (en) | 2019-03-01 |
Family
ID=65467216
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811198362.0A Pending CN109408180A (en) | 2018-10-15 | 2018-10-15 | The method that terminal applies dynamic imports customizing form |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109408180A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111597484A (en) * | 2020-07-22 | 2020-08-28 | 成都新希望金融信息有限公司 | UI dynamic generation method |
CN113641671A (en) * | 2021-07-14 | 2021-11-12 | 广州市玄武无线科技股份有限公司 | Processing device and processing method for external data of form configuration module |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103440264A (en) * | 2013-08-01 | 2013-12-11 | 广东电网公司 | Method and system for implementing electric power field operation form |
CN103514159A (en) * | 2012-06-14 | 2014-01-15 | 阿里巴巴集团控股有限公司 | Method, system and device for processing form template |
CN107451103A (en) * | 2016-03-31 | 2017-12-08 | 阿里巴巴集团控股有限公司 | Template for displaying and amending method and equipment |
-
2018
- 2018-10-15 CN CN201811198362.0A patent/CN109408180A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103514159A (en) * | 2012-06-14 | 2014-01-15 | 阿里巴巴集团控股有限公司 | Method, system and device for processing form template |
CN103440264A (en) * | 2013-08-01 | 2013-12-11 | 广东电网公司 | Method and system for implementing electric power field operation form |
CN107451103A (en) * | 2016-03-31 | 2017-12-08 | 阿里巴巴集团控股有限公司 | Template for displaying and amending method and equipment |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111597484A (en) * | 2020-07-22 | 2020-08-28 | 成都新希望金融信息有限公司 | UI dynamic generation method |
CN111597484B (en) * | 2020-07-22 | 2020-10-27 | 成都新希望金融信息有限公司 | UI dynamic generation method |
CN113641671A (en) * | 2021-07-14 | 2021-11-12 | 广州市玄武无线科技股份有限公司 | Processing device and processing method for external data of form configuration module |
CN113641671B (en) * | 2021-07-14 | 2022-06-14 | 广州市玄武无线科技股份有限公司 | Processing device and processing method for external data of form configuration module |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106528129B (en) | A kind of Web application interface generation system and method | |
CN102207872B (en) | Method and system for customizing Web UI (User Interface) control according to user requirements | |
CN102567539B (en) | Intelligent WEB report implementation method and intelligent WEB report implementation system | |
CN105487864A (en) | Method and device for automatically generating code | |
CN103853543A (en) | Method used for quickly constructing forms in enterprise information system development process | |
CN109863527A (en) | The method and system of the server side rendering of local content for showing | |
CN103119589A (en) | Method and apparatus for binding mobile device functionality to an application definition | |
CN108694214A (en) | Generation method, generating means, readable medium and the electronic equipment of data sheet | |
CN202177892U (en) | Web UI control customization system | |
CN106341444A (en) | Data access method and device | |
CN104750472B (en) | The resource package management method and device of a kind of terminal applies | |
CN102880664A (en) | Page editing method, device and system | |
CN109408180A (en) | The method that terminal applies dynamic imports customizing form | |
CN111124405A (en) | Method and system for realizing online form design supporting front-end and back-end decoupling | |
CN1904824A (en) | Method and system of establishing culture sensitive control element for global application | |
CN106354707A (en) | Province class power grid energy-saving power generation dispatching report dynamic generation system | |
CN107193549A (en) | Webpage quick development method based on metadata | |
CN108572817A (en) | The method, apparatus and medium of dynamic resource allocation based on business model | |
CN102111564B (en) | System for making and broadcasting television weather program | |
JP2003141014A (en) | System and method for generating and distributing publication | |
CN115756436A (en) | Device and method for constructing visual large screen through template configuration | |
CN102902516A (en) | Control inversion based pop-up frame design for call center | |
CN112822190B (en) | Message maintenance method and device | |
CN112162731B (en) | Data expansion method, device, storage medium and electronic device | |
CN102184219A (en) | Method for implementing custom date selection control based on Strusts2 in WEB system |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190301 |