CN114371845A - Form generation method and device - Google Patents

Form generation method and device Download PDF

Info

Publication number
CN114371845A
CN114371845A CN202111531424.7A CN202111531424A CN114371845A CN 114371845 A CN114371845 A CN 114371845A CN 202111531424 A CN202111531424 A CN 202111531424A CN 114371845 A CN114371845 A CN 114371845A
Authority
CN
China
Prior art keywords
target service
data model
model corresponding
attribute
configuration information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111531424.7A
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.)
Inspur Communication Information System Co Ltd
Original Assignee
Inspur Communication Information System 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 Inspur Communication Information System Co Ltd filed Critical Inspur Communication Information System Co Ltd
Priority to CN202111531424.7A priority Critical patent/CN114371845A/en
Publication of CN114371845A publication Critical patent/CN114371845A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Abstract

The invention provides a form generation method and a form generation device, wherein the method comprises the following steps: generating a logical data model corresponding to the target service based on the physical data model corresponding to the target service; acquiring configuration information of each attribute in a logic data model corresponding to a target service; and generating a form of the target service based on the configuration information of each attribute. According to the form generation method and device provided by the invention, the logical data model corresponding to the target service is generated through the physical data model corresponding to the target service, the configuration information of each attribute in the logical data model corresponding to the target service is obtained, and the form of the target service is generated based on the configuration information of each attribute, so that a user can independently generate various personalized forms without having a technical background, the code simplification can be greatly improved, the writing of repeated codes can be avoided, the simple, efficient and low-code development of the form is realized, the development cost and the system defect rate can be greatly reduced, and the form generation efficiency can be improved.

Description

