Dynamic data and page generation mode based on configuration
Through dynamic data and page generation based on configuration, the reusability and scalability problems of static page development are solved, and the rapid construction and efficient operation of information systems are achieved, the development threshold is lowered and the participation of business personnel is increased. .
Patent Information
- Application Number
- CN202311441884.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-01
- Publication Date
- 2024-12-13
AI Technical Summary
The traditional static page development method has low reusability, low development efficiency, low scalability, weak deployment capabilities and high development thresholds, resulting in waste of human resources and the inability of business personnel to fully participate in development and operation and maintenance.
Using configuration-based dynamic data and page generation methods, we use the data dictionary, define data models and business models, set data blocks and page definitions, menu definitions and page displays to realize dynamic page generation, lower development thresholds and improve scalability.
It reduces the development cycle and construction costs of the information system, improves operation efficiency, breaks down the barriers between industry experts and business personnel, enables business personnel to quickly build pages on their own, reduces the amount of back-end code development and reduces communication costs.
Smart Images

Figure HDA0004526303460000011 
Figure HDA0004526303460000021 
Figure HDA0004526303460000022
Abstract
Description
Technical Field
[0001] The present invention relates to the field of page construction methods, and in particular to a configuration-based dynamic data and page generation method. Background Art
[0002] As the most common data centralized display methods in information systems, Form and List play an important role in information systems and are important components of the system. A large part of user needs comes from the demand for data display. The traditional development method is to define a page in Html or XML format from scratch, and develop a static Form or List based on database data source binding to meet specific needs. Static pages have the following three disadvantages:
[0003] 1. Low reusability and low development efficiency. Even if the lists are highly similar, they must be implemented separately. Code and interface cannot be reused. Developers waste a lot of time on writing and debugging similar codes and cannot focus on the design and implementation of core business logic, resulting in low development efficiency.
[0004] 2. Low scalability and weak deployment capabilities. When users are using the system online, they often have specific requirements for the display effects of forms or lists, list query changes, etc. At this time, it is more troublesome to make adjustments, and the developers must modify the source code or even re-release the system.
[0005] 3. High development threshold and low participation. The traditional method requires personnel to have certain technical development capabilities, so in the process of development and later operation and maintenance adjustments, only developers can participate in the whole process, isolating business personnel from development and unable to fully participate in development and operation, resulting in a waste of human resources. Summary of the invention
[0006] The embodiment of the present application solves the technical problems in the prior art solutions such as low reusability, low development efficiency, low scalability, weak deployment capability, high development threshold, low level of participation of relevant personnel, inability to fully participate in development and operation and maintenance, and thus waste of human resources, by providing a configuration-based dynamic data and page generation method.
[0007] The technical solution adopted in the embodiment of the present application is as follows:
[0008] A configuration-based way of generating dynamic data and pages, including
[0009] Step 1: Sort out the data dictionary and complete the corresponding data model and field definition processing;
[0010] Step 2: Define the data model. Based on the defined data model, the system background creates a corresponding form in the relational database as the basis for data storage;
[0011] Step 3: Define the business model. The business model is related to the actual business scenario and is the basis for business scenario operations.
[0012] Step 4: Set up the data block as the basis of Form or List;
[0013] Step 5: Page definition;
[0014] Step 6: Menu definition and page display;
[0015] Step 7: After the above steps are defined, the user can access and operate the page data according to the corresponding menu after logging into the system.
[0016] A further technical solution is: Step 1 includes: in the process of defining the data dictionary, preliminarily defining the fields, uses, formats, associations, etc. in the data dictionary, and using these as the basis for subsequent page definitions.
[0017] A further technical solution is: Step 2 includes: once the data model is defined, it cannot be changed in principle; during the data model definition process, the fields are defined accordingly. The fields can be understood as the Column columns of the database table, and their field formats are the field formats corresponding to the columns.
[0018] A further technical solution is: Step 3 includes: a one-to-one correspondence between the business model and the data model, and the fields of the data model are the business fields in the business model; when the data model fields are mapped to the business model, the corresponding page labels can be defined by themselves.
[0019] A further technical solution is: the step 4 comprises:
[0020] Step 41: specifying the fields, field sorting, and field display mode (details, list, drop-down box, or other modes) contained in the data block in the data block;
[0021] Step 42: The defined data blocks can be used as data display units and displayed at different locations on the page.
[0022] A further technical solution is: Step 5 includes: the page is the basis of the operation of the information system, and all data are displayed on the page for customers to complete business operations; the page is composed of different data blocks, and the corresponding display position, alignment and order of the data blocks can be specified.
[0023] A further technical solution is: Step 6 includes: the menu is the most convenient way for users to access the system. The system adopts the internationally common left-right layout method, with the menu displayed on the left and the page information displayed on the lower right; when defining the menu, after setting the corresponding menu path and associated pages, the user logs in to the system, and authorized users can see the newly added menu items in the menu and access the corresponding page data by clicking.
[0024] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0025] 1. The above configuration-based visual dynamic data and page generation method improves the construction model of existing enterprise information systems. While reducing the development cycle of information systems, reducing construction costs, and improving operating efficiency, it breaks the barriers between "industry experts-business personnel-system development-IT operation and maintenance" and provides industry experts or business personnel with the possibility to quickly build pages by themselves, allowing them to focus more on the actual operation of the business.
[0026] 2. Through the visual configuration mode, the development threshold is greatly lowered, and it is more convenient to use. Business personnel can build simple pages by themselves; through field reference and mapping, the dynamic association between data logic is completed, the amount of background code development is reduced, and the logic is clearer; through the WYSIWYG construction mode, the field adjustment results are visible in real time, reducing the communication cost between business and developers and speeding up the efficiency of system construction; through the loosely coupled data structure, the system structure is simple, the page is dynamically defined, and it is convenient and flexible. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 The present invention is a form engine workflow diagram based on a configuration of dynamic data and page generation method in an embodiment of the present invention.
[0028] Figure 2 This is an interface diagram for implementing step 2 in an embodiment of the present invention.
[0029] Figure 3 This is an interface diagram for implementing step 3 in an embodiment of the present invention.
[0030] Figure 4 This is an interface diagram for implementing step 4 in an embodiment of the present invention.
[0031] Figure 5 This is an interface diagram for implementing step 5 in an embodiment of the present invention.
[0032] Figure 6 This is an interface diagram for implementing step 6 in an embodiment of the present invention. DETAILED DESCRIPTION
[0033] The embodiment of the present application solves the technical problems in the prior art solutions such as low reusability, low development efficiency, low scalability, weak deployment capability, high development threshold, low level of participation of relevant personnel, inability to fully participate in development and operation and maintenance, and thus waste of human resources, by providing a configuration-based dynamic data and page generation method.
[0034] The technical solution in the embodiment of the present application is to solve the above problems, and the overall idea is as follows:
[0035] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0036] A configuration-based way of generating dynamic data and pages, such as Figures 1 to 6 Shown, including
[0037] Step 1: Sort out the data dictionary and complete the corresponding data model and field definition processing;
[0038] Step 2: Define the data model. Based on the defined data model, the system background creates a corresponding form in the relational database as the basis for data storage;
[0039] Step 3: Define the business model. The business model is related to the actual business scenario and is the basis for business scenario operations.
[0040] Step 4: Set up the data block as the basis of Form or List;
[0041] Step 5: Page definition;
[0042] Step 6: Menu definition and page display;
[0043] Step 7: After the above steps are defined, the user can access and operate the page data according to the corresponding menu after logging into the system.
[0044] Step 1 includes: in the process of defining the data dictionary, preliminarily define the fields, uses, formats, relationships, etc. in the data dictionary, and use these as the basis for subsequent page definitions.
[0045] like Figure 2 As shown, step 2 includes: once the data model is defined, it cannot be changed in principle; during the data model definition process, the fields are defined accordingly. The fields can be understood as the Column columns of the database table, and their field formats are the field formats corresponding to the columns.
[0046] like Figure 3As shown, step 3 includes: there is a one-to-one correspondence between the business model and the data model, and the fields of the data model are the business fields in the business model; when the data model fields are mapped to the business model, the corresponding page labels can be defined by themselves.
[0047] like Figure 4 As shown, step 4 includes:
[0048] Step 41: specifying the fields, field sorting, and field display mode (details, list, drop-down box, or other modes) contained in the data block in the data block;
[0049] Step 42: The defined data blocks can be used as data display units and displayed at different locations on the page.
[0050] like Figure 5 As shown, step 5 includes: the page is the basis of the operation of the information system, and all data are displayed on the page for customers to complete business operations; the page is composed of different data blocks, and the corresponding display position, alignment and order of the data blocks can be specified.
[0051] like Figure 6 As shown, step 6 includes: the menu is the most convenient way for users to access the system. The system adopts the internationally common left-right layout, with the menu displayed on the left and the page information displayed on the lower right; when defining the menu, after setting the corresponding menu path and associated pages, the user logs in to the system, and authorized users can see the newly added menu items in the menu and access the corresponding page data by clicking.
[0052] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0053] The above configuration-based visual dynamic data and page generation method improves the construction mode of the existing enterprise information system. While reducing the development cycle of the information system, reducing construction costs, and improving operating efficiency, it breaks the barriers between "industry experts-business personnel-system development-IT operation and maintenance", providing industry experts or business personnel with the possibility to quickly build pages by themselves, allowing them to focus more on the actual operation of the business. Through the visual configuration mode, the development threshold is greatly reduced, and it is more convenient to use. Business personnel can build simple pages by themselves; through field references and mapping, the dynamic association between data logic is completed, the amount of background code development is reduced, and the logic is clearer; through the WYSIWYG construction mode, the field adjustment results are visible in real time, reducing the communication cost between business and developers and speeding up the efficiency of system construction; through the loosely coupled data structure, the system structure is simple, the page is dynamically defined, and it is convenient and flexible.
[0054] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0055] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A configuration-based dynamic data and page generation method, characterized in that ,include Step 1: Sort out the data dictionary and complete the corresponding data model and field definition processing; Step 2: Define the data model. Based on the defined data model, the system background creates a corresponding form in the relational database as the basis for data storage; Step 3: Define the business model. The business model is related to the actual business scenario and is the basis for business scenario operations. Step 4: Set up the data block as the basis of Form or List; Step 5: Page definition; Step 6: Menu definition and page display; Step 7: After the above steps are defined, the user can access and operate the page data according to the corresponding menu after logging into the system.
2. A configuration-based dynamic data and page generation method as claimed in claim 1, characterized in that: The step 1 includes: in the process of defining the data dictionary, preliminarily defining the fields, uses, formats, associations, etc. in the data dictionary, and using these as the basis for subsequent page definitions.
3. A configuration-based dynamic data and page generation method as claimed in claim 1, characterized in that: The step 2 includes: once the data model is defined, it cannot be changed in principle; during the data model definition process, the fields are defined accordingly. The fields can be understood as the columns of the database table, and the field format is the field format corresponding to the column.
4. A configuration-based dynamic data and page generation method as claimed in claim 1, characterized in that: The step 3 includes: there is a one-to-one correspondence between the business model and the data model, and the fields of the data model are the business fields in the business model; when the data model fields are mapped to the business model, the corresponding page labels can be defined by themselves.
5. A configuration-based dynamic data and page generation method as claimed in claim 1, characterized in that: The step 4 comprises: Step 41: specifying the fields, field sorting, and field display mode (details, list, drop-down box, or other modes) contained in the data block in the data block; Step 42: The defined data blocks can be used as data display units and displayed at different locations on the page.
6. A configuration-based dynamic data and page generation method as claimed in claim 1, characterized in that: The step 5 includes: the page is the basis of the operation of the information system, and all data are displayed on the page for customers to complete business operations; the page is composed of different data blocks, and the corresponding display position, alignment and order of the data blocks can be specified.
7. A configuration-based dynamic data and page generation method as claimed in claim 1, characterized in that: The step 6 includes: the menu is the most convenient way for users to access the system. The system adopts the internationally common left-right layout method, with the menu displayed on the left and the page information displayed on the lower right; when defining the menu, after setting the corresponding menu path and associated pages, the user logs in to the system, and authorized users can see the newly added menu items in the menu and access the corresponding page data by clicking.
Citation Information
Cited By
Method and system for generating page based on visual configuration
CN120295627A
