CN112199373A - Form development method and system - Google Patents

Form development method and system Download PDF

Info

Publication number
CN112199373A
CN112199373A CN202011019711.5A CN202011019711A CN112199373A CN 112199373 A CN112199373 A CN 112199373A CN 202011019711 A CN202011019711 A CN 202011019711A CN 112199373 A CN112199373 A CN 112199373A
Authority
CN
China
Prior art keywords
data
theme
data resources
data resource
receiving
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
CN202011019711.5A
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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202011019711.5A priority Critical patent/CN112199373A/en
Publication of CN112199373A publication Critical patent/CN112199373A/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/248Presentation of query results
    • 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/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/285Clustering or classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a form development method and system, and relates to the technical field of computers. One embodiment of the method comprises: acquiring data resources, receiving an operation mode configured to the data resources, determining a form template corresponding to the operation mode, and importing data in the data resources into the form template to generate a form; receiving menu options configured for the form, and establishing an incidence relation between the menu options and an access path of the form; and responding to the clicking operation of the menu option, and accessing the form through the access path to show the form on the page. The implementation method supports a certain degree of self-definition on the page display for the requirement of a large and complicated form development function, does not appear to be uniform, and can quickly respond to the requirement change because the data resource or the form display content is maintained through the configuration information when the data resource or the form display content is changed.

Description

