CN110941614A - Form generation method and device, electronic equipment and computer readable storage medium - Google Patents

Form generation method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN110941614A
CN110941614A CN201911151358.3A CN201911151358A CN110941614A CN 110941614 A CN110941614 A CN 110941614A CN 201911151358 A CN201911151358 A CN 201911151358A CN 110941614 A CN110941614 A CN 110941614A
Authority
CN
China
Prior art keywords
metadata item
metadata
template
item
generating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911151358.3A
Other languages
Chinese (zh)
Inventor
任志森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wanghai Kangxin Beijing Technology Co Ltd
Original Assignee
Wanghai Kangxin Beijing 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 Wanghai Kangxin Beijing Technology Co Ltd filed Critical Wanghai Kangxin Beijing Technology Co Ltd
Priority to CN201911151358.3A priority Critical patent/CN110941614A/en
Publication of CN110941614A publication Critical patent/CN110941614A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • G06F16/24573Query processing with adaptation to user needs using data annotations, e.g. user-defined metadata

Abstract

The application provides a form generation method and device, electronic equipment and a computer readable storage medium, and relates to the technical field of computers. The method comprises the following steps: when a metadata item selection instruction is acquired, determining at least one metadata item from a preset metadata item database based on the metadata item selection instruction; acquiring a preset form template; and generating a form based on the at least one metadata item and the form template so that a user can input data information respectively corresponding to the at least one metadata item through a form control of the form. The application can realize that: different forms are dynamically generated based on at least one metadata item determined from a database of metadata items.

Description

