CN110222293A - A kind of forms pages generation method and device - Google Patents

A kind of forms pages generation method and device Download PDF

Info

Publication number
CN110222293A
CN110222293A CN201910364663.4A CN201910364663A CN110222293A CN 110222293 A CN110222293 A CN 110222293A CN 201910364663 A CN201910364663 A CN 201910364663A CN 110222293 A CN110222293 A CN 110222293A
Authority
CN
China
Prior art keywords
form object
forms pages
template
information
metadata
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.)
Granted
Application number
CN201910364663.4A
Other languages
Chinese (zh)
Other versions
CN110222293B (en
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.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology 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 Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201910364663.4A priority Critical patent/CN110222293B/en
Publication of CN110222293A publication Critical patent/CN110222293A/en
Application granted granted Critical
Publication of CN110222293B publication Critical patent/CN110222293B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the present application discloses a kind of forms pages generation method and device, method includes: the metadata of newly-built form object, the form object as described in the metadata configurations configures the forms pages template according to the form object, the forms pages template is saved to database;It include the rear end object information of the parameter association of form object and the form object in the forms pages template;The forms pages template is obtained according to business datum, the parameter based on the forms pages template and the form object generates forms pages;Wherein, the value of the parameter is the rear end object information according to the parameter association of the form object, and Back end data interface is called to obtain from the database.Identical form object is configured and realizes multiplexing in multiple template by the embodiment of the present application, is facilitated and is carried out flexible modifications and extensions to list in the page.

Description

A kind of forms pages generation method and device
Technical field
This application involves field of computer technology, and in particular to a kind of forms pages generation method and device.
Background technique
List is the information inputted for receiving user in front end, sends such information to a kind of interactive shape on backstage Formula.Traditional list is by writing HTML (Hyper Text MarkupLanguage, hypertext mark when exploitation front end page Remember language) code complete configuration, this causes the list of each page to require to carry out duplicate written in code, and is modifying When list, need to modify to each page for being provided with identical list one by one, heavy workload, flexibility is poor.
Summary of the invention
In view of this, the embodiment of the present application provides a kind of forms pages generation method and device, forms pages mould is configured The configuration of identical form object is realized list multiplexing by plate in multiple template, convenient flexibly to be repaired to list in the page Change and extends.
According to the first aspect of the application, a kind of forms pages generation method is provided, comprising:
The metadata of newly-built form object, the form object as described in the metadata configurations are matched according to the form object The forms pages template is set, the forms pages template is saved to database;It include list in the forms pages template The rear end object information of the parameter association of object and the form object;
The forms pages template is obtained according to business datum, is based on the forms pages template and the form object Parameter, generate forms pages;Wherein, the value of the parameter is the rear end object letter according to the parameter association of the form object Breath calls Back end data interface to obtain from the database.
According to further aspect of the application, a kind of forms pages generating means are provided, comprising:
Template configuration module, for creating the metadata of form object, the form object as described in the metadata configurations, root The forms pages template is configured according to the form object, the forms pages template is saved to database;The form page It include the rear end object information of the parameter association of form object and the form object in face die plate;
Page generation module is based on the form page face mould for obtaining the forms pages template according to business datum The parameter of plate and the form object generates forms pages;Wherein, the value of the parameter is the ginseng according to the form object The associated rear end object information of number, calls Back end data interface to obtain from the database.
In terms of according to the third of the application, a kind of electronic equipment is provided, the electronic equipment includes: processor, with And it is stored with the memory for the computer program that can be run on a processor;Wherein, the processor, for depositing described in the execution The step of executing the application first aspect the method when computer program in reservoir.
According to the 4th of the application the aspect, a kind of non-transient computer readable storage medium is provided, is stored thereon There is computer program, which realizes the application first aspect the method when being executed by processor the step of.
The utility model has the advantages that creating first number of form object using the forms pages generation method and device of the embodiment of the present application According to, it is associated with forms pages template based on metadata configurations list and by list, obtains forms pages template according to business datum, Forms pages are generated by forms pages template and the parameter of form object so as to configure identical list in multiple tables Multiplexing is realized in single page face die plate, alleviates the workload of page development, also facilitates and the list in the page is flexibly repaired Change and extends.
Detailed description of the invention
Fig. 1 is the flow chart of the forms pages generation method of the application one embodiment;
Fig. 2 is the schematic diagram of the forms pages of the application one embodiment;
Fig. 3 is the schematic diagram of the metadata of list in forms pages shown in Fig. 2;
Fig. 4 is the configuration schematic diagram for showing item of list in forms pages shown in Fig. 2;
Fig. 5 is the schematic diagram of form object and the binding of rear end object information in forms pages shown in Fig. 2;
Fig. 6 is the block diagram of the forms pages generating means of the application one embodiment;
Fig. 7 is the structural schematic diagram of the electronic equipment of the application one embodiment;
Fig. 8 is the structural schematic diagram of the non-transient computer readable storage medium of the application one embodiment.
Specific embodiment
To keep the above objects, features, and advantages of the embodiment of the present application more obvious and easy to understand, with reference to the accompanying drawing and Specific embodiment is described in further detail the embodiment of the present application.Obviously, described embodiment is the application one Divide embodiment, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making Every other embodiment obtained under the premise of creative work belongs to the range of the embodiment of the present application protection.
The technical concept of the application is: being configured by way of writing HTML code for the list in the existing page causes The inflexible problem of modifications and extensions, a kind of generation scheme of forms pages is proposed, using the embodiment of the present application, first structure Metadata is built, the metadata deposit database built.Then define metadata shows pattern.Again, Page Template is carried out Configuration in groups by the form object set association forms Page Template, and Page Template shows each list pair for front end page As, and form object and backing objects are established by binding relationship by JSON expression formula.The page is finally obtained according to business datum The information of rear end object is backfilled in the parameter of form object by Template Information by the value of the JSON expression formula in Page Template Realize list configuration, since list is associated with forms pages template, identical list can be real in multiple forms pages templates It is now multiplexed, facilitates and flexible modifications and extensions are carried out to list, significantly reduce development amount.
Fig. 1 is the flow chart of the forms pages generation method of the application one embodiment, referring to Fig. 1, the table of the present embodiment Single-page generation method includes the following steps:
Step S101 creates the metadata of form object, the form object as described in the metadata configurations, according to the table Single object configures the forms pages template, and the forms pages template is saved to database;In the forms pages template The rear end object information of parameter association including form object and the form object;
Step S102 obtains the forms pages template according to business datum, is based on the forms pages template and institute The parameter of form object is stated, forms pages are generated;Wherein, the value of the parameter is according to the associated rear end pair of the form object Image information calls Back end data interface to obtain from the database.
As shown in Figure 1 it is found that the forms pages generation method of the present embodiment, is divided into two processes, one is forms pages The manufacturing process of template, the other is utilizing the process of forms pages template generation forms pages.Wherein, forms pages template Manufacturing process includes the metadata of newly-built form object, by metadata configurations form object, configures form page according to form object Face die plate is then saved to database.Process using forms pages template generation forms pages includes: to obtain according to business datum Forms pages template is taken, forms pages are generated based on forms pages template and form object parameter.Form object and mould in this way Plate association, configures form object in forms pages template as required, facilitates subsequent use forms pages template generation list The page avoids the technical issues of heavy workload caused by code is write in repetition, moreover, passing through allocation list in forms pages template Single object realizes the multiplexing of identical list, convenient that list is modified and extended.
Below with reference to Fig. 2 to Fig. 5, with a specific application example to the forms pages generation method of the embodiment of the present invention Realization step be illustrated.
Referring to fig. 2, include three form objects in the forms pages of the present embodiment, be respectively: " type of transaction ", " Meituan Certificate validity period ", " project end time ".It is brief here with one of form object to describe, such as " Meituan certificate validity period " It is unfolded.
Generating forms pages shown in Fig. 2 mainly includes three steps:
(1) metadata for creating form object, by metadata configurations form object;
The metadata of the present embodiment includes data item, includes at least encoded information and data item name information in data item, compiles For code information for data item described in unique identification, data item name information is used to indicate text of the data item when showing in forms pages This content;That is, first constructing metadata, the metadata information built is then stored in number by the data item that metadata is arranged According to library.
The metadata configurations of " Meituan certificate validity period " this form object are illustrated in Fig. 3, the metadata as shown in Figure 3 (metadata is entitled " Meituan certificate validity period ") is made of three data item, is that " { monthCount } is a from online respectively Month ", " from the day { dayCount } from online ", " from from online to { expireDate } 23:59:59 ", each data Item setting encoded information, data item name, pattern, Rule Information.That is, in addition to encoded information in the data item of metadata, It further include style information and Rule Information except data item name information, pattern is used to indicate exhibition of the data item in forms pages Existing pattern, Rule Information are used to indicate the verification rule of data item.
First data item as shown in Figure 3, is encoded to " NM ";Data item name is " from online { monthCount } a month ";Pattern, rule are JSON (JavaScript Object Notation) expression formula, and JSON is one The data interchange format of kind lightweight.It is easy to read and write, JSON expression formula indicates Meituan certificate validity period " this list pair The parameter monthCount of elephant front end page show when can be substituted for Text Entry (i.e. " text " pattern, referring to fig. 2 in First Text Entry in Meituan this form object of certificate validity period), and user's input content is verified, it verifies Rule is that input content is numeric type (integer) and the month number no more than 3 (maxLength:3).
After metadata is completed in configuration, by metadata configurations form object in the present embodiment, specifically includes and at least configure The following message of form object: title, the data type of attribute value, the associated metadata and the metadata show Pattern.
Since the information of the form object configured here is mainly used for page presentation, so these information are also known as Form object shows item.Showing item configuration includes defining the title of form object, the data type of attribute value, associated member number Accordingly and metadata shows form (such as text box, radio box), and the form object information set is stored into database.
Example is connected, aforementioned form object " Meituan certificate validity period " shows item configuration as shown in Figure 4.It is fixed to illustrate in Fig. 4 Name (that is, Meituan certificate validity period) of the adopted form object when front end page is shown, is arranged the number of the attribute value of the form object According to type, the data type of the attribute value of " Meituan certificate validity period " is character string in one embodiment.It should be noted that " beauty The attribute instruction user of group's certificate validity period " selects the data item of which metadata to encode, and the value of specific object is user in single choice The coding of the data item selected in frame, that is, which data item user has selected in three data item, the category of " Meituan certificate validity period " Property value is exactly the coding of that data item, has selected second data item " from online in conjunction with Fig. 3, such as user Day { monthcount }, then the attribute value of " Meituan certificate validity period " is exactly NM, that is, here by the attribute of " Meituan certificate validity period " Value is set as character string type, also, value, that is, parameter { monthcount } of text box needs in user's second data item of filling It is passed to rear end, so the parameter and rear end object information of " Meituan certificate validity period " establish incidence relation.
In other embodiments of the present invention should demand setting form object attribute Value Types, type here can be Character string type, numeric type, date type etc..
Referring to fig. 4 in illustrate metadata " Meituan certificate validity period ", that is, here also by configured metadata association arrive this In form object " Meituan certificate validity period ", be arranged metadata show form be radio box, the metadata being configured so that it is every A data item is exactly a selection element of radio box.
Furthermore it is also possible to which the arrangement mode to radio box is configured, as set horizontal for option arrangement mode in Fig. 4 Row, that identical element data to show pattern (arrangement mode of radio box) as horizontally-arranged, it is horizontally-arranged to show result referring to fig. 2.
It should be noted that some settings for showing item are further illustrated in Fig. 4, for example, encoding (choosing is filled out), whether hiding name Claim, default value etc., these show item for form object show influence it is smaller, can according to need in practical application setting or It is not provided with, it is without limitation.
(2) forms pages template is configured according to form object
After form object is completed in configuration, forms pages template is configured according to form object.According to business in the present embodiment The rear end object of the form object that includes in forms pages template described in type configuration and the parameter association for configuring each form object Information.
In one embodiment, type of service here is divided into business domains, type, view three classes.Business domains: refer to different industry Business range, such as merchandise control business, businessman's management business, staff's benefits business etc..
Type: for dividing different subservices under the same business, commodity are purchased by group as merchandise control business can be divided into Management, hotel quotient mouthful management, admission ticket merchandise control.
View: for the same business similarly hereinafter once subservice, towards user it is different, the form of expression of the page is not yet Together.Merchandise control is purchased by group such as merchandise control, two class views of the sum towards intra-company employee towards businessman can be divided into.
Configuration forms pages are specifically that the form object that will be set in abovementioned steps is associated in groups, and is passed through JSON and expressed The parameter of form object and backing objects are established after bonding relationship Template Information being stored in database backup by formula.Different industry Business can configure forms pages template according to the requirement of oneself, and each forms pages template can be made of multiple lists.
After determining the form object for including in each forms pages template, JSON expression formula is generated in the present embodiment, The backing objects information of the parameter association of each form object is recorded in JSON expression formula.
Here the backing objects information for the parameter association for why establishing form object by JSON expression formula is because examining When considering the parameter of form object in front end page and not establishing incidence relation with rear end object, the ginseng of form object in front end page Number adjustment requires the interface of modification rear end or even different front end pages calls different back end interfaces, and development amount is big. In this regard, the parameter of form object in front end page and rear end object are established incidence relation, all forms pages in the present embodiment Template only needs to provide a back end interface, and the parameter that whens subsequent new added pages only needs to be arranged form object in the instruction page is tied up The JSON expression formula for determining rear end object realizes the multiplexing of interface, significantly reduces exploitation work without changing back end interface It measures.
As shown in figure 5, illustrating two lists for including in forms pages template " food and drink coupons purchase notice " in Fig. 5 Object, that is, " type of transaction " and " Meituan certificate validity period ".It is arranged in the binding relationship one of " Meituan certificate validity period " this form object In have recorded a JSON expression formula (box illustrated in Fig. 5), JSON expression formula indicates in front end page that " Meituan certificate is effective The multiple parameters of the phase " binding relationship with rear end object information respectively, for example, " Meituan certificate validity period " this form object Parameter monthCount in two radio boxes, if user has selected radio box corresponding with parameter " monthCount ", Value (such as 2) in user's typing text box is tied on rear end object " rule.ExtAttrs.5 ", i.e., is expressed by JSON Formula binds monthCount parameter and rear end object rule ExtAttrs.5.
(3) the forms pages template is obtained according to business datum, generates forms pages
In forms pages generating process, forms pages template is obtained according to business datum, is based on forms pages template And the attribute value of the specified attribute of form object, generate forms pages.Here with business domains, type, view three makees jointly For parameter (such as merchandise control business+purchase by group merchandise control+two class views towards businessman) calling interface, in obtaining step (two) Configured forms pages Template Information, interface is the interface for obtaining forms pages template data here, which returns Be the JSON expression formula configured in template, the JSON expression formula that front end can be returned according to the interface, the list of displayed page Object, and the value of the parameter of Back end data interface acquisition form object is called, it will according to the JSON expression formula of specified Wire Parameters Rear end object information is backfilled in the parameter of form object, to generate forms pages.In this way, list is associated with forms pages Template, identical form object can realize multiplexing in multiple forms pages templates, and the convenient list in forms pages carries out Flexible modifications and extensions.
From the foregoing, it will be observed that form object is divided into metadata and shows item by the present embodiment, and form object is associated with template, Identical form object is realized to multiplexing, the form object of multiplexing, thus when repairing in configuration page in face of list in multiple template After changing, refreshing template page can come into force, and realize the flexible modifications and extensions to list.In addition, by by front-end table The parameter and rear end object of single object establish binding relationship, and all forms pages templates only need to provide a back end interface, after It only needs to be arranged the JSON expression formula of parameter Yu rear end object binding when continuous new added pages, does not have to change back end interface, greatly Development amount is alleviated greatly.
A technical concept is belonged to aforementioned forms pages generation method, the embodiment of the present application also provides a kind of lists Webpage generating device, referring to Fig. 6, the forms pages generating means 600 of the present embodiment include:
Template configuration module 601, for creating the metadata of form object, the list pair as described in the metadata configurations As configuring the forms pages template according to the form object, the forms pages template being saved to database;The table It include the rear end object information of the parameter association of form object and the form object in single page face die plate;
Page generation module 602 is based on the forms pages for obtaining the forms pages template according to business datum The parameter of template and the form object generates forms pages;Wherein, the value of the parameter is closed according to the form object The rear end object information of connection calls Back end data interface to obtain from the database.
In one embodiment of the invention, metadata includes data item, and encoded information is included at least in the data item With data item name information, the encoded information is used to indicate institute for data item described in unique identification, the data item name information State content of text of the data item when showing in the forms pages;Template configuration module 601, at least configuring the list The following message of object: title, the data type of attribute value, the associated metadata and the metadata show sample Formula.
It in one embodiment of the invention, further include style information and Rule Information, the pattern in the data item It is used to indicate the data item and shows pattern in the forms pages, the Rule Information is used to indicate the data item Verification rule.
In one embodiment of the invention, template configuration module 601 is specifically used for configuring the table according to type of service The rear end object information of the form object that includes in single page face die plate and the parameter association for configuring each form object.
In one embodiment of the invention, template configuration module 601 is specifically used for generating JSON expression formula, the JSON The backing objects information of the parameter association of each form object is recorded in expression formula.
In one embodiment of the invention, page generation module 602, for according to one of following business datum or A variety of combinations obtains the forms pages template: business domains, type, view.
The illustration of each function performed by each module in Fig. 6 shown device illustrates, implements with preceding method Illustration explanation in example is consistent, no longer repeats one by one here.
It should be understood that
Algorithm and display be not inherently related to any certain computer, virtual bench or other equipment provided herein. Various fexible units can also be used together with teachings based herein.As described above, it constructs required by this kind of device Structure be obvious.In addition, the embodiment of the present application is also not for any particular programming language.It should be understood that can benefit The content of the embodiment of the present application described herein is realized with various programming languages, and the description done above to language-specific is In order to disclose the preferred forms of the embodiment of the present application.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the application Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each application aspect, Above in the description of the exemplary embodiment of the application, each feature of the embodiment of the present application is grouped together into individually sometimes In embodiment, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: being wanted The embodiment of the present application of protection is asked to require features more more than feature expressly recited in each claim.More precisely It says, as reflected in the following claims, application aspect is all less than single embodiment disclosed above Feature.Therefore, it then follows thus claims of specific embodiment are expressly incorporated in the specific embodiment, wherein each power Benefit requires in itself all as the separate embodiments of the application.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is real in the application It applies within the scope of example and forms different embodiments.For example, in the following claims, implementation claimed Example it is one of any can in any combination mode come using.
The various component embodiments of the embodiment of the present application can be implemented in hardware, or in one or more processor The software module of upper operation is realized, or is implemented in a combination thereof.It will be understood by those of skill in the art that can practice The middle page performance test device realized using microprocessor or digital signal processor (DSP) according to the embodiment of the present application In some or all components some or all functions.The application is also implemented as described herein for executing Some or all device or device programs (for example, computer program and computer program product) of method.In this way The program of realization the embodiment of the present application can store on a computer-readable medium, or can have one or more letter Number form.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or with any Other forms provide.
For example, Fig. 7 is the structural schematic diagram of the electronic equipment of the application one embodiment.The electronic equipment 700 includes: place Device 701 is managed, and is stored with the memory 702 for the computer program that can be run on the processor 701.Processor 701 is used In each step for executing method in the embodiment of the present application when executing the computer program in the memory 702.Memory 702 The electronics that can be such as flash memory, EEPROM (electrically erasable programmable read-only memory), EPROM, hard disk or ROM etc is deposited Reservoir.Memory 702 has the storage of computer program 704 of the storage for executing any method and step in the above method empty Between 703.Computer program 704 can read or be written to from one or more computer program product this or In multiple computer program products.These computer program products include such as hard disk, compact-disc (CD), storage card or floppy disk Etc program code carrier.Such computer program product is usually that non-transient for example shown in Fig. 8 is computer-readable Storage medium.
Fig. 8 is the structural schematic diagram of the non-transient computer readable storage medium of the application one embodiment.The calculating Machine readable storage medium storing program for executing 800 is stored with for executing the computer program 704 according to the method and step of the embodiment of the present application, can be with It is read by the processor 701 of electronic equipment 700, when computer program 704 is run by electronic equipment 700, the electronics is caused to set Standby 700 execute each step in method described above, specifically, the calculating of the computer-readable recording medium storage Program 704 can execute method shown in any of the above-described embodiment.Computer program 704 can be pressed in a suitable form Contracting.
The embodiment of the present application is carried out it should be noted that above-described embodiment illustrates rather than the embodiment of the present application Limitation, and those skilled in the art can be designed alternative embodiment without departing from the scope of the appended claims. In the claims, any reference symbol between parentheses should not be configured to limitations on claims.Word " packet Containing " do not exclude the presence of element or step not listed in the claims.Word "a" or "an" located in front of the element is not arranged Except there are multiple such elements.The embodiment of the present application can by means of include several different elements hardware and by means of Properly programmed computer is realized.In the unit claims listing several devices, several in these devices can To be to be embodied by the same item of hardware.Word, second and the use of third etc. do not indicate any sequence, can will These words are construed to title.

Claims (10)

1. a kind of forms pages generation method characterized by comprising
The metadata of newly-built form object, the form object as described in the metadata configurations configure institute according to the form object Forms pages template is stated, the forms pages template is saved to database;It include form object in the forms pages template And the rear end object information of the parameter association of the form object;
The forms pages template, the ginseng based on the forms pages template and the form object are obtained according to business datum Number generates forms pages;Wherein, the value of the parameter is the rear end object information according to the parameter association of the form object, Back end data interface is called to obtain from the database.
2. the method as described in claim 1, which is characterized in that the metadata includes data item,
Encoded information and data item name information are included at least in the data item, the encoded information is for number described in unique identification According to item, the data item name information is used to indicate content of text of the data item when showing in the forms pages;
The form object as described in the metadata configurations includes the following message at least configuring the form object:
Title,
The data type of attribute value,
The associated metadata,
And the metadata shows pattern.
3. the method as described in claim 1, which is characterized in that described to configure the forms pages template by the form object Include:
The form object for including in the forms pages template is configured according to type of service and configures each form object Parameter association rear end object information.
4. method as claimed in claim 3, which is characterized in that the parameter association of each form object of the configuration it is described Rear end object information includes:
JSON expression formula is generated, the backing objects of the parameter association of each form object are recorded in the JSON expression formula Information.
5. such as method of any of claims 1-4, which is characterized in that described to obtain the list according to business datum Page Template includes:
The forms pages template is obtained according to one of following business datum or a variety of combinations:
Business domains, type, view.
6. method according to claim 2, which is characterized in that it further include style information and Rule Information in the data item, The pattern is used to indicate the data item and shows pattern in the forms pages, and the Rule Information is used to indicate described The verification rule of data item.
7. a kind of forms pages generating means characterized by comprising
Template configuration module, for creating the metadata of form object, the form object as described in the metadata configurations, according to institute It states form object and configures the forms pages template, the forms pages template is saved to database;The form page face mould It include the rear end object information of the parameter association of form object and the form object in plate;
Page generation module, for obtaining the forms pages template according to business datum, based on the forms pages template with And the parameter of the form object, generate forms pages;Wherein, the value of the parameter is the parameter according to the form object The associated rear end object information calls Back end data interface to obtain from the database.
8. device as claimed in claim 7, which is characterized in that the metadata includes data item,
Encoded information and data item name information are included at least in the data item, the encoded information is for number described in unique identification According to item, the data item name information is used to indicate content of text of the data item when showing in the forms pages;
Template configuration module, at least configuring the following message of the form object: title, the data type of attribute value is closed The metadata and the metadata of connection show pattern.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes: processor, and being stored with can be on a processor The memory of the computer program of operation;Wherein, the processor, for when executing the computer program in the memory Perform claim requires the step of any one of 1-6 the method.
10. a kind of non-transient computer readable storage medium, is stored thereon with computer program, which is characterized in that the calculating The step of any one of claim 1-6 the method is realized when machine program is executed by processor.
CN201910364663.4A 2019-04-30 2019-04-30 Form page generation method and device Active CN110222293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910364663.4A CN110222293B (en) 2019-04-30 2019-04-30 Form page generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910364663.4A CN110222293B (en) 2019-04-30 2019-04-30 Form page generation method and device

Publications (2)

Publication Number Publication Date
CN110222293A true CN110222293A (en) 2019-09-10
CN110222293B CN110222293B (en) 2020-10-27

Family

ID=67820553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910364663.4A Active CN110222293B (en) 2019-04-30 2019-04-30 Form page generation method and device

Country Status (1)

Country Link
CN (1) CN110222293B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110908657A (en) * 2019-11-15 2020-03-24 中国人民财产保险股份有限公司 Product generation method and device
CN110990006A (en) * 2019-11-25 2020-04-10 爱信诺征信有限公司 Form management system and form generation device
CN111027299A (en) * 2019-10-18 2020-04-17 深圳智慧园区信息技术有限公司 Form generation method and system
CN111782216A (en) * 2020-07-23 2020-10-16 平安银行股份有限公司 Page generation method, server and storage medium
CN112433705A (en) * 2020-11-25 2021-03-02 平安普惠企业管理有限公司 Script generation method and device, electronic equipment and storage medium
CN112988115A (en) * 2019-12-13 2021-06-18 阿里巴巴集团控股有限公司 Application building method and device and computer readable storage medium
CN113760871A (en) * 2020-08-17 2021-12-07 北京沃东天骏信息技术有限公司 Template synchronization method and device
CN113760288A (en) * 2021-08-31 2021-12-07 京东科技信息技术有限公司 Page generation method, page generation system and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8607139B2 (en) * 2000-02-15 2013-12-10 Twain Typesetting Llc System and process for managing content organized in a tag-delimited template using metadata
CN104331284A (en) * 2014-10-29 2015-02-04 北京思特奇信息技术股份有限公司 Method and system for generating and displaying dynamic page
CN106095767A (en) * 2015-04-29 2016-11-09 1C有限责任公司 Automatically generate the method and system of user's form interface
CN107544808A (en) * 2017-09-07 2018-01-05 北京奥威科软信息技术有限公司 The generation method and device of a kind of web form
CN107609156A (en) * 2017-09-26 2018-01-19 微梦创科网络科技(中国)有限公司 The method and device that a kind of page is built
CN107678736A (en) * 2017-10-09 2018-02-09 用友网络科技股份有限公司 A kind of business Page Template shows method, system and computer installation
CN109582909A (en) * 2018-12-19 2019-04-05 拉扎斯网络科技(上海)有限公司 Webpage automatic generation method and device, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8607139B2 (en) * 2000-02-15 2013-12-10 Twain Typesetting Llc System and process for managing content organized in a tag-delimited template using metadata
CN104331284A (en) * 2014-10-29 2015-02-04 北京思特奇信息技术股份有限公司 Method and system for generating and displaying dynamic page
CN106095767A (en) * 2015-04-29 2016-11-09 1C有限责任公司 Automatically generate the method and system of user's form interface
CN107544808A (en) * 2017-09-07 2018-01-05 北京奥威科软信息技术有限公司 The generation method and device of a kind of web form
CN107609156A (en) * 2017-09-26 2018-01-19 微梦创科网络科技(中国)有限公司 The method and device that a kind of page is built
CN107678736A (en) * 2017-10-09 2018-02-09 用友网络科技股份有限公司 A kind of business Page Template shows method, system and computer installation
CN109582909A (en) * 2018-12-19 2019-04-05 拉扎斯网络科技(上海)有限公司 Webpage automatic generation method and device, electronic equipment and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111027299A (en) * 2019-10-18 2020-04-17 深圳智慧园区信息技术有限公司 Form generation method and system
CN110908657A (en) * 2019-11-15 2020-03-24 中国人民财产保险股份有限公司 Product generation method and device
CN110990006A (en) * 2019-11-25 2020-04-10 爱信诺征信有限公司 Form management system and form generation device
CN112988115A (en) * 2019-12-13 2021-06-18 阿里巴巴集团控股有限公司 Application building method and device and computer readable storage medium
CN111782216A (en) * 2020-07-23 2020-10-16 平安银行股份有限公司 Page generation method, server and storage medium
CN113760871A (en) * 2020-08-17 2021-12-07 北京沃东天骏信息技术有限公司 Template synchronization method and device
CN113760871B (en) * 2020-08-17 2024-04-16 北京沃东天骏信息技术有限公司 Template synchronization method and device
CN112433705A (en) * 2020-11-25 2021-03-02 平安普惠企业管理有限公司 Script generation method and device, electronic equipment and storage medium
CN113760288A (en) * 2021-08-31 2021-12-07 京东科技信息技术有限公司 Page generation method, page generation system and computer readable storage medium

Also Published As

Publication number Publication date
CN110222293B (en) 2020-10-27

Similar Documents

Publication Publication Date Title
CN110222293A (en) A kind of forms pages generation method and device
CN110765099B (en) Service construction method and device and computer equipment
CN107656914B (en) Configurable table generation method and device, terminal equipment and storage medium
CN110400196A (en) A kind of page processing method, device and computer readable storage medium
CN102763126B (en) For the method and system of the data binding of the structural data solution based on web
CN103970527B (en) It is the method and system of report generation provided auxiliary covering
US9058307B2 (en) Presentation generation using scorecard elements
CN108628608A (en) A kind of method and device of data visualization
CN107705193A (en) The methods of exhibiting and system of goods made to order
US7412659B2 (en) Colorized template previews
US8928932B2 (en) System and method for creating multi-formatted documents via an online portal
US20080288471A1 (en) Apparatus and method for providing a data marketplace
CN109086114A (en) A kind of method, apparatus and terminal generating web front-end interactive interface
US20050216832A1 (en) Generation of documents
CN109800401A (en) Information report automatic generation method and device
US20090113317A1 (en) System and Method for Website Design
Berkeley et al. Software development project management: process and support
CN108170599A (en) A kind of time method and system device for surveying analog quantization strategy operation state tune ginseng
CN106648613A (en) Automatic forming method and device of FPAC function point estimation
CN108399173A (en) A kind of style configuration of page assembly, page generation method and its device
CN116956847B (en) Report management method and device
CN112100994A (en) Excel-based report display method and device
CN110782330A (en) Configuration method of accounting voucher of financial cloud platform
JP7130802B1 (en) Dynamic construction execution device, dynamic construction execution method, and dynamic construction execution program
CN107967137A (en) Data management method and device

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
GR01 Patent grant
GR01 Patent grant