Form development method and system
Technical Field
The invention relates to the technical field of computers, in particular to a form development method and system.
Background
With the continuous enrichment of data resources, the demands for data management and analysis systems in the market are increasing, and in the past, a corresponding data management model is usually designed according to the demands and then developed. With continuous development of informatization and continuous enrichment of data resources, if the traditional mode is still adopted, the problem of repeated model construction can be brought, and the quality of models designed by different developers is different, so that great challenges are brought to data management.
How to improve the traditional working mode and provide an effective development method and a tool designed in a matching way to support developers to better develop a document system and improve the working efficiency is the technical problem to be solved by the invention.
Disclosure of Invention
In view of this, embodiments of the present invention provide a form development method and system, which can at least solve the phenomena of duplication and indeterminate quality of a data management model in the existing form development.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a form development method including:
acquiring data resources, receiving an operation mode configured for the data resources, determining a form template corresponding to the operation mode, and importing data in the data resources into the form template to generate a form;
receiving menu options configured for the form, and establishing an association relation between the menu options and an access path of the form; the access path is obtained by storing the form, and the menu options are configured on a page;
and responding to the clicking operation of the menu option, and accessing the form through the access path to show the form on a page.
Optionally, the acquiring the data resource includes: acquiring a plurality of data resources, determining the theme of each data resource, and classifying the data resources belonging to the same theme into the same class;
and responding to the selection operation of one theme, extracting and displaying the data resources under the theme, and receiving the selection of one data resource.
Optionally, the plurality of data resources are located in a database;
the determining the subject to which each data resource belongs includes: and acquiring the attribute information of each data resource by reading the dictionary information of the database, and determining the theme to which each data resource belongs according to the corresponding relation between the attribute information and the theme.
Optionally, the extracting and displaying the data resource under the theme includes: extracting data resources under the theme;
according to the field name and the field content of each data resource, performing association matching on different data resources to obtain an association relation among the data resources and displaying the association relation in the form of an entity relation graph; or
And displaying the data resources under the one theme in a list form.
Optionally, the displaying the data resource under the theme in a list form further includes: and responding to the display mode switching operation, and switching from the entity relationship diagram display mode to the list display mode so as to display the data resources under the theme in a list form.
Optionally, before the determining the form template corresponding to the operation mode, the method further includes: generating a service number based on the data resource and the operation mode;
after the generating the form, further comprising: and establishing a corresponding relation between the service number and the form.
Optionally, the determining the form template corresponding to the operation mode further includes: adjusting configuration information of the form template in response to a modification operation on a size of the form template and/or an editing operation on a position of at least one form item in the form template.
Optionally, the receiving a menu option configured for the form further includes:
acquiring a service requirement configured for the data resource, and judging whether the service requirement contains an audit requirement;
if the list is included in the list, transmitting the information of the list to an auditing server for auditing, and receiving the menu options configured for the list under the condition that an auditing result fed back by the auditing server is passed;
and if not, directly receiving the menu options configured for the form.
Optionally, the operation mode is query or maintenance, and the maintenance includes at least one of addition and deletion.
To achieve the above object, according to another aspect of the embodiments of the present invention, there is provided a form development system including a database and a form development server, wherein,
the database is used for storing data resources;
the form development server is connected with the database and used for receiving an operation mode configured for the data resource, determining a form template corresponding to the operation mode, and importing data in the data resource into the form template to generate a form; receiving menu options configured for the form, and establishing an association relation between the menu options and an access path of the form; the access path is obtained by storing the form, and the menu options are configured on a page; and responding to the clicking operation of the menu option, and accessing the form through the access path to show the form on a page.
Optionally, the system further comprises a data management server;
the data management server is connected with the database and used for acquiring a plurality of data resources from the database, determining the theme of each data resource and classifying the data resources belonging to the same theme into the same class;
the form development server is connected with the data management server and used for responding to the selection operation of one theme in the data management server, extracting and displaying the data resources under the theme and receiving the selection of one data resource.
Optionally, the data management server is configured to: and acquiring the attribute information of each data resource by reading the dictionary information of the database, and determining the theme to which each data resource belongs according to the corresponding relation between the attribute information and the theme.
Optionally, the form development server is configured to: extracting data resources under the theme;
according to the field name and the field content of each data resource, performing association matching on different data resources to obtain an association relation among the data resources and displaying the association relation in the form of an entity relation graph; or
And displaying the data resources under the one theme in a list form.
Optionally, the form development server is configured to: and responding to the display mode switching operation, and switching from the entity relationship diagram display mode to the list display mode so as to display the data resources under the theme in a list form.
Optionally, the form development server is configured to:
generating a service number based on the data resource and the operation mode; and
and establishing a corresponding relation between the service number and the form.
Optionally, the form development server is configured to: adjusting configuration information of the form template in response to a modification operation on a size of the form template and/or an editing operation on a position of at least one form item in the form template.
Optionally, the form development server is further configured to:
acquiring a service requirement configured for the data resource, and judging whether the service requirement contains an audit requirement;
if the list is included in the list, transmitting the information of the list to an auditing server for auditing, and receiving the menu options configured for the list under the condition that an auditing result fed back by the auditing server is passed;
and if not, directly receiving the menu options configured for the form.
Optionally, the operation mode is query or maintenance, and the maintenance includes at least one of addition and deletion.
To achieve the above object, according to still another aspect of embodiments of the present invention, there is provided a form development electronic device.
The electronic device of the embodiment of the invention comprises: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement any of the form development methods described above.
To achieve the above object, according to a further aspect of the embodiments of the present invention, there is provided a computer-readable medium on which a computer program is stored, the program, when executed by a processor, implementing any one of the above form development methods.
According to the scheme provided by the invention, one embodiment of the invention has the following advantages or beneficial effects: starting from the view of data resources, a unified data service interface is issued to support the function of form development in an online configuration mode, and a display form page is automatically generated according to the data service interface, so that the aims of reducing the program modification cost caused by the change of the requirement, quickly realizing the user requirement and saving the development cost are fulfilled.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic flow chart of a form development method according to an embodiment of the present invention;
FIG. 2 is a sample page layout save of an embodiment of the present invention;
FIG. 3 is a flow diagram of an alternative form development method according to an embodiment of the invention;
FIG. 4 is an effect diagram of data resource theme selection;
FIG. 5 is an effect diagram exhibited by an entity relationship diagram;
FIG. 6 is a schematic flow chart of a specific form development method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of the main architecture of a form development system according to an embodiment of the present invention;
FIG. 8 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
FIG. 9 is a schematic block diagram of a computer system suitable for use with a mobile device or server implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Data management type application systems, which are generally oriented to enterprise or government managers, are used to display specific data resources and maintain functions, wherein the display and related statistical analysis are the main reasons, and the requirements of such systems often have the following characteristics:
1. the source of the data resource includes not only the data owned by its own system.
2. The system is mainly based on data query services, relates to a large number of data query services and has a large number of jump query requirements.
3. The requirement for data visualization is high, and a plurality of statistical analysis scenes exist.
4. The following cases are included in the data presentation requirements:
1) the query conditions are diversified, and more filtering conditions need to be set.
2) And shielding the sensitive information, and displaying according to the authority of the user.
3) The displayed fields change frequently according to the requirements of users.
4) There are a number of scenarios where queries are made as a function of time.
5) The types of the charts used in the display are uniform.
Referring to fig. 1, a main flowchart of a form development method according to an embodiment of the present invention is shown, including the following steps:
s101: acquiring data resources, receiving an operation mode configured for the data resources, determining a form template corresponding to the operation mode, and importing data in the data resources into the form template to generate a form;
s102: receiving menu options configured for the form, and establishing an association relation between the menu options and an access path of the form; the access path is obtained by storing the form, and the menu options are configured on a page;
s103: and responding to the clicking operation of the menu option, and accessing the form through the access path to show the form on a page.
In the above embodiment, a database is prepared in advance for step S101, and data of the application system may be stored or a data resource to be managed may be imported.
The form development server guides developers to operate step by means of a guide manual by taking a mode of installing the simulation software installation package as a reference. The operations are performed on an application system, the final result is a set of configuration information stored in a database, and when the service function is used, the system reads the configuration information and dynamically generates a service processing page.
The first step in online development of forms is to select the data resources for the desired operation. After the data resources are selected, an operation mode is manually selected/configured (for example, the operation mode of the form is divided into an inquiry mode and a maintenance mode, and a user selects the inquiry mode), and a system background automatically generates a service number according to the data resources and the operation mode to establish a corresponding data service. If the user information is selected, the configured operation mode is inquiry, and the system automatically generates a service number user-query. Typically one form may correspond to one or more service numbers.
At the moment, the application system has a real-time operation function on the data resources, and after the data service is generated, a front-end display form needs to be compiled for the data service next step. In actual operation, different form templates can be set in advance for different operation modes, and developers can edit the size of the form and the position of each form item. And after the adjustment is finished, the form layout is stored, and the configuration information of the new form is generated so as to realize the customization of the form display form.
Usually, the operation is only performed on one data resource, and then the data in the data resource is imported into the form template to obtain a form containing the data.
For step S102, the menu in this embodiment is an option clicked and selected on the page, and generally depends on the developer/user customized setting, for example, after the form is obtained through the above steps, the user can customize a < user add > menu option on the page.
After the form is generated, it is usually stored in a fixed location, such as a database, and the form is read later through its access path. Therefore, after the form is stored, the access path of the form is sent to the form development server, and the form development server establishes the corresponding relation between the form and the menu options, so that the subsequent form can be conveniently read.
Furthermore, some forms need to be checked after being generated, for example, forms whose operation mode is query type do not need to be checked, but forms whose operation mode is maintenance (addition, deletion and modification) need to be checked according to their service requirements (workflow supports online adjustment):
1) setting service requirements in a self-defined manner aiming at data resources by developers/users;
2) judging whether the business requirements contain the auditing requirements, wherein the subsequent operation links are different according to the difference of the business requirements:
if not, directly carrying out menu configuration operation;
and secondly, including, developers need to compile an audit workflow, the configuration of the audit workflow is complex, the industry uniformly uses standard bpmn2.0 to store in an XML form at present, and the system only needs to store and analyze the corresponding XML.
After the compilation is finished, the system automatically transmits the form generated in the previous step to an auditing server for auditing, and auditing can be performed on the auditing server by auditors or can be automatically audited by the auditing server. And under the condition that the auditing result is passed, establishing an association relation between the form access path and the menu options.
In step S103, after the menu is generated and the corresponding relationship with the form access path is established, the whole form development process is terminated. And the subsequent user accesses the configured form under the access path by clicking the menu option on the page to perform data query or maintenance (adding and deleting modification) operation. For example, after clicking the menu option of < user add > the user form can be opened, the information of the added user is filled up and clicked and submitted, and the operation of the added user is completed.
The form layout has a certain format on the page, as shown in fig. 2, the page elements are divided into small rectangles one by one, the rectangles are numbered one by one as id of the elements, the leftmost upper corner of the page is defined as a starting point, the x axis is horizontal, the y axis is vertical, the distance is positive, the distance between the upper left corner of each element and the x and y axes is stored, in addition, the size of the elements is represented by width w and height y, and finally, the information of each page element is stored by using a uniform data structure.
The method provided by the embodiment can meet the requirement of a large and complicated form development function, supports a certain degree of self-definition on the page display, does not appear to be uniform, and can quickly respond to the requirement change because the maintenance is carried out through the configuration information when the data resource or the form display content changes; the developer can carry out form development configuration according to the specification, and the effects of quickly releasing the application function and reducing the development cost are achieved.
Referring to fig. 3, a flow diagram of an alternative form development method according to an embodiment of the present invention is shown, including the following steps:
s301: acquiring a plurality of data resources, determining the theme of each data resource, and classifying the data resources belonging to the same theme into the same class;
s302: responding to the selection operation of one theme, extracting and displaying the data resources under the theme, and receiving the selection of one data resource;
s303: receiving an operation mode configured for the data resource, determining a form template corresponding to the operation mode, and importing the data in the data resource into the form template to generate a form;
s304: receiving menu options configured for the form, and establishing an association relation between the menu options and an access path of the form; the access path is obtained by storing the form, and the menu options are configured on a page;
s305: and responding to the clicking operation of the menu option, and accessing the form through the access path to show the form on a page.
In the above embodiment, the descriptions of steps S101 to S103 shown in fig. 1 can be referred to for steps S303 to S305, and are not repeated herein.
In the above embodiment, for steps S301 and S302, in the data management tool, first, a plurality of topics are initialized according to the result of business modeling. The theme can be understood as a business field, the two are in a one-to-one relationship, and data resources belonging to one business field are technically defined as the same theme. In addition, the developer can also perform maintenance management on the theme, such as modifying the name of the theme, adding/deleting the theme, and the like.
Starting a data management tool, and executing system batch processing operation: and reading dictionary information of the database to obtain attribute information of each data resource. The attribute information is used for configuring themes for each data resource by developers, and generating a mapping relation between the data resource and the theme, so that the subsequent forms can be quickly positioned during online development.
The data theme can be stored by using a table of a relational database, the data theme comprises theme information, the theme and the mapping relation of the corresponding data resource, and the overall operation is simple.
For step S302, after the data resources are categorized according to the topics, the data resources may be subsequently queried according to the topics, and for the data resources under the same topic, two selectable/switchable forms, namely an entity relationship diagram or a list, may be used for displaying. Referring to fig. 4, after the user selects the first topic "organization user", the data resource under the "organization user" is acquired, and the entity relationship diagram is displayed by default (see fig. 5).
The entity relationship is initialized to batch process to generate default information, and different data resources are associated and matched according to field names and field contents of different data resources under the same theme, for example, data resources of non-time type fields are matched according to names. After the general entity relationship graph is generated, the developer/user can confirm the entity relationship therein, or can adjust the entity relationship by himself, and after the adjustment is finished, the configured entity relationship is saved.
Typically, the preservation of the entity relationship graph can be achieved through JSON strings. The entity relationship graph is divided into two parts: modules and wiring. A module corresponds to a data resource, and the elements to be stored by the module include: module number, module name, data resource corresponding to the module, module type, and specific coordinates of the module in the drawing, and the elements stored by connecting lines include: the number of the starting module, the number of the ending module and the connection attribute. And storing the elements in a corresponding data module in a JSON character string mode, namely storing the entity relationship diagram.
In addition, the list mode presentation can also be manually selected/switched. Different from the defect that the entity relationship graph cannot be directly edited, in the list display interface, a user can newly add data resources and edit the relationship between the data resources.
After all data resources under a theme are presented, a user can select one of the data resources, and present information contained in the data resource, such as data volume, corresponding data model structure (which can be modified by the user), used business functions, and the like. For example, the amount of data contained in the user table, and the specific data in each field (e.g., user name, user number). And subsequent form development is carried out on the selected one data resource.
According to the method provided by the embodiment, the data resources are classified according to the theme through the data management server, so that the data resources are effectively managed, other personnel who take over the follow-up can master the management elements, and the working efficiency is improved.
Referring to fig. 6, a flowchart of a specific form development method according to an embodiment of the present invention is shown, including the following steps:
1. the prepared database may be a database of an application system, or a new database may be used to import data to be managed.
2. And (3) deploying a data management server, connecting the database in the step (1), executing a batch processing program, and reading dictionary information of the database to obtain attribute information of each data resource.
3. And initializing each theme according to the result of business modeling. And the data management server determines the theme to which each data resource belongs according to the corresponding relation between the attribute information and the theme so as to classify the data resources according to the theme and generate the mapping relation between the data resources and the theme.
4. A default entity relationship graph or list may be generated for data resources under the same topic. And checking the data resources of each topic, and adjusting and confirming the entity relationship according to the result of data modeling on the business.
5. And starting to develop the form by using the form development server based on the configured and perfect data resources. And the developer/user uses the form development server to access the data management server, and selects a data resource to be externally displayed.
6. After selecting the data resource, the operation mode for configuring the data resource is query or maintenance, and after selection, the system can automatically generate the corresponding data service.
7. After the data service is generated, the system provides a corresponding default form template according to the operation mode of the data resource, and developers can adjust the position and the size of the information item in the form template. And after the adjustment is finished, storing the data, and importing the data in the data resource into a form template to generate a form.
8. Optional steps, if the maintenance of the data resource needs to pass the process audit, a developer uses a form development server to draw a workflow, associates the workflow with a generated form, generates workflow configuration information, and finally sends the form to an audit server for audit;
9. and configuring the menu options by a developer, associating the access path of the form with the menu options and then issuing.
And finally, the user accesses the form configured by the system by clicking the corresponding menu to inquire or maintain the data.
Compared with the prior art, the method provided by the embodiment of the invention has at least the following beneficial effects:
1) the data resources are stored in a database, a data management server classifies the data resources in the database according to topics, a form development server selects the data resources in the data management server under the same topic, and the form development is realized through three tools;
2) the whole implementation does not involve the establishment of a data model, so that the method has universality in the aspects of dealing with a large amount of data query and flexible and quick-changing information display requirements, does not consume a large amount of manpower for simple repeated development work, and reduces the cost investment;
3) the variation factor is only data resource, so it does not involve code level adjustment, and even if the display content and display condition need to be changed, it can respond quickly and timely.
Referring to fig. 7, a schematic diagram of main modules of a form development system 700 provided by an embodiment of the present invention is shown, including a database 701 and a form development server 702, wherein,
the database 701 is used for storing data resources;
the form development server 702 is connected to the database, and is configured to receive an operation manner configured for the data resource, determine a form template corresponding to the operation manner, so as to import data in the data resource into the form template, and generate a form; receiving menu options configured for the form, and establishing an association relation between the menu options and an access path of the form; the access path is obtained by storing the form, and the menu options are configured on a page; and responding to the clicking operation of the menu option, and accessing the form through the access path to show the form on a page.
In the system of the present invention, the system further includes a data management server 703;
the data management server 703 is connected to the database, and is configured to obtain a plurality of data resources from the database, determine a topic to which each data resource belongs, and classify the data resources belonging to the same topic into the same class;
the form development server 702 is connected to the data management server, and is configured to, in response to a selection operation on one topic in the data management server, extract and display data resources under the one topic, and receive a selection of one of the data resources.
In the system implemented by the present invention, the data management server 703 is configured to: and acquiring the attribute information of each data resource by reading the dictionary information of the database, and determining the theme to which each data resource belongs according to the corresponding relation between the attribute information and the theme.
In the system for implementing the present invention, the form development server 702 is configured to:
extracting data resources under the theme;
according to the field name and the field content of each data resource, performing association matching on different data resources to obtain an association relation among the data resources and displaying the association relation in the form of an entity relation graph; or
And displaying the data resources under the one theme in a list form.
In the system for implementing the present invention, the form development server 702 is configured to: and responding to the display mode switching operation, and switching from the entity relationship diagram display mode to the list display mode so as to display the data resources under the theme in a list form.
In the system for implementing the present invention, the form development server 702 is configured to:
generating a service number based on the data resource and the operation mode; and
and establishing a corresponding relation between the service number and the form.
In the system for implementing the present invention, the form development server 702 is configured to: adjusting configuration information of the form template in response to a modification operation on a size of the form template and/or an editing operation on a position of at least one form item in the form template.
In the system for implementing the present invention, the form development server 702 is further configured to:
acquiring a service requirement configured for the data resource, and judging whether the service requirement contains an audit requirement;
if the list is included in the list, transmitting the information of the list to an auditing server for auditing, and receiving the menu options configured for the list under the condition that an auditing result fed back by the auditing server is passed;
and if not, directly receiving the menu options configured for the form.
In the system for implementing the invention, the operation mode is query or maintenance, and the maintenance comprises at least one of addition and deletion.
In addition, the detailed implementation of the system in the embodiment of the present invention has been described in detail in the above method, so that the repeated description is not repeated here.
FIG. 8 illustrates an exemplary system architecture 800 to which embodiments of the invention may be applied.
As shown in fig. 8, the system architecture 800 may include terminal devices 801, 802, 803, a network 804, and a server 805 (by way of example only). The network 804 serves to provide a medium for communication links between the terminal devices 801, 802, 803 and the server 805. Network 804 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal devices 801, 802, 803 to interact with a server 805 over a network 804 to receive or send messages or the like. Various communication client applications may be installed on the terminal devices 801, 802, 803.
The terminal devices 801, 802, 803 may be various electronic devices having display screens and supporting web browsing, and the server 805 may be a server providing various services.
It is to be noted that the method provided by the embodiment of the present invention is generally executed by the server 805, and accordingly, the system is generally disposed in the server 805.
It should be understood that the number of terminal devices, networks, and servers in fig. 8 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 9, shown is a block diagram of a computer system 900 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 9 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 9, the computer system 900 includes a Central Processing Unit (CPU)901 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)902 or a program loaded from a storage section 908 into a Random Access Memory (RAM) 903. In the RAM 903, various programs and data necessary for the operation of the system 900 are also stored. The CPU 901, ROM 902, and RAM 903 are connected to each other via a bus 904. An input/output (I/O) interface 905 is also connected to bus 904.
The following components are connected to the I/O interface 905: an input portion 906 including a keyboard, a mouse, and the like; an output section 907 including components such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 908 including a hard disk and the like; and a communication section 909 including a network interface card such as a LAN card, a modem, or the like. The communication section 909 performs communication processing via a network such as the internet. The drive 910 is also connected to the I/O interface 905 as necessary. A removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 910 as necessary, so that a computer program read out therefrom is mounted into the storage section 908 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 909, and/or installed from the removable medium 911. The above-described functions defined in the system of the present invention are executed when the computer program is executed by a Central Processing Unit (CPU) 901.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a database, a data management server, and a form development server. Where the names of these modules do not in some way constitute a limitation on the modules themselves, for example, a database may also be described as a "data repository".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise:
acquiring data resources, receiving an operation mode configured for the data resources, determining a form template corresponding to the operation mode, and importing data in the data resources into the form template to generate a form;
receiving menu options configured for the form, and establishing an association relation between the menu options and an access path of the form; the access path is obtained by storing the form, and the menu options are configured on a page;
and responding to the clicking operation of the menu option, and accessing the form through the access path to show the form on a page.
According to the technical scheme of the embodiment of the invention, the whole implementation does not involve the establishment of a data model, so that the method has universality in the aspects of dealing with a large amount of data query and flexible and quick-changing information display requirements, does not consume a large amount of manpower for simple repetitive development work, and reduces the cost investment; the variation factor is only data resource, so it does not involve code level adjustment, and even if the display content and display condition need to be changed, it can respond quickly and timely.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (13)