Form generation method and device, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a form generation method, an apparatus, an electronic device, and a computer-readable storage medium.
Background
With the development of informatization, more and more industries enter a big data era, big data mining becomes a new development point of an information field, and the increase of more and more table structures and library capacity is accompanied.
When a user uses a form system, because the information of products to be input is different, the user generally needs different forms, but the existing design scheme of the form system is to develop a set of large and complete form system, so that each user can support the form system, but the form style is single, and the personalized requirements of different users cannot be met; one method is to carry out customized development according to the requirements of each user, and develop a set of form system for each user, so that obviously, the development workload is huge, and a great amount of manpower and financial resources are wasted.
Disclosure of Invention
A first aspect of the present application provides a form generation method, including:
when a metadata item selection instruction is acquired, determining at least one metadata item from a preset metadata item database based on the metadata item selection instruction;
acquiring a preset form template;
and generating a form based on the at least one metadata item and the form template so that a user can input data information respectively corresponding to the at least one metadata item through a form control of the form.
A second aspect of the present application provides a form generation apparatus, including:
the determining module is used for determining at least one metadata item from a preset metadata item database based on a metadata item selecting instruction when the metadata item selecting instruction is acquired;
the acquisition module is used for acquiring a preset form template;
and the form generating module is used for generating a form based on the at least one metadata item and the form template so that a user can input data information respectively corresponding to the at least one metadata item through a form control of the form.
Optionally, the metadata item comprises at least one of:
item type, item model, price, size, origin.
Optionally, when the form generation module generates the form based on the at least one metadata item and the form template, the form generation module is specifically configured to:
respectively generating corresponding form controls based on at least one metadata item, and input data verification logic of the form controls corresponding to the metadata items;
rendering the form controls in a form template;
and generating a form with the metadata items corresponding to the form controls one by one based on the rendered form template and at least one metadata item.
Optionally, the apparatus further includes a first transceiver module and a form template generating module;
before the obtaining module obtains a preset form template, a first transceiving module is used for receiving configuration information of obtaining form template attributes, wherein the form template attributes comprise at least one of line types, line colors, background colors, form sizes, cell sizes, form alignment modes, form template styles, rendering positions of form controls corresponding to at least one metadata item, positions of the at least one metadata item in the form template and arrangement sequences of the at least one metadata item;
and the form template generating module is also used for generating the form template based on the configuration information.
Optionally, if the form template attribute includes the arrangement order of at least one metadata item;
the form generation module is specifically configured to, when generating the form based on the at least one metadata item and the form template:
and generating a form with the metadata items arranged according to the arrangement order based on the arrangement order, the at least one metadata item and the form template.
Optionally, the apparatus further includes a second transceiver module, a third transceiver module, and an update module;
the form generation module, after generating the form based on the at least one metadata item and the form template,
the second transceiver module is used for receiving a form acquisition request sent by the client;
the third transceiving module is used for sending a form to the client based on the acquisition request and receiving data information which is input by a user corresponding to the client through a form control of the form and corresponds to at least one metadata item;
and the updating module is used for updating the form and storing the data information in a column storage mode.
In a third aspect of the present application, an electronic device is provided, including:
the electronic device comprises a memory and a processor;
the memory has a computer program stored therein;
a processor for performing the method of any of the first aspects when running the computer program.
In a fourth aspect of the present application, a computer-readable medium is provided, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the method of any one of the first aspect.
The beneficial effect that technical scheme that this application provided brought is:
when a metadata item selection instruction is received, at least one metadata item can be determined from a preset metadata database based on the metadata item selection instruction, and after a preset form template is obtained, a form can be generated based on the at least one metadata item and the form template so that a user can input data information corresponding to the at least one metadata item through a form control of the form.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
FIG. 1 is a schematic diagram of an embodiment of a form generation method of the present application;
FIG. 2 is a table of one possible generation of the present application;
FIG. 3 is a schematic diagram of another embodiment of the form generation method of the present application;
FIG. 4 is a schematic structural diagram of a form generation apparatus according to the present application;
fig. 5 is a schematic structural diagram of an electronic device according to the present application.
Detailed Description
Reference will now be made in detail to the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present invention.
As used herein, the singular forms "a", "an", "the" and "the" include plural referents unless the context clearly dictates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Referring to fig. 1, the present application provides a form generating method, which may be specifically executed by a form generating apparatus, where the form generating apparatus may be an electronic device, and may be specifically a server, and the method includes:
step S101: when a metadata item selection instruction is acquired, determining at least one metadata item from a preset metadata table document item database based on the metadata item selection instruction;
the form generation device maintains a metadata item database inside, and metadata refers to data describing data in a form.
When the form generation device obtains a metadata item selection instruction, the form generation device determines at least one metadata item from a metadata item database based on the selection instruction, in this embodiment, the metadata item selection instruction is obtained by performing corresponding configuration based on that form configuration personnel need different forms according to different hospitals and different article types, specifically, it may be that the form configuration personnel may perform an operation of selecting a control corresponding to at least one metadata item from the controls corresponding to the metadata items, and the form generation device generates the metadata item selection instruction after receiving the operation; another possibility is that the metadata item selection instruction may also be: the form generation device receives program configuration information which is configured by a form configuration person and selects at least one metadata item, and then generates the form based on the program configuration information.
Step S102: and acquiring a preset form template.
Step S102: and generating a form based on the at least one metadata item and the form template so that a user can input data information respectively corresponding to the at least one metadata item through a form control of the form.
The form generation device obtains a preset form template, and similarly, the form template is configured by a form configuration person through program configuration, the form generation device generates a form (or a form model) based on at least one metadata item and the form template, the finally generated form comprises at least one metadata item and form controls corresponding to the metadata items one by one, and after a user obtains the form through a corresponding client, data information corresponding to the metadata items respectively, namely specific parameters corresponding to the metadata items, such as size parameters corresponding to the size metadata items and price parameters corresponding to the price metadata items, can be input through the form controls.
In this embodiment, when a metadata item selection instruction is received, at least one metadata may be determined from a preset metadata database based on the metadata item selection instruction, and after a preset form template is acquired, the form can be generated based on the at least one metadata item and the form template, so that a user can input data information corresponding to the at least one metadata item through a form control of the form, different forms can be generated based on different metadata items for operation of the user, the form generation mode is more flexible, compared with the existing scheme that a set of form system is developed for each user, different metadata items can be selected to generate different forms only by one set of development system, and diversified forms can be dynamically generated without a large amount of configuration of developers.
It should be noted that the metadata item database defines the following fields of each metadata item (or metadata):
data name, data type, length, whether to fill in, and check rule description;
wherein, the data name: names that can be used to describe metadata, having uniqueness in the metadata item database, such as "mName," describing item name data;
data type: can be character strings, decimal numbers, integers, enumeration type data and the like;
length: the storage length of the data, such as 500 characters or 8 characters;
whether it is necessary to fill: a filling rule, which defines whether data must be filled when being input;
and (3) checking rules: checking data formats, such as limiting data formats to data in telephone, ID card, mailbox and other formats;
the following steps are described: a description of the metadata, such as "name of the purchased item".
The maintenance of the metadata item database is a continuously perfected updating process, for example, when a form generation device enters a certain metadata item based on the operation of a form configuration worker, if the metadata item does not exist in the metadata item database, a new metadata item needs to be updated into the metadata item database, so that the metadata item database is more and more perfect, and the speed of generating a form model is more and more fast.
It can be understood that, based on the above definitions of the fields in the metadata, the one-to-one correspondence between the metadata item and the form control means that: and different definitions of each field of the metadata item, wherein the corresponding form control is a form control with specific input data verification logic. For example, the data type is decimal metadata, the input data check logic of the form control corresponding to the metadata is only allowed to input decimal data, and for example, the type of the metadata is "item name" metadata, and is a character string, then the corresponding form control generates a textbox (input box), and the input data check logic is necessary to be filled, and has a maximum of 50 characters;
optionally, the metadata item comprises at least one of:
item type, item model, price, size, origin.
Optionally, the configuration information of the form template attribute is obtained, where the form template attribute includes at least one of a line type, a line color, a background color, a form size, a cell size, a form alignment manner, a form template style, rendering positions of form controls corresponding to at least one metadata item, positions of at least one metadata item in the form template, and an arrangement order of at least one metadata item;
based on the configuration information, a form template is generated.
Optionally, generating the form based on the at least one metadata item and the form template includes:
respectively generating corresponding form controls based on at least one metadata item, and input data verification logic of the form controls corresponding to the metadata items;
rendering the form controls in a form template;
and generating a form with the metadata items corresponding to the form controls one by one based on the rendered form template and at least one metadata item.
Form configuration personnel of the form generation device can configure form template attribute information, and specifically can configure line types such as thick lines, thin lines and the like; line color; a background color of the form template, e.g., a blue background of the form template; the size of the form; form alignment means, such as center alignment, etc.; cell size; a style of the form template, such as whether the metadata items are arranged in a row arrangement or a column arrangement; a location of the at least one metadata item in the form template; the rendering position of the form control in the form template; an order of arrangement of the at least one metadata item.
The form generation device may generate corresponding form controls based on at least one metadata item, and establish input data checking logic corresponding to each form control, where the input data checking logic may be used to limit a data format input in the form controls.
The form generation device may further determine, based on a predefined form template, a rendering position of each form control in the form template and a position of at least one metadata item in the form template, where it is understood that the metadata item positions and the rendering positions are also in one-to-one correspondence, render the form control at the corresponding rendering position of the form template, and may obtain a rendered form, and generate the form based on the position of each metadata item, the rendered form template, and the at least one metadata item.
For the purchasing service, one possible case of the form required by the purchasing service is shown in fig. 2, where the form includes metadata items such as an item type, an item model, a price, a size, a place of production, and form controls corresponding to the metadata items one to one, and by defining attribute information of the form template, each metadata item and a presentation position of the form control in the form template can be defined, and a user can input data information corresponding to the item type, the item model, the price, the size, and the place of production in the form controls.
Optionally, if the form template attribute includes the arrangement order of at least one metadata item;
generating a form based on the at least one metadata item and the form template, including:
and generating a form with the metadata items arranged according to the arrangement order based on the arrangement order, the at least one metadata item and the form template.
In this embodiment, the arrangement order of at least one metadata item refers to that at least one metadata item in the generated form is arranged in a row or a column, the arrangement order of the metadata items is configured to obtain a corresponding form template, and when the form is generated based on the metadata item and the form template, each metadata item in the obtained form can be arranged according to the arrangement order, so that two metadata items can be set as adjacent metadata to be displayed, so as to meet the diversified requirements of different users.
Optionally, after generating the form based on the at least one metadata item and the form template, the method further includes:
receiving a form acquisition request sent by a client;
based on the acquisition request, sending a form to the client, and receiving data information which is input by a user corresponding to the client and corresponds to at least one metadata item through a form control of the form;
and updating the form and storing the data information in a column storage mode.
The form configurator of the form generation apparatus can make the form generation apparatus dynamically generate different form models by selecting different metadata items, the user can select the form model on the client to generate an acquisition request of the form, the form generation apparatus sends the corresponding form model to the client based on the acquisition request, the user corresponding to the client can input data information corresponding to at least one metadata item on the form model, such as inputting the specific data of the name, price, size and origin of an article, clicking and storing, generating data to be stored by a client according to a form model, data information input by a user and the corresponding relation between a metadata item in the form model and a form control, sending the data to be stored by the client to a form generating device, the form generation means thus updates the form based on the data to be saved and stores the data to be saved in a column storage manner.
In this embodiment, the form data is stored not by adopting the conventional line storage but by selecting the line storage, so that the storage amount of background data is greatly reduced, the efficiency of front-end and back-end data transmission is improved, and the response speed of the data is increased.
The invention realizes an automatic form generation device based on metadata items, which can be applied to the input of purchasing information of hospitals, and a form configurator selects different metadata items according to the input requirements of purchasing information of different hospitals and different article types so as to dynamically generate different forms. In summary, as shown in fig. 3, the form generation method of the present application specifically includes the following processes:
s1: maintenance of a database of metadata items;
the metadata item database as described above maintains a large number of metadata items, and the maintenance of the metadata item database is in a process that is continuously updated.
S2: the form maintenance personnel of the form generation device selects and configures at least one metadata item and configures a form template;
the form maintainer selects metadata items to be entered from the metadata item database maintained in the step S1 according to different hospitals and different types of articles, for example, the name, specification, model, production place, price, etc. of the articles to be entered can be selected.
And configuring the attribute information of the form template by form maintenance personnel according to the personalized requirements of different hospitals and different article types on the form styles.
S3: and rendering the form control to generate the form.
Loading the metadata items and form templates determined in the step S2, determining form controls corresponding to the metadata items, each form control having unique input data checking logic, defining rendering positions of the form controls and positions of the metadata items in the form templates,
and rendering the form control corresponding to each metadata item to a corresponding rendering position of the form template, and obtaining the form model based on the metadata items, the positions of the metadata items and the rendered form template.
Therefore, the form generation method and the form generation system can dynamically select the metadata items and configure the form template through form maintenance personnel, can dynamically generate different forms, can generate different forms only by one development system, improve the form generation efficiency, save system resources, and meet the personalized requirements of users.
S4: the user enters form data through the form.
A user can select a required form model through a client, so that data information is input into the form model, the form generation device can update and store the form model according to the data information input by the user, and the data information can be stored in a column storage mode.
The data are stored in a column storage mode, the size of the data stored in the background is reduced, the efficiency of front-end and back-end data transmission is improved, and the corresponding speed of the data is increased.
Fig. 1 to fig. 3 describe a form generating method provided in the present application, and the present application further provides a form generating apparatus, please refer to fig. 4, where the apparatus includes:
the determining module 401 is configured to, when a metadata item selection instruction is obtained, determine at least one metadata item from a preset metadata item database based on the metadata item selection instruction;
an obtaining module 402, configured to obtain a preset form template;
and a form generating module 403, configured to generate a form based on the at least one metadata item and the form template, so that a user inputs data information corresponding to the at least one metadata item through a form control of the form.
Optionally, the metadata item comprises at least one of:
item type, item model, price, size, origin.
Optionally, when the form generation module 403 generates the form based on at least one metadata item and the form template, it is specifically configured to:
respectively generating corresponding form controls based on at least one metadata item, and input data verification logic of the form controls corresponding to the metadata items;
rendering the form controls in a form template;
and generating a form with the metadata items corresponding to the form controls one by one based on the rendered form template and at least one metadata item.
Optionally, the apparatus further includes a first transceiver module and a form template generating module;
before the obtaining module 402 obtains a preset form template, a first transceiver module is configured to receive configuration information for obtaining attributes of the form template, where the attributes of the form template include at least one of a line type, a line color, a background color, a form size, a cell size, a form alignment manner, a form template style, rendering positions of form controls corresponding to at least one metadata item, positions of the at least one metadata item in the form template, and an arrangement order of the at least one metadata item;
and the form template generating module is also used for generating the form template based on the configuration information.
Optionally, if the form template attribute includes the arrangement order of at least one metadata item;
the form generating module 403, when generating the form based on the at least one metadata item and the form template, is specifically configured to:
and generating a form with the metadata items arranged according to the arrangement order based on the arrangement order, the at least one metadata item and the form template.
Optionally, the apparatus further includes a second transceiver module, a third transceiver module, and an update module;
after the form generation module 403 generates a form based on at least one metadata item and the form template, the second transceiver module is configured to receive an acquisition request of the form sent by the client;
the third transceiving module is used for sending a form to the client based on the acquisition request and receiving data information which is input by a user corresponding to the client through a form control of the form and corresponds to at least one metadata item;
and the updating module is used for updating the form and storing the data information in a column storage mode.
Since the apparatus provided in the embodiments of the present application is an apparatus capable of executing the corresponding method in the embodiments of the present application, a specific implementation manner of the apparatus provided in the embodiments of the present application and various modifications thereof can be known to those skilled in the art based on the method provided in the embodiments of the present application, and therefore, a detailed description of how to implement the method in the embodiments of the present application by the apparatus is not provided herein. The apparatus used by those skilled in the art to implement the method in the embodiments of the present application is within the scope of the present application.
Based on the same principle as the method provided by the embodiment of the present application, the embodiment of the present application also provides an electronic device, which includes a memory and a processor; the memory has a computer program stored therein; the processor is adapted to perform the method provided in any of the alternative embodiments of the present application when executing the computer program.
Embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program can implement the method provided in any optional embodiment of the present application.
As an example, fig. 5 shows a schematic structural diagram of an electronic device to which the present application may be applied, where the electronic device may specifically be a form generation apparatus or a server, and may also be another device, where the electronic device 8000 includes a memory 8003 and a processor 8001, where the memory 8003 stores a computer program, and the processor 8001 is configured to execute any one of the methods when the computer program is executed. In particular, fig. 5 shows only an alternative schematic structure of the electronic device. The structure of the electronic device 8000 shown in fig. 5 is not limited to the embodiment of the present application.
Processor 8001 is coupled to memory 8003, such as via bus 8002. Optionally, the electronic device 8000 may also include a transceiver 8004. It should be noted that the transceiver 8004 is not limited to one in practical applications, and the transceiver 8004 may be specifically used for communication between the electronic device 8000 and other devices.
Processor 8001 may be a CPU (Central Processing Unit), general purpose Processor, DSP (Digital Signal Processor), ASIC (Application specific integrated Circuit), FPGA (Field Programmable Gate Array), or other Programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure of the present application. Processor 8001 may also be a combination that implements computing functionality, e.g., comprising one or more microprocessor combinations, DSP and microprocessor combinations, and so forth.
Bus 8002 may include a path to transfer information between the aforementioned components. The bus 8002 may be a PCI (Peripheral Component Interconnect) bus, an EISA (extended industry Standard Architecture) bus, or the like. The bus 8002 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
The Memory 8003 may be a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory) or other type of dynamic storage device that can store information and instructions, an EEPROM (Electrically erasable programmable Read Only Memory), a CD-ROM (Compact Read Only Memory) or other optical disk storage, optical disk storage (including Compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to this.
The memory 8003 is used for storing application program codes for executing the scheme of the present application, and the execution is controlled by the processor 8001. Processor 8001 is configured to execute application program code stored in memory 8003 to implement what is shown in any of the method embodiments above.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present application, and these modifications and decorations should also be regarded as the protection scope of the present application.

Claims (10)

1. A form generation method, comprising:
when a metadata item selection instruction is acquired, determining at least one metadata item from a preset metadata item database based on the metadata item selection instruction;
acquiring a preset form template;
and generating a form based on the at least one metadata item and the form template, so that a user can input data information respectively corresponding to the at least one metadata item through a form control of the form.
2. Method according to claim 1, characterized in that said metadata items comprise at least one of the following:
item type, item model, price, size, origin.
3. The method of claim 1 or 2, wherein generating the form based on the at least one metadata item and the form template comprises:
respectively generating corresponding form controls based on the at least one metadata item, and input data verification logic of the form controls corresponding to the metadata items;
rendering the form controls in the form template;
and generating a form with the metadata items in one-to-one correspondence with the form controls based on the rendered form template and the at least one metadata item.
4. The method of claim 1 or 2, wherein prior to obtaining the preset form template, the method further comprises:
acquiring configuration information of form template attributes, wherein the form template attributes comprise at least one of line types, line colors, background colors, form sizes, cell sizes, form alignment modes, forms of the form templates, rendering positions of form controls corresponding to at least one metadata item, positions of the at least one metadata item in the form templates and arrangement sequences of the at least one metadata item;
and generating the form template based on the configuration information.
5. The method of claim 4, wherein if the form template property includes at least one metadata item rank order;
generating a form based on the at least one metadata item and the form template, comprising:
and generating a form for arranging the metadata items according to the arrangement order based on the arrangement order, the at least one metadata item and the form template.
6. The method of claim 1 or 2, wherein after generating the form based on the at least one metadata item and the form template, the method further comprises:
receiving an acquisition request of the form sent by the client;
based on the acquisition request, sending the form to the client, and receiving data information which is input by a user corresponding to the client and corresponds to the at least one metadata item through a form control of the form;
and updating the form and storing the data information in a column storage mode.
7. A form generation apparatus, comprising:
the determining module is used for determining at least one metadata item from a preset metadata item database based on a metadata item selecting instruction when the metadata item selecting instruction is acquired;
the acquisition module is used for acquiring a preset form template;
and the form generating module is used for generating a form based on the at least one metadata item and the form template so that a user can input data information respectively corresponding to the at least one metadata item through a form control of the form.
8. The apparatus of claim 7, wherein the form generation module is specifically configured to:
respectively generating corresponding form controls based on the at least one metadata item, and input data verification logic of the form controls corresponding to the metadata items;
rendering the form controls in the form template;
and generating a form with the metadata items in one-to-one correspondence with the form controls based on the rendered form template and the at least one metadata item.
9. An electronic device, comprising:
the electronic device comprises a memory and a processor;
the memory has stored therein a computer program;
the processor, when running the computer program, is configured to perform the method of any of claims 1-6.
10. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 6.
CN201911151358.3A 2019-11-21 2019-11-21 Form generation method and device, electronic equipment and computer readable storage medium Pending CN110941614A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911151358.3A CN110941614A (en) 2019-11-21 2019-11-21 Form generation method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911151358.3A CN110941614A (en) 2019-11-21 2019-11-21 Form generation method and device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110941614A true CN110941614A (en) 2020-03-31

Family

ID=69907847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911151358.3A Pending CN110941614A (en) 2019-11-21 2019-11-21 Form generation method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110941614A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897801A (en) * 2020-08-05 2020-11-06 上海伯俊软件科技有限公司 Autonomous form configuration method based on metadata layer
CN111967235A (en) * 2020-08-31 2020-11-20 平安国际智慧城市科技股份有限公司 Form processing method and device, computer equipment and storage medium
CN112199373A (en) * 2020-09-24 2021-01-08 中国建设银行股份有限公司 Form development method and system
CN112527260A (en) * 2020-12-21 2021-03-19 杭州趣链科技有限公司 Method and device for generating JSON data of form and storage medium
CN112905943A (en) * 2020-12-09 2021-06-04 广州市玄武无线科技股份有限公司 Dynamic chart display method and system based on mobile terminal
CN113986158A (en) * 2021-10-25 2022-01-28 深圳奥哲网络科技有限公司 Printing method, printing designer, and computer-readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100017426A1 (en) * 2008-07-15 2010-01-21 International Business Machines Corporation Form Attachment Metadata Generation
CN103927353A (en) * 2014-04-10 2014-07-16 北京网秦天下科技有限公司 Method and device for generating service tables
CN104899186A (en) * 2015-06-24 2015-09-09 郑州悉知信息技术有限公司 Form generating and obtaining method and device
CN107943930A (en) * 2017-11-22 2018-04-20 用友金融信息技术股份有限公司 Dynamic list generation method, device, computer equipment and readable storage medium storing program for executing
CN108228549A (en) * 2017-06-20 2018-06-29 上海吉贝克信息技术有限公司 A kind of collecting method and system, server
CN108363684A (en) * 2018-02-13 2018-08-03 中企动力科技股份有限公司 List creation method, device and server
CN109308296A (en) * 2018-09-30 2019-02-05 税友软件集团股份有限公司 A kind of generation method, device and the computer readable storage medium of business datum table
CN109657214A (en) * 2018-09-27 2019-04-19 深圳壹账通智能科技有限公司 Report form generation method, device, terminal and storage medium
CN110020416A (en) * 2019-02-22 2019-07-16 贵州力创科技发展有限公司 A kind of list generation method, device and storage medium
CN110472207A (en) * 2018-05-10 2019-11-19 北京京东尚科信息技术有限公司 List generation method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100017426A1 (en) * 2008-07-15 2010-01-21 International Business Machines Corporation Form Attachment Metadata Generation
CN103927353A (en) * 2014-04-10 2014-07-16 北京网秦天下科技有限公司 Method and device for generating service tables
CN104899186A (en) * 2015-06-24 2015-09-09 郑州悉知信息技术有限公司 Form generating and obtaining method and device
CN108228549A (en) * 2017-06-20 2018-06-29 上海吉贝克信息技术有限公司 A kind of collecting method and system, server
CN107943930A (en) * 2017-11-22 2018-04-20 用友金融信息技术股份有限公司 Dynamic list generation method, device, computer equipment and readable storage medium storing program for executing
CN108363684A (en) * 2018-02-13 2018-08-03 中企动力科技股份有限公司 List creation method, device and server
CN110472207A (en) * 2018-05-10 2019-11-19 北京京东尚科信息技术有限公司 List generation method and device
CN109657214A (en) * 2018-09-27 2019-04-19 深圳壹账通智能科技有限公司 Report form generation method, device, terminal and storage medium
CN109308296A (en) * 2018-09-30 2019-02-05 税友软件集团股份有限公司 A kind of generation method, device and the computer readable storage medium of business datum table
CN110020416A (en) * 2019-02-22 2019-07-16 贵州力创科技发展有限公司 A kind of list generation method, device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
姜欣荣等: "银行大数据应用", 机械工业出版社, pages: 65 - 66 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897801A (en) * 2020-08-05 2020-11-06 上海伯俊软件科技有限公司 Autonomous form configuration method based on metadata layer
CN111967235A (en) * 2020-08-31 2020-11-20 平安国际智慧城市科技股份有限公司 Form processing method and device, computer equipment and storage medium
CN111967235B (en) * 2020-08-31 2023-06-27 深圳赛安特技术服务有限公司 Form processing method, form processing device, computer equipment and storage medium
CN112199373A (en) * 2020-09-24 2021-01-08 中国建设银行股份有限公司 Form development method and system
CN112905943A (en) * 2020-12-09 2021-06-04 广州市玄武无线科技股份有限公司 Dynamic chart display method and system based on mobile terminal
CN112527260A (en) * 2020-12-21 2021-03-19 杭州趣链科技有限公司 Method and device for generating JSON data of form and storage medium
CN113986158A (en) * 2021-10-25 2022-01-28 深圳奥哲网络科技有限公司 Printing method, printing designer, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN110941614A (en) Form generation method and device, electronic equipment and computer readable storage medium
US11210460B2 (en) Templating process for a multi-page formatted document
US11797273B2 (en) System and method for enhancing component based development models with auto-wiring
KR20130086138A (en) Cross-platform application framework
CN107656729B (en) List view updating apparatus, method and computer-readable storage medium
CN103970758A (en) Database accessing system and method
CN110647316B (en) Method and device for generating universal business object, computer equipment and storage medium
CN105488125A (en) Page access method and apparatus
CN110837366A (en) Form generation method, electronic device and computer readable storage medium
CN112948427A (en) Data query method, device, equipment and storage medium
CN107679056A (en) Generate method, electronic installation and the readable storage medium storing program for executing of SQL statement
CN107506483A (en) Page loading method, device, electronic equipment and storage medium
CN112650909A (en) Product display method and device, electronic equipment and storage medium
CN111125064A (en) Method and device for generating database mode definition statement
CN108874384B (en) Terminal device, server, web page data processing method, and computer storage medium
CN108874808A (en) A kind of page elements interlock method, device and server
US10884765B1 (en) Object configuration dynamic graphical user interface
CN110989891A (en) Component deployment method in chart editor, chart editor and related equipment
CN113010582A (en) Data processing method and device, computer readable medium and electronic equipment
CN112104544B (en) Method and device for sending dynamic mail based on Freemarker
CN114115864A (en) Interface generation method and device and electronic equipment
CN114611477A (en) Design recommendation method and device for data table, electronic equipment and medium
CN114115855A (en) Code multiplexing method and device, computer readable storage medium and electronic equipment
CN109471410B (en) Dynamic preview generation in a product lifecycle management environment
CN109561146A (en) Document down loading method, device, terminal 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