Form generation method and device
Technical Field
The invention relates to the technical field of computers, in particular to a form generation method and device.
Background
The comprehensive application systems such as the operation and maintenance system of the government and enterprise business integrate data provided by a plurality of operation and maintenance capability centers, and the requirements of automation and intellectualization of operation and maintenance of various ToB businesses are increasingly urgent. For the above-mentioned integrated application system, a large number of forms need to be developed for displaying various types of data.
The existing form development modes are mainly divided into two types: one is to directly compile and realize a form page by adopting a traditional manual programming mode; and the other method is to generate a form page by combining partial configuration of the form (such as configuration of a list display field, configuration of a form display field and the like) with a manual programming mode.
In conclusion, the existing form development method has the defects of low development efficiency, poor flexibility and the like, and is difficult to meet the application scene requirements of comprehensive application systems such as a government-enterprise business operation and maintenance system and the like. Therefore, how to increase the automation degree of form generation and improve the development efficiency becomes a problem to be solved urgently.
Disclosure of Invention
The invention provides a form generation method and a form generation device, which are used for solving the defect of low efficiency of form generation in the prior art and realizing more efficient form generation.
The invention provides a form generation method, which comprises the following steps:
generating a logic data model corresponding to a target service based on a physical data model corresponding to the target service;
acquiring configuration information of each attribute in a logic data model corresponding to the target service;
and generating a form of the target service based on the configuration information of each attribute.
According to the form generation method provided by the present invention, before generating the logical data model corresponding to the target service based on the physical data model corresponding to the target service, the method further includes:
and generating a physical data model corresponding to the target service.
According to the form generation method provided by the invention, the generating of the logical data model corresponding to the target service based on the physical data model corresponding to the target service specifically comprises the following steps:
receiving a first input of a user; the first input carries information of a physical data model corresponding to the target service;
and responding to the first input, mapping the physical data model corresponding to the target service, and generating a logical data model corresponding to the target service.
According to the form generation method provided by the present invention, the obtaining of the configuration information of each attribute in the logical data model corresponding to the target service specifically includes:
for each of the attributes, receiving a second input; and the second input carries the configuration information of the attribute.
According to the form generation method provided by the present invention, the generating the form of the target service based on the configuration information of each attribute specifically includes:
generating an address of a form of the target service;
and generating a form of the target service based on the configuration information of each attribute, and associating the form of the target service with the address of the form of the target service.
According to the form generation method provided by the invention, the receiving of the second input specifically comprises:
receiving a first operation of a user on a first page;
receiving a second operation of the user on a second page under the condition that the attribute supports the query based on the first operation; and the second operation carries the query configuration information of the attribute.
The present invention also provides a form generating apparatus, including:
the model generation module is used for generating a logical data model corresponding to the target service based on a physical data model corresponding to the target service;
the configuration acquisition module is used for acquiring configuration information of each attribute in the logic data model corresponding to the target service;
and the form generating module is used for generating a form of the target service based on the configuration information of each attribute.
The present invention also provides an electronic device, comprising a memory, a processor and a computer program stored on the memory and operable on the processor, wherein the processor implements the steps of any of the above-mentioned form generation methods when executing the program.
The invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the form generation method as described in any one of the above.
The invention also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of the form generation method as described in any one of the above.
According to the form generation method and device provided by the invention, the logical data model corresponding to the target service is generated through the physical data model corresponding to the target service, the configuration information of each attribute in the logical data model corresponding to the target service is obtained, and the form of the target service is generated based on the configuration information of each attribute, so that a user can independently generate various personalized forms without a technical background, the code simplification can be greatly improved, the writing of repeated codes can be avoided, the simple, efficient and low-code development of the form is realized, the development cost and the system defect rate can be greatly reduced, the form generation efficiency can be improved, and the operator can realize the adaptation of various service scenes without a technical background.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram of a form generation method provided by the present invention;
FIG. 2 is a schematic structural diagram of a form generation apparatus provided in the present invention;
fig. 3 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the embodiments of the invention, the terms "first", "second", and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance, nor order.
In the description of the embodiments of the present invention, it should be noted that, unless explicitly stated or limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. Specific meanings of the above terms in the embodiments of the present invention can be understood in specific cases by those of ordinary skill in the art.
The following describes a form generation method and apparatus provided by the present invention with reference to fig. 1 to 3.
Fig. 1 is a flowchart illustrating a form generation method provided in the present application. The form generation method according to the embodiment of the present application is described below with reference to fig. 1. As shown in fig. 1, the method includes: step 101, step 102 and step 103.
Specifically, an execution subject of the form generation method provided by the embodiment of the present invention is a form generation apparatus. The form generation apparatus may be embodied in various forms. Illustratively, the form generating device may be a fixed terminal such as a PC (personal computer) and a server, or a mobile terminal such as a tablet computer and a smartphone.
Step 101, generating a logical data model corresponding to the target service based on the physical data model corresponding to the target service.
Specifically, a Physical Data Model (Physical Data Model), referred to as "Physical Model" for short, is a Model oriented to the Physical representation of a computer, and describes the organization of Data on a storage medium, which is related not only to a specific DBMS (Database management system), but also to the operating system and hardware. Each logical data model has a corresponding physical data model when implemented. In order to ensure the independence and the portability of the DBMS, most of the realization work of the physical data model is automatically completed by the system, and designers only design special structures such as indexes, aggregations and the like.
The physical data model is based on the logical data model, and considers various specific technical implementation factors to design the database architecture, thereby really realizing the storage of data in the database.
The contents of the physical data model include determining all tables and columns, defining foreign keys for determining relationships between tables, possibly canonicalizing based on user requirements, etc. Physical implementation considerations may result in a large difference between the physical data model and the logical data model.
The goal of the physical data model is to specify how the logical data model is implemented with the database schema, as well as actually storing the data.
A Logical Data Model (Logical Data Model), referred to as "Logical Model" for short, is a Model that a user sees from a database, and is a Data Model supported by a specific DBMS, such as a mesh Data Model (Network Data Model), a Hierarchical Data Model (Hierarchical Data Model), and the like. The model is both user-oriented and system-oriented, and is mainly used for the implementation of a database management system (DBMS).
The logical data model reflects the system analysis designer's view of the data store, which is a further decomposition and refinement of the conceptual data model. The logical data model is a basic blueprint of business objects, data items of the business objects, and relationships between the business objects, as determined according to business rules.
The contents of the logical data model include all entities and relationships, determine the attributes of each entity, define the primary key of each entity, specify the foreign key of the entity, and require a canonicalization process.
The goal of the logical data model is to describe the data in as much detail as possible, but does not consider how the data is physically implemented.
The logical data modeling not only affects the direction of database design, but also indirectly affects the performance and management of the final database. If a sufficient investment is made in implementing the logical data model, many alternatives are possible in the design of the physical data model.
Based on the corresponding relationship between the physical data model corresponding to the target service and the logical data model corresponding to the target service, the logical data model corresponding to the target service can be generated according to the physical data model corresponding to the target service.
The logical data model initially defines model fields, field types, association enumerations, sub-queries, and the like. That is, the logical data model may include the contents of a model field, a field type, an attribute type (text, enumeration, translation, etc.), an attribute source (database, sub-query, program, etc.), an attribute exposure order, and the like.
And 102, acquiring configuration information of each attribute in a logic data model corresponding to the target service.
Specifically, the user may configure each attribute in the logical data model based on an interface for displaying the logical data model corresponding to the target service, and generate configuration information of each attribute.
The form generation device can display the interface for displaying the logic data model corresponding to the target service, so that the configuration information of each attribute can be acquired.
The configuration information of the attribute may mainly include whether the attribute is displayed in a list or not, whether the attribute is displayed in a form or not, the type (text box, check box, radio box, drop-down selection box, etc.) and length of a control for showing the attribute, whether the control is used as a query condition, the type of query (general query, fuzzy query, scope query, etc.), whether the control is ordered, and the like.
And 103, generating a form of the target service based on the configuration information of each attribute.
Specifically, the form page may be automatically generated based on configuration information of each attribute in the logical data model corresponding to the target service. The form page includes a form for the target service.
The form is mainly responsible for data collection functions in the web page. A form has three basic components: form labels, form fields, and form buttons.
The form tag can include the URL of the CGI program used to process the form data and the method by which the data is submitted to the server.
Form fields, which may include text boxes, password boxes, hidden fields, multi-line text boxes, check boxes, radio boxes, drop-down selection boxes, file upload boxes, and the like.
The form buttons may include a submit button, a reset button, and a general button. Form buttons can be used to transfer data to the CGI script on the server or to cancel input, and can also be used to control other processing tasks that define the processing script.
According to the embodiment of the invention, the logical data model corresponding to the target service is generated through the physical data model corresponding to the target service, the configuration information of each attribute in the logical data model corresponding to the target service is obtained, and the form of the target service is generated based on the configuration information of each attribute, so that a user can independently generate various personalized forms without a technical background, the simplification of codes can be greatly improved, the compiling of repeated codes can be avoided, the simple, efficient and low-code development of the form is realized, the development cost and the system defect rate can be greatly reduced, the form generation efficiency can be improved, and the adaptation of various service scenes can be realized without a technical background for operators.
Based on the content of any of the above embodiments, before generating the logical data model corresponding to the target service based on the physical data model corresponding to the target service, the method further includes: and generating a physical data model corresponding to the target service.
Specifically, before step 101, a database entity table, a view, a sequence, and the like may be created in advance based on the input of the user, so as to generate a physical data model corresponding to the target service.
The user input may be input to the form generation apparatus after the user combs a business model related to a certain type of business (e.g., a government and enterprise business).
According to the embodiment of the invention, the physical data model corresponding to the target service is generated, so that the logical data model corresponding to the target service can be generated based on the physical data model corresponding to the target service, the configuration information of each attribute in the logical data model corresponding to the target service is obtained, and the form of the target service is generated based on the configuration information of each attribute.
Based on the content of any of the above embodiments, generating a logical data model corresponding to the target service based on the physical data model corresponding to the target service specifically includes: receiving a first input of a user; the first input carries information of a physical data model corresponding to the target service.
Specifically, a first input based on a first interface may be received, where the first input carries information of a physical data model corresponding to a target service.
And responding to the first input, mapping the physical data model corresponding to the target service, and generating a logical data model corresponding to the target service.
Specifically, after receiving the first input, a physical data model corresponding to the target service may be determined; and mapping based on the physical data model to obtain a logical data model corresponding to the target service.
Illustratively, the first input may include: the method comprises the steps of operating a right-click model management related service (such as 5G), clicking a one-click generation button, inputting a corresponding physical table name, a model Chinese name, a model English name and the like in a popped interface after clicking the one-click generation button, and generating a corresponding logical data model by one click. The physical table name is information of a physical data model corresponding to the target service; the model Chinese name and the model English name respectively refer to the Chinese name and the English name of the logic data model corresponding to the target service.
The embodiment of the invention can construct a plurality of logical data models through the physical data model, can avoid repeated table construction and code compiling, can solve the problem of unified access of a plurality of data sources, and can greatly reduce the development cost.
Based on the content of any of the above embodiments, acquiring configuration information of each attribute in a logical data model corresponding to a target service specifically includes: for each attribute, receiving a second input; and the second input carries configuration information of the attribute.
Specifically, the configuration information of the attribute in the logical data model corresponding to the target service may include page configuration information. The page configuration information may include whether to list and display, whether to form, the type and length of the control used to show the attribute, whether to serve as a query condition, the type of query (normal query, fuzzy query, scope query, etc.), whether to sort, etc. That is, the page configuration information of the attribute may include a presentation field, a control length, a presentation order, a sorting manner, and the like.
The attributes in the logical data model corresponding to the target service may include form attributes and list attributes.
The user may input a second input for a certain attribute to the form generation apparatus based on the page for displaying the page configuration information.
The form generation apparatus receives the second input, so that the configuration information of a certain attribute carried by the second input can be acquired.
Between step 102 and step 103, it may further include: receiving a third input of the user; and acquiring the configuration information of the page operation control based on the third input. And the third input may carry configuration information of the page operation control.
The page operation control can be an operation control in a list page and/or a list page of the form. The configuration information of the page operation control mainly comprises the display configuration of operation buttons such as addition, modification, deletion, detail, import, export and the like. Besides, the user-defined operation controls can be supported besides the operation buttons (namely, button controls) such as adding, modifying, deleting, detailing, importing, exporting and the like. Based on the visual configuration interface, flexible configuration can be realized, and the control can be customized.
The embodiment of the invention realizes flexible configuration based on the visual configuration interface and can realize flexible definition of form page display.
Based on the content of any of the embodiments described above, generating a form of a target service based on configuration information of each attribute specifically includes: the address of the form of the target service is generated.
Specifically, an access address can be generated for a target service form, a uniform access path is provided, and a menu item is configured to issue the target service form to the outside.
And generating a form of the target service based on the configuration information of each attribute, and associating the form of the target service with the address of the form of the target service.
Specifically, by establishing the association between the system menu and the address of the form of the target service, the form is accessed through the address to realize the real-time dynamic configuration of the form.
Based on the configuration information of each attribute, display content corresponding to each attribute in the form, such as an operation control, a Chinese name of the attribute, a text box or a selection box corresponding to the attribute, and the like, can be generated in the form page, so as to generate the form of the target service.
The embodiment of the invention can realize the real-time dynamic configuration of the form by providing the uniform access path.
Based on the content of any of the above embodiments, receiving a second input specifically includes: and receiving a first operation of a user on a first page.
Specifically, the first page may be a page for displaying page configuration information.
The user performs a first operation on the first page, and the form generation device may receive the first operation of the user on the first page.
A first operation for configuring whether the attribute acts as a query condition (i.e., whether the query is supported).
Receiving a second operation of the user on a second page under the condition that the attribute supports the query based on the first operation; and a second operation, which carries the query configuration information of the attribute.
Specifically, for each attribute supporting the query, the user may perform a second operation on the second page, and the form generation apparatus may receive the second operation of the user on the second page.
The second page may be a page for displaying the query configuration information. In addition to page configuration information, configuration information for attributes may also include query configuration information,
it should be noted that each attribute in the logical data model generated in step 101 may be automatically associated with the name of the logical data model.
The embodiment of the invention realizes flexible configuration based on the visual configuration interface and can realize flexible definition of form page display.
The following describes the form generating apparatus provided by the present invention, and the form generating apparatus described below and the form generating method described above may be referred to correspondingly.
Fig. 2 is a schematic structural diagram of a form generation apparatus according to an embodiment of the present invention. Based on the content of any of the above embodiments, as shown in fig. 2, the apparatus includes a model generation module 201, a configuration acquisition module 202, and a form generation module 203, where:
the model generation module 201 is configured to generate a logical data model corresponding to the target service based on the physical data model corresponding to the target service;
a configuration obtaining module 202, configured to obtain configuration information of each attribute in a logical data model corresponding to a target service;
and the form generating module 203 is configured to generate a form of the target service based on the configuration information of each attribute.
Specifically, the model generation module 201, the configuration acquisition module 202, and the form generation module 203 are electrically connected in sequence.
The model generation module 201 generates a logical data model corresponding to the target service according to the physical data model corresponding to the target service based on the correspondence between the physical data model corresponding to the target service and the logical data model corresponding to the target service.
The configuration obtaining module 202 may display the interface for displaying the logical data model corresponding to the target service, so as to receive input from a user based on the interface and obtain configuration information of each attribute.
The form generation module 203 may automatically generate a form page based on the configuration information of each attribute in the logical data model corresponding to the target service. The form page includes a form for the target service.
Optionally, the form generating apparatus may further include:
and the model creating module is used for generating a physical data model corresponding to the target service.
Optionally, the model generation module 201 may include:
a first input unit for receiving a first input of a user; the first input carries information of a physical data model corresponding to the target service;
and the mapping unit is used for responding to the first input, mapping the physical data model corresponding to the target service and generating a logical data model corresponding to the target service.
Optionally, the configuration obtaining module 202 may be specifically configured to, for each attribute, receive a second input; and the second input carries configuration information of the attribute.
Optionally, the form generating module 203 may be specifically configured to:
generating the address of the form of the target service;
and generating a form of the target service based on the configuration information of each attribute, and associating the form of the target service with the address of the form of the target service.
Optionally, the configuration acquiring module 202 may include:
the receiving module is used for receiving a first operation of a user on a first page; receiving a second operation of the user on a second page under the condition that the attribute supports the query based on the first operation; and a second operation, which carries the query configuration information of the attribute.
The form generation apparatus provided in the embodiment of the present invention is configured to execute the form generation method of the present invention, and an implementation manner of the form generation apparatus is consistent with an implementation manner of the form generation method provided in the present invention, and the same beneficial effects can be achieved, and details are not described here.
The form generation apparatus is used for the form generation method of each of the foregoing embodiments. Therefore, the description and definition in the form generation method in the foregoing embodiments may be used for understanding the execution modules in the embodiments of the present invention.
According to the embodiment of the invention, the logical data model corresponding to the target service is generated through the physical data model corresponding to the target service, the configuration information of each attribute in the logical data model corresponding to the target service is obtained, and the form of the target service is generated based on the configuration information of each attribute, so that a user can independently generate various personalized forms without a technical background, the simplification of codes can be greatly improved, the compiling of repeated codes can be avoided, the simple, efficient and low-code development of the form is realized, the development cost and the system defect rate can be greatly reduced, the form generation efficiency can be improved, and the adaptation of various service scenes can be realized without a technical background for operators.
Fig. 3 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 3: a processor (processor)310, a communication Interface (communication Interface)320, a memory (memory)330 and a communication bus 340, wherein the processor 310, the communication Interface 320 and the memory 330 communicate with each other via the communication bus 340. The processor 310 may invoke logic instructions in the memory 330 to perform a form generation method comprising: generating a logical data model corresponding to the target service based on the physical data model corresponding to the target service; acquiring configuration information of each attribute in a logic data model corresponding to a target service; and generating a form of the target service based on the configuration information of each attribute.
In addition, the logic instructions in the memory 330 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The processor 310 in the electronic device provided in the embodiment of the present application may call the logic instruction in the memory 330, and an implementation manner of the processor 310 is consistent with an implementation manner of the form generation method provided in the present application, and may achieve the same beneficial effects, and details are not described here again.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the form generation method provided by the above methods, the method comprising: generating a logical data model corresponding to the target service based on the physical data model corresponding to the target service; acquiring configuration information of each attribute in a logic data model corresponding to a target service; and generating a form of the target service based on the configuration information of each attribute.
When executed, the computer program product provided in the embodiment of the present application implements the form generation method, and the specific implementation manner of the method is consistent with the implementation manner described in the embodiment of the foregoing method, and the same beneficial effects can be achieved, and details are not described here.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the form generation methods provided above, the method comprising: generating a logical data model corresponding to the target service based on the physical data model corresponding to the target service; acquiring configuration information of each attribute in a logic data model corresponding to a target service; and generating a form of the target service based on the configuration information of each attribute.
When executed, the computer program stored on the non-transitory computer readable storage medium provided in the embodiment of the present application implements the form generation method, and a specific implementation manner of the method is consistent with the implementation manner described in the embodiment of the foregoing method, and the same beneficial effects can be achieved, and details are not described here again.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A form generation method, comprising:
generating a logic data model corresponding to a target service based on a physical data model corresponding to the target service;
acquiring configuration information of each attribute in a logic data model corresponding to the target service;
and generating a form of the target service based on the configuration information of each attribute.
2. The form generation method of claim 1, wherein before generating the logical data model corresponding to the target business based on the physical data model corresponding to the target business, the method further comprises:
and generating a physical data model corresponding to the target service.
3. The form generation method according to claim 1, wherein the generating a logical data model corresponding to the target service based on a physical data model corresponding to the target service specifically includes:
receiving a first input of a user; the first input carries information of a physical data model corresponding to the target service;
and responding to the first input, mapping the physical data model corresponding to the target service, and generating a logical data model corresponding to the target service.
4. The form generation method according to claim 1, wherein the obtaining configuration information of each attribute in the logical data model corresponding to the target service specifically includes:
for each of the attributes, receiving a second input; and the second input carries the configuration information of the attribute.
5. The form generation method according to claim 1, wherein the generating the form of the target service based on the configuration information of each attribute specifically includes:
generating an address of a form of the target service;
and generating a form of the target service based on the configuration information of each attribute, and associating the form of the target service with the address of the form of the target service.
6. The form generation method of claim 4, wherein the receiving a second input specifically comprises:
receiving a first operation of a user on a first page;
receiving a second operation of the user on a second page under the condition that the attribute supports the query based on the first operation; and the second operation carries the query configuration information of the attribute.
7. A form generation apparatus, comprising:
the model generation module is used for generating a logical data model corresponding to the target service based on a physical data model corresponding to the target service;
the configuration acquisition module is used for acquiring configuration information of each attribute in the logic data model corresponding to the target service;
and the form generating module is used for generating a form of the target service based on the configuration information of each attribute.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the form generation method according to any of claims 1 to 6 are implemented by the processor when executing the program.
9. A non-transitory computer readable storage medium, having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the steps of the form generation method of any of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the form generation method according to any one of claims 1 to 6 when executed by a processor.
CN202111531424.7A 2021-12-14 2021-12-14 Form generation method and device Pending CN114371845A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111531424.7A CN114371845A (en) 2021-12-14 2021-12-14 Form generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111531424.7A CN114371845A (en) 2021-12-14 2021-12-14 Form generation method and device