1. A form development method, comprising:
acquiring data resources, receiving an operation mode configured for the data resources, determining a form template corresponding to the operation mode, and importing data in the data resources into the form template to generate a form;
receiving menu options configured for the form, and establishing an association relation between the menu options and an access path of the form; the access path is obtained by storing the form, and the menu options are configured on a page;
and responding to the clicking operation of the menu option, and accessing the form through the access path to show the form on a page.
2. The method of claim 1, wherein the obtaining the data resource comprises:
acquiring a plurality of data resources, determining the theme of each data resource, and classifying the data resources belonging to the same theme into the same class;
and responding to the selection operation of one theme, extracting and displaying the data resources under the theme, and receiving the selection of one data resource.
3. The method of claim 2, wherein the plurality of data resources are located in a database;
the determining the subject to which each data resource belongs includes: and acquiring the attribute information of each data resource by reading the dictionary information of the database, and determining the theme to which each data resource belongs according to the corresponding relation between the attribute information and the theme.
4. The method of claim 2, wherein the extracting and presenting the data resources under the one topic comprises:
extracting data resources under the theme;
according to the field name and the field content of each data resource, performing association matching on different data resources to obtain an association relation among the data resources and displaying the association relation in the form of an entity relation graph; or
And displaying the data resources under the one theme in a list form.
5. The method of claim 4, wherein the presenting the data resources under the topic in a list form further comprises:
and responding to the display mode switching operation, and switching from the entity relationship diagram display mode to the list display mode so as to display the data resources under the theme in a list form.
6. The method of claim 1, prior to said determining the form template corresponding to the operation mode, further comprising: generating a service number based on the data resource and the operation mode;
after the generating the form, further comprising: and establishing a corresponding relation between the service number and the form.
7. The method of claim 1, wherein determining the form template corresponding to the operation mode further comprises:
adjusting configuration information of the form template in response to a modification operation on a size of the form template and/or an editing operation on a position of at least one form item in the form template.
8. The method of claim 1, wherein receiving a menu option to configure the form further comprises:
acquiring a service requirement configured for the data resource, and judging whether the service requirement contains an audit requirement;
if the list is included in the list, transmitting the information of the list to an auditing server for auditing, and receiving the menu options configured for the list under the condition that an auditing result fed back by the auditing server is passed;
and if not, directly receiving the menu options configured for the form.
9. The method according to any of claims 1-8, wherein the operation mode is query or maintenance, and the maintenance comprises at least one of add and delete.
10. A form development system comprising a database and a form development server, wherein,
the database is used for storing data resources;
the form development server is connected with the database and used for receiving an operation mode configured for the data resource, determining a form template corresponding to the operation mode, and importing data in the data resource into the form template to generate a form; receiving menu options configured for the form, and establishing an association relation between the menu options and an access path of the form; the access path is obtained by storing the form, and the menu options are configured on a page; and responding to the clicking operation of the menu option, and accessing the form through the access path to show the form on a page.
11. The system of claim 10, further comprising a data management server;
the data management server is connected with the database and used for acquiring a plurality of data resources from the database, determining the theme of each data resource and classifying the data resources belonging to the same theme into the same class;
the form development server is connected with the data management server and used for responding to the selection operation of one theme in the data management server, extracting and displaying the data resources under the theme and receiving the selection of one data resource.
12. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-9.
13. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-9.
CN202011019711.5A 2020-09-24 2020-09-24 Form development method and system Pending CN112199373A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011019711.5A CN112199373A (en) 2020-09-24 2020-09-24 Form development method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011019711.5A CN112199373A (en) 2020-09-24 2020-09-24 Form development method and system

Publications (1)

Publication Number Publication Date
CN112199373A true CN112199373A (en) 2021-01-08

Family

ID=74007298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011019711.5A Pending CN112199373A (en) 2020-09-24 2020-09-24 Form development method and system

Country Status (1)

Country Link
CN (1) CN112199373A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113448567A (en) * 2021-06-09 2021-09-28 心医国际数字医疗系统(大连)有限公司 Method and device for generating follow-up form
CN114281427A (en) * 2021-12-22 2022-04-05 上海云轴信息科技有限公司 Method and equipment for batch parameter configuration and verification
CN114741079A (en) * 2022-04-14 2022-07-12 上海携宁计算机科技股份有限公司 Software development method, platform, electronic device and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377892A (en) * 2019-07-05 2019-10-25 广东鼎义互联科技股份有限公司 A kind of government intelligence form templat designing system
CN110472207A (en) * 2018-05-10 2019-11-19 北京京东尚科信息技术有限公司 List generation method and device
CN110705234A (en) * 2019-09-05 2020-01-17 电信科学技术第十研究所有限公司 Self-adaptive typesetting and paging method and device for system form
CN110941614A (en) * 2019-11-21 2020-03-31 望海康信(北京)科技股份公司 Form generation method and device, electronic equipment and computer readable storage medium
US20200265040A1 (en) * 2019-02-18 2020-08-20 Microsoft Technology Licensing, Llc Intelligent content and formatting reuse

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110472207A (en) * 2018-05-10 2019-11-19 北京京东尚科信息技术有限公司 List generation method and device
US20200265040A1 (en) * 2019-02-18 2020-08-20 Microsoft Technology Licensing, Llc Intelligent content and formatting reuse
CN110377892A (en) * 2019-07-05 2019-10-25 广东鼎义互联科技股份有限公司 A kind of government intelligence form templat designing system
CN110705234A (en) * 2019-09-05 2020-01-17 电信科学技术第十研究所有限公司 Self-adaptive typesetting and paging method and device for system form
CN110941614A (en) * 2019-11-21 2020-03-31 望海康信(北京)科技股份公司 Form generation method and device, electronic equipment and computer readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113448567A (en) * 2021-06-09 2021-09-28 心医国际数字医疗系统(大连)有限公司 Method and device for generating follow-up form
CN113448567B (en) * 2021-06-09 2024-05-17 心医国际数字医疗系统(大连)有限公司 Method and device for generating follow-up form
CN114281427A (en) * 2021-12-22 2022-04-05 上海云轴信息科技有限公司 Method and equipment for batch parameter configuration and verification
CN114741079A (en) * 2022-04-14 2022-07-12 上海携宁计算机科技股份有限公司 Software development method, platform, electronic device and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN111241454B (en) Method, system and device for generating webpage codes
US8417798B2 (en) Deploying artifacts for packaged software application in cloud computing environment
CN112199373A (en) Form development method and system
CN108984712A (en) Counting method, equipment and readable storage medium storing program for executing are made based on business scenario
WO2022007919A1 (en) Flow processing method and device, and computer system
CN112286513A (en) Visual design method and device based on component metadata
CN111079047A (en) Web-oriented page construction system
CN111045653B (en) System generation method and device, computer readable medium and electronic equipment
CN111125064B (en) Method and device for generating database schema definition statement
CN109981322A (en) The method and apparatus of cloud resource management based on label
CN112860247B (en) Custom generation method, device, equipment and medium of model component
CN114201718A (en) Dynamically configurable form instance generation method and device
CN111159207B (en) Information processing method and device
CN116048517B (en) API (application program interface) generating method, system and device based on B/S (browser/Server) architecture application system
CN116431200A (en) Configuration method, device, equipment and storage medium for application data configuration information
CN116610394A (en) Template and module-based data visualization page configuration method, system and device
CN111381811A (en) Software resource integration platform suitable for integration of multiple types of information systems
CN115130442A (en) Report generation method and device, storage medium and computer equipment
CN115145652A (en) Method, device, equipment and medium for creating data processing task
US20220035606A1 (en) System and method for tailoring a customizer for integration process modeling visual element to a domain specific language for business integrations
CN110221827B (en) Data processing method and related device
CN113448552A (en) Code generation method and device
CN116362634B (en) System, method, equipment and storage medium for integrated management of system and process
CN110648081A (en) Business modeling method and device for computing system and computer system
CN113806596B (en) Operation data management method and related 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