Publications (1)

Publication Number Publication Date
CN114371845A true CN114371845A (en) 2022-04-19

Family

ID=81139242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111531424.7A Pending CN114371845A (en) 2021-12-14 2021-12-14 Form generation method and device

Country Status (1)

Country Link
CN (1) CN114371845A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115190013A (en) * 2022-05-19 2022-10-14 浪潮通信信息系统有限公司 Method and device for customizing reinsurance monitoring system, electronic equipment and storage medium
CN115291876A (en) * 2022-09-29 2022-11-04 安徽商信政通信息技术股份有限公司 Form design tool construction method, system, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115190013A (en) * 2022-05-19 2022-10-14 浪潮通信信息系统有限公司 Method and device for customizing reinsurance monitoring system, electronic equipment and storage medium
CN115291876A (en) * 2022-09-29 2022-11-04 安徽商信政通信息技术股份有限公司 Form design tool construction method, system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US10346184B2 (en) Open data protocol services in applications and interfaces across multiple platforms
CN108038222B (en) System of entity-attribute framework for information system modeling and data access
US10379710B2 (en) Modeling system for graphic user interface
US8712965B2 (en) Dynamic report mapping apparatus to physical data source when creating report definitions for information technology service management reporting for peruse of report definition transparency and reuse
US9146955B2 (en) In-memory, columnar database multidimensional analytical view integration
US8589311B2 (en) Designing business content for reporting
CN110168522B (en) Maintaining data lineage to detect data event
US20040031015A1 (en) System and method for manipulation of software
US10635408B2 (en) Method and apparatus for enabling agile development of services in cloud computing and traditional environments
CN103778107A (en) Method and platform for quickly and dynamically generating form based on EXCEL
CA2391756A1 (en) Accessing a remote iseries or as/400 computer system from the eclipse integrated development environment
CN111126019B (en) Report generation method and device based on mode customization and electronic equipment
CN114371845A (en) Form generation method and device
CN114035773A (en) Configuration-based low-code form development method, system and device
CN114090653A (en) Resource data statistical method and device, meta-platform equipment and storage medium
CN113535165A (en) Interface generation method and device, electronic equipment and computer readable storage medium
Zhao The database construction of intangible cultural heritage based on artificial intelligence
US11615061B1 (en) Evaluating workload for database migration recommendations
US10534588B2 (en) Data processing simulator with simulator module and data elements
CN112015429B (en) Code generation method, device and equipment
CN108845857A (en) A kind of icon management method and device based on cloud platform
WO2022220982A1 (en) Database query execution on multiple databases
CN114547165A (en) Data standardization intelligent processing method and device
CN114327709A (en) Control page generation method and device, intelligent device and storage medium
CN112241406B (en) Big data display and agile development deployment method

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