Interface rendering method and device based on data model driving, computer device

By using a data model-driven interface rendering method, the backend monitors and pushes changes to the data model, and the development terminal renders the interface in real time, solving the problem of low efficiency in front-end and back-end development and achieving real-time display and efficient development.

CN116431260BActive Publication Date: 2026-06-16IND BANK CO +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
IND BANK CO
Filing Date
2023-03-31
Publication Date
2026-06-16

Smart Images

  • Figure CN116431260B_ABST
    Figure CN116431260B_ABST
Patent Text Reader

Abstract

The application relates to an interface rendering method and device based on a data model and a computer device. The method comprises the following steps: receiving data model data; wherein when a data model of a business function module of a target development application changes, a backend reads and analyzes data of the business function module in a memory, obtains data model data of the business function module, and pushes the data model data to each development terminal; the data model comprises a plurality of model components; a model data structure of each model component of the business function module is obtained according to data model data analysis; and a display interface of the business function module is generated by rendering according to an association relationship between each model component of the business function module and the model data structure. The method can improve development efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of interface rendering technology, and in particular to an interface rendering method and apparatus, and computer equipment based on a data model-driven approach. Background Technology

[0002] In common application development models, front-end and back-end developers typically develop features independently. After completing their respective modules, they then perform integration testing. However, this model requires configuring specific modules to preview the displayed page effects, leading to low development efficiency. Summary of the Invention

[0003] Therefore, it is necessary to provide a data model-driven interface rendering method, apparatus, and computer equipment that can improve development efficiency in response to the above-mentioned technical problems.

[0004] Firstly, this application provides a data model-driven interface rendering method. The method includes:

[0005] Receive data model data; wherein, when the backend detects a change in the data model of the business function module of the target development application, it reads and parses the data of the business function module in memory to obtain the data model data of the business function module, and pushes the data model data to each development terminal; the data model includes multiple model components;

[0006] The model data structure of each model component of the business function module is obtained by parsing the data model.

[0007] The rendering process is based on the relationships between the model components of the business function module and the model data structure to generate the display interface of the business function module.

[0008] In one embodiment, the model component includes a data component and a technical component;

[0009] The method further includes:

[0010] Obtain component configuration data, and create data components for the business function module based on the component configuration data;

[0011] The technical components of the business function module are obtained according to the preset functional requirements;

[0012] In response to modification operations on the technical components and / or the data components, the data model of the business function module is modified.

[0013] In one embodiment, the data component includes a data source component and a business data component. The step of obtaining component configuration data and creating the data component based on the component configuration data includes:

[0014] Receive component configuration data;

[0015] The data source component is created and configured based on the component configuration data.

[0016] The business data component is obtained based on the data source component.

[0017] In one embodiment, the step of creating and configuring the data source component based on the component configuration data includes:

[0018] Based on the component configuration data, obtain the basic information and personalized configuration data of the data entity;

[0019] Create a data source component based on the basic information of the data entity;

[0020] Parse the data source component to obtain the parameter information of the physical table;

[0021] Based on the parameter information, configure the strategy for the physical table to obtain the target physical table;

[0022] The target physical table is adjusted based on the personalized configuration data to obtain the configured data source component.

[0023] In one embodiment, the model component includes a technical component and a data component;

[0024] The step of rendering based on the relationships between the model components of the business function module and the model data structure to generate the display interface of the business function module includes:

[0025] The models corresponding to the technical components and data components of the business function module are rendered according to the model data structure.

[0026] The rendered models are combined according to the relationship between the technical components and the data components, and a display interface for the business function modules is generated on the display canvas.

[0027] Secondly, this application also provides a data model-driven interface rendering method, the method comprising:

[0028] When the data model of the business function module of the target application changes, the data of the business function module in memory is read and parsed to obtain the data model data of the business function module; the data model includes multiple model components.

[0029] The data model data is pushed to each development terminal so that the development terminal receives the data model data, parses the data model data to obtain the model data structure of each model component of the business function module, and renders the data according to the relationship between the model components of the business function module and the model data structure to generate the display interface of the business function module.

[0030] In one embodiment, the step of reading and parsing the data of the business function module in memory to obtain the data model data of the business function module includes:

[0031] Read the data stored in the memory;

[0032] The retrieved data is combined and arranged according to the association relationships to obtain the data model data of the business function module.

[0033] Thirdly, this application also provides a data model-driven interface rendering apparatus. The apparatus includes:

[0034] A data receiving module is used to receive data model data; wherein, when the backend detects a change in the data model of the business function module of the target development application, it reads and parses the data of the business function module in memory to obtain the data model data of the business function module, and pushes the data model data to each development terminal; the data model includes multiple model components;

[0035] The parsing module is used to parse the data from the data model to obtain the model data structure of each model component of the business function module;

[0036] The rendering module is used to render the business function module based on the relationships between the model components and the model data structure to generate the display interface of the business function module.

[0037] Fourthly, this application also provides a data model-driven interface rendering apparatus, the apparatus comprising:

[0038] The monitoring module is used to read and parse the data of the business function module in memory when the data model of the business function module of the monitored target application changes, and obtain the data model data of the business function module; the data model includes multiple model components.

[0039] The push module is used to push the data model data to each development terminal, so that the development terminal receives the data model data, parses the data model data to obtain the model data structure of each model component of the business function module, and renders the data according to the relationship between the model components of the business function module and the model data structure to generate the display interface of the business function module.

[0040] Fifthly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps of the data model-driven interface rendering method described above.

[0041] Sixthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the steps of the above-described data model-driven interface rendering method.

[0042] Seventhly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the steps of the above-described data model-driven interface rendering method.

[0043] The aforementioned data model-driven interface rendering method, device, and computer equipment enable the backend to monitor the data model of business function modules. When a change in the data model is detected, the backend can read and parse the data of the business function module in memory to obtain the data model data of the business function module. The development terminal can receive the data model data pushed by the backend, parse the data model data to obtain the model data structure, and then render the display interface of the business function module according to the relationship between the model data structure and the model components. In this way, when the data model is modified on any development terminal, all development terminals can receive the data model structure, thereby generating the display interface of the business function module in real time. This makes it easy for users to observe the actual effect after the adjustment, which is beneficial for users to develop and improves development efficiency. Attached Figure Description

[0044] Figure 1 This is an application environment diagram of a data model-driven interface rendering method in one embodiment;

[0045] Figure 2 This is a schematic diagram of the first process of a data model-driven interface rendering method in one embodiment;

[0046] Figure 3 This is a schematic diagram of the second process of a data model-driven interface rendering method in one embodiment;

[0047] Figure 4 This is a flowchart illustrating the steps for creating a data component in one embodiment;

[0048] Figure 5 This is a flowchart illustrating the configuration of a data source component in one embodiment;

[0049] Figure 6 This is a schematic diagram of the third process of a data model-driven interface rendering method in one embodiment;

[0050] Figure 7 This is a first structural block diagram of a data model-driven interface rendering apparatus in one embodiment;

[0051] Figure 8 This is a second structural block diagram of a data model-driven interface rendering device in one embodiment;

[0052] Figure 9 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0053] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0054] The data model-driven interface rendering method provided in this application can be applied to, for example... Figure 1In the application environment shown, development terminals 102 communicate with backend 104 via a network. Multiple development terminals 102 can be used, or only one. Each development terminal includes multiple model components and an interface rendering engine. Backend 104 includes memory, a model change listener, and a model parsing engine. A data storage system can store the data that backend 104 needs to process, such as the relationships between model components, data model data, and model data structures. The data storage system can be integrated into backend 104 or placed in the cloud or on another network backend. Development terminals 102 receive data model data. When backend 104 detects a change in the data model of a business function module of the target application, it reads and parses the data of the business function module in memory to obtain the data model data of the business function module and pushes the data model data to each development terminal 102. The data model includes multiple model components. The development terminals parse the data model data to obtain the model data structure of each model component of the business function module and render it according to the relationships between the model components and the model data structure to generate the display interface of the business function module. The development terminal 102 can be, but is not limited to, various personal computers, laptops, etc. The backend 104 can be implemented using a standalone server or a server cluster consisting of multiple servers.

[0055] In one embodiment, such as Figure 2 As shown, a data model-driven interface rendering method is provided, which is applied to... Figure 1 Taking the development terminal 102 as an example, the following steps are included:

[0056] Step 202: Receive data model data; wherein, when the backend detects that the data model of the business function module of the target development application has changed, it reads and parses the data of the business function module in memory, obtains the data model data of the business function module, and pushes the data model data to each development terminal; the data model includes multiple model components.

[0057] Among them, data model-driven can refer to a software development approach that primarily uses modeling and model transformation.

[0058] Data model data can refer to the data of the data models corresponding to each model component. A model component can include multiple data models, and these data models can be combined and referenced. Different model components can also be combined and referenced.

[0059] A model component can refer to a configured basic model used to implement business functions. For example, a model component can be a user-configured basic model used to implement business functions. For instance, users can use developed technical components and data components to create a functional interface that meets their requirements through combination and association.

[0060] A business function module refers to a module used to implement business functions. This module may include multiple data models. When the data model of a business function module changes, the development terminal stores the modified data in memory in real time, causing changes to the data in memory.

[0061] For example, when a user performs a modification operation on the development terminal 102 (such as modifying the configuration information of a model component or modifying the association between model components), the development terminal 102 will modify the data model of the business function module according to the modification operation. If the model change listener in the backend 104 detects a change in the data model of the business function module on the development terminal, the module change listener will schedule the model parsing engine of the backend 102 to reread and parse the data of the business function module in memory to obtain the data model of the business function module, and push the data model to each development terminal. The model change listener can directly monitor whether the data model of the business function module has changed, or it can determine whether the data model of the business function module has changed by monitoring whether the data in memory has changed.

[0062] For example, in an application development scenario, after completing preliminary processes such as requirements analysis and workload assessment, the development phase typically involves independent development by the development terminal and backend developers. After each developer completes their assigned functional module, they then perform joint testing. When a developer on the development terminal modifies the configuration information of a model component or changes the relationships between model components, it triggers a change in the data model of the business function module, leading to changes in the data stored in the backend's memory. If the model change listener detects this change in memory, it schedules the model parsing engine to reread and parse the data in memory of the business function module to obtain its data model data, which is then pushed to the development terminal's UI rendering engine. If multiple development terminals are simultaneously developing the target application, the model parsing engine will push the data model data to the UI rendering engines of each development terminal.

[0063] Step 204: Obtain the model data structure of each model component of the business function module based on the data model data parsing.

[0064] Here, model data structure refers to the data structure that makes up a model component. A model component can be composed of multiple model data structures.

[0065] For example, after the interface rendering engine of the development terminal 102 receives the data model data pushed by the model parsing engine, it parses the data model data to obtain the model data structure that constitutes each model component.

[0066] For example, after the interface rendering engine of the development terminal 102 receives the data model data pushed by the model parsing engine, it parses the data model data to obtain the model data structure that constitutes the data components and technical components.

[0067] Step 206: Render the data according to the relationships between the model components of the business function module and the model data structure to generate the display interface of the business function module.

[0068] In this context, association can refer to the interrelationships between model components, such as combination or reference. For example, if model a in model component A references model b in model component B, this reference represents an association between model component A and model component B.

[0069] For example, the interface rendering engine renders each model in each model component independently according to the model data structure, and then combines the rendered models according to the relationship to generate the display interface of the business function module of the development terminal.

[0070] In the technical solution of this application embodiment, the backend monitors the data model of the business function module. When a change in the data model is detected, it can read and parse the data of the business function module in memory to obtain the data model data of the business function module. The development terminal can receive the data model data pushed by the backend, parse the data model data to obtain the model data structure, and then render the display interface of the business function module according to the relationship between the model data structure and the model components. In this way, when the data model is modified on any development terminal, all development terminals can receive the data model structure, thereby generating the display interface of the business function module in real time. This makes it easy for users to observe the actual effect after the adjustment, which is beneficial to users for development and improves development efficiency.

[0071] Please see Figure 3 In some embodiments, the model component includes a data component and a technical component, and the data model-driven interface rendering method further includes the following steps:

[0072] Step 302: Obtain component configuration data and create data components for business function modules based on the component configuration data;

[0073] Component configuration data can refer to pre-entered data used to configure data components. This component configuration data can be entered by the user in real time or pre-stored. It includes data source information and relevant configuration information for the data entities.

[0074] The data component includes data source components and business data components. The data source component is divided into data entities and query sets. A data entity can refer to a model that encapsulates a specific single or multiple physical tables, while a query set can refer to a model that encapsulates a specific SQL query statement.

[0075] Business data components are based on data sources and encapsulate user-editable functional models. Examples include form canvases, data maintenance, charts, and reports.

[0076] For example, the development terminal 102 can obtain component configuration data input by the user in real time, and determine the data source and create data components for business function modules based on the component configuration data.

[0077] Step 304: Obtain the technical components of the business function modules according to the preset functional requirements;

[0078] Among them, preset functional requirements can refer to the actual business functional requirements of users that are set in advance.

[0079] The technical components include commonly used underlying basic components. Examples include data conversion components (components that convert a value to a specified value based on a code table or specified mapping rules), validation rule components (components used to verify whether entered values ​​meet specified rules), and business processing components (components that support writing JavaScript scripts). These technical components can be developed by the user in real-time or pre-developed and stored on the server.

[0080] For example, a user's input of a preset functional requirement can be obtained, and then the corresponding technical components can be retrieved from the server based on the preset functional requirement.

[0081] Step 306: In response to the modification operation on the technical component and / or data component, modify the data model of the business function module.

[0082] The modification operation can refer to user actions on technical components and / or data components. This modification operation can be to change the configuration information of technical components or data components, or to change the relationship between data components and technical components, etc.

[0083] When a user's modification operation on a technical component and / or data component is detected, the data model of the business function module is modified in real time according to the modification operation. For example, when the modification operation is to modify the configuration information of a data component, the configuration information of the data model in the data component of the business function module is modified in real time according to the modification operation.

[0084] The technical solution of this application embodiment can respond to user modification operations on technical components and / or technical components, and modify the data model of the business function module in real time, thereby facilitating the monitoring of changes in the data model of the business function module, and thus facilitating the real-time rendering of the display interface of the business function module, improving development efficiency.

[0085] Please see Figure 4 In some embodiments, the data component includes a data source component and a business data component. The step "obtaining component configuration data and creating a data component based on the component configuration data" includes the following steps:

[0086] Step 402: Receive component configuration data;

[0087] For example, component configuration data can be received in real time from a server via a network, or component configuration data input by the user can be received directly.

[0088] Step 404: Create and configure the data source component based on the component configuration data;

[0089] For example, after receiving the component configuration data, the basic information of the data entity is first configured according to the component configuration data to create a data source component, and the component configuration data is parsed to obtain the relevant configuration parameter information. The created data source component is then configured according to the configuration parameter information.

[0090] Step 406: Obtain the business data component based on the data source component.

[0091] For example, based on the data source determined by the data source component, a user-editable functional model is created to obtain the business data component. This business component includes components such as form canvas, data maintenance, charts, and reports.

[0092] The technical solution of this application embodiment determines the data source component by configuring the component configuration data, and then determines the business data component based on the data source component, thereby obtaining the data component, which facilitates the subsequent implementation of the data model and improves the development efficiency.

[0093] Please see Figure 5 In some embodiments, the step "create and configure the data source component based on the component configuration data" includes the following steps:

[0094] Step 502: Obtain basic information and personalized configuration data of the data entity based on the component configuration data.

[0095] The basic information can refer to the basic parameter information of the data entity, which may include parameters such as the data entity name, data entity code, and corresponding physical table.

[0096] Personalized configuration data can refer to information about the personalized settings of a data entity during the configuration process.

[0097] For example, after receiving the component configuration data, the specified data source is first determined in the configuration interface based on the component configuration data. Then, the basic information of the data entity and the personalized configuration data are determined from the component configuration data.

[0098] Step 504: Create a data source component based on the basic information of the data entity.

[0099] For example, a data entity is created based on the data entity name, data entity code, and corresponding physical table in the basic information, and then a data source component is created.

[0100] Step 506: Parse the data source component to obtain the parameter information of the physical table.

[0101] The parameter information of a physical table can refer to the basic parameters corresponding to the physical table.

[0102] For example, after the creation of the data source component is completed, the physical table engine built into the development terminal will automatically parse and obtain the basic parameters such as the attribute name, display name, and data type of each field of the corresponding physical table to obtain the parameter information of the physical table.

[0103] Step 508: Configure the strategy for the physical table based on the parameter information to obtain the target physical table.

[0104] For example, after determining the parameter information of the physical table, the components of the physical table are configured to generate a strategy (such as database auto-increment, UUID (Universally Unique Identifier) ​​strategy) to obtain the target physical table.

[0105] Step 510: Adjust the target physical table according to the personalized configuration data to obtain the configured data source component.

[0106] For example, after obtaining the target physical table, the relevant personalized configuration of the target physical table is adjusted according to the personalized configuration data, thereby realizing the configuration of the data source component and obtaining the configured data source component.

[0107] The technical solution of this application embodiment configures the data source component by using the basic information and personalized configuration data of the data entity in the component configuration data, thereby facilitating the subsequent implementation of the data model and improving development efficiency.

[0108] In some embodiments, you can also choose to create a form canvas by creating a data entity, and then drag and drop the front-end controls (including single-line text controls, drop-down controls, checkbox controls, etc.) onto the form canvas for interface layout design. Through the configuration interface of the front-end controls, you can configure the basic information of the front-end controls, such as their titles, whether they are required, and the proportion of fields. Finally, you can bind and associate the front-end controls with the fields of the data entity.

[0109] In some embodiments, the step "rendering according to the relationship between the model components of the business function module and the model data structure to generate the display interface of the business function module" includes the following steps: rendering the models corresponding to the technical components and data components of the business function module according to the model data structure; combining the rendered models according to the relationship between the technical components and data components, and generating the display interface of the business function module on the display canvas.

[0110] Specifically, after receiving the model data structure, the interface rendering engine of the development terminal will re-render the independent models of each technical component and data component of the business function module. Then, based on the relationship between the technical components and data components, the independent models will be combined and rendered, and the modified latest business function display interface will be rendered on the display canvas of the development terminal and / or mobile terminal, thus obtaining the adjusted latest business function interface effect.

[0111] The technical solution of this application embodiment renders the independent models corresponding to the technical components and data components in real time according to the model data structure, and combines the rendered models to generate a display interface of the business function module in real time. This makes it easier for users to observe the actual effect after adjustment, which is beneficial for users to develop and improves development efficiency.

[0112] like Figure 6 As shown, in some embodiments, this application also proposes a data model-driven interface rendering method, which can be applied to... Figure 1 Taking the 104 error message in the backend as an example, the explanation includes the following steps:

[0113] Step 602: When the data model of the business function module of the target development application changes, read and parse the data of the business function module in memory to obtain the data model data of the business function module; the data model includes multiple model components.

[0114] In this context, "data model data" can refer to the data of the data models corresponding to each model component. A model component can include multiple data models, and these data models can be combined and referenced. Different model components can also be combined and referenced.

[0115] A model component can refer to a configured basic model used to implement business functions. For example, a model component can be a user-configured basic model used to implement business functions. For instance, users can use developed technical components and data components to create a functional interface that meets their requirements through combination and association.

[0116] A business function module refers to a module used to implement business functions. This module may include multiple data models. When the data model of a business function module changes, it triggers the module to store the most recent data in memory in real time, thus causing changes to the data in memory.

[0117] For example, the model change listener in the backend monitors changes in the data in memory in real time. When the data in memory changes, it means that the data model of the business function module of the target application has changed. At this time, the model change listener issues a scheduling instruction to schedule the model parsing engine in the backend to read and parse the data in memory, thereby obtaining the data model data of the business function module.

[0118] Step 604: Push the data model data to each development terminal so that the development terminal receives the data model data, parses the data model data to obtain the model data structure of each model component of the business function module, and renders the data according to the relationship between the model components of the business function module and the model data structure to generate the display interface of the business function module.

[0119] Here, model data structure refers to the data structure that makes up a model component. A model component can be composed of multiple model data structures.

[0120] Association relationships can refer to the interrelationships between model components, such as combination and reference. For example, if model a in model component A references model b in model component B, this reference is an association relationship between model component A and model component B.

[0121] For example, after obtaining the data model data, the model parsing engine pushes the data model data to the interface rendering engine of each development terminal. After receiving the data model data, the interface rendering engine of the development terminal parses the data model data to obtain the model data structure of each model component of the business function module, then renders each model in each model component independently, and then combines the rendered models according to the relationship to generate the display interface of the business function module of the development terminal.

[0122] In the technical solution of this application embodiment, the backend monitors the data model of the business function module. When a change in the data model is detected, it can read and parse the data of the business function module in memory to obtain the data model data of the business function module. The development terminal can receive the data model data pushed by the backend, parse the data model data to obtain the model data structure, and then render the display interface of the business function module according to the relationship between the model data structure and the model components. In this way, when the data model is modified on any development terminal, all development terminals can receive the data model structure, thereby generating the display interface of the business function module in real time. This makes it easy for users to observe the actual effect after the adjustment, which is beneficial to users for development and improves development efficiency.

[0123] In some embodiments, the step "reading and parsing the data of the business function module in memory to obtain the data model data of the business function module" includes the following steps: reading the data stored in memory; combining and arranging the read data according to the association relationship to obtain the data model data of the business function module.

[0124] Among them, combination orchestration can refer to recombining, encoding and sorting the read data according to the relationship between model components.

[0125] For example, when a user modifies a model component, the business function module will trigger a save operation to store the modified data in memory in real time. The backend model parsing engine reads the data stored in memory according to the scheduling instructions output by the model change listener, and combines and arranges the data according to the relationship between the model components to obtain the data model data corresponding to the adjusted business function module.

[0126] The technical solution of this application embodiment reads data from memory and combines and arranges the read data to obtain data model data, which facilitates the real-time rendering of the display interface corresponding to the business function module by the development terminal. This makes it easier for users to observe the actual effect after adjustment, which is beneficial for users to carry out development and improves development efficiency.

[0127] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps.

[0128] Based on the same inventive concept, this application also provides a data model-driven interface rendering apparatus for implementing the data model-driven interface rendering method described above. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, the specific limitations in one or more data model-driven interface rendering apparatus embodiments provided below can be found in the limitations of the data model-driven interface rendering method described above.

[0129] In one embodiment, such as Figure 7 As shown, a data model-driven interface rendering device is provided, including: a data receiving module 702, a parsing module 704, and a rendering module 706, wherein:

[0130] The data receiving module 702 is used to receive data model data. When the backend detects that the data model of the business function module of the target development application has changed, it reads and parses the data of the business function module in memory to obtain the data model data of the business function module, and pushes the data model data to each development terminal. The data model includes multiple model groups.

[0131] Parsing module 704 is used to parse the data of the data model to obtain the model data structure of each model component of the business function module.

[0132] The rendering module 706 is used to render based on the relationships between the various model components of the business function module and the model data structure, so as to generate the display interface of the business function module.

[0133] In some embodiments, the model component includes a data component and a technical component, and the data model-driven interface rendering apparatus further includes:

[0134] The data acquisition module is used to acquire component configuration data and create data components for business function modules based on the component configuration data.

[0135] The component acquisition module is used to acquire the technical components of the business function module according to the preset functional requirements.

[0136] The modification module is used to modify the data model of the business function module in response to modification operations on the technical components and / or data components.

[0137] In some embodiments, the data acquisition module is further configured to: receive component configuration data; create and configure a data source component based on the component configuration data; and obtain a business data component based on the data source component.

[0138] In some embodiments, the data acquisition module is further configured to: obtain basic information and personalized configuration data of the data entity based on the component configuration data; create a data source component based on the basic information of the data entity; parse the data source component to obtain parameter information of the physical table; configure the strategy of the physical table based on the parameter information to obtain the target physical table; and adjust the target physical table based on the personalized configuration data to obtain the configured data source component.

[0139] In some embodiments, the model component includes a technical component and a data component. The rendering module 706 is further configured to: render the model corresponding to the technical component and the data component of the business function module according to the model data structure; combine the rendered model according to the association between the technical component and the data component, and generate the display interface of the business function module on the display canvas.

[0140] like Figure 8 As shown in the figure, this application embodiment also proposes a data model-driven interface rendering device, which includes a monitoring module 802 and a push module 804.

[0141] The monitoring module 802 is used to read and parse the data of the business function module in memory when the data model of the business function module of the monitored target application changes, and obtain the data model data of the business function module; the data model includes multiple model components;

[0142] The push module 804 is used to push data model data to each development terminal, so that the development terminal receives the data model data, parses the data model data to obtain the model data structure of each model component of the business function module, and renders the data based on the relationship between the model components of the business function module and the model data structure to generate the display interface of the business function module.

[0143] In some embodiments, the monitoring module 802 is further configured to: read data stored in memory; and combine and arrange the read data according to the association relationship to obtain data model data of the business function module.

[0144] The modules in the aforementioned data model-driven interface rendering device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the computer device's memory as software, so that the processor can call and execute the corresponding operations of each module.

[0145] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 9 As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements the aforementioned data model-driven interface rendering method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0146] Those skilled in the art will understand that Figure 9 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0147] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to perform the following steps: receiving data model data; wherein, when the backend detects a change in the data model of a business function module of a target development application, it reads and parses the data of the business function module in memory to obtain the data model data of the business function module, and pushes the data model data to each development terminal; the data model includes multiple model components; the model data structure of each model component of the business function module is obtained by parsing the data model data; and rendering is performed based on the relationship between the model components of the business function module and the model data structure to generate a display interface of the business function module.

[0148] In one embodiment, when the processor executes the computer program, it further performs the following steps: obtaining component configuration data and creating a data component of the business function module based on the component configuration data; obtaining the technical component of the business function module according to preset functional requirements; and modifying the data model of the business function module in response to modification operations on the technical component and / or data component.

[0149] In one embodiment, when the processor executes the computer program, it also performs the following steps: receiving component configuration data; creating and configuring a data source component based on the component configuration data; and obtaining a business data component based on the data source component.

[0150] In one embodiment, when the processor executes the computer program, it further performs the following steps: obtaining basic information and personalized configuration data of the data entity based on component configuration data; creating a data source component based on the basic information of the data entity; parsing the data source component to obtain parameter information of the physical table; configuring the strategy of the physical table based on the parameter information to obtain the target physical table; and adjusting the target physical table based on the personalized configuration data to obtain the configured data source component.

[0151] In one embodiment, when the processor executes the computer program, it further performs the following steps: rendering the models corresponding to the technical components and data components of the business function module according to the model data structure; combining the rendered models according to the relationship between the technical components and data components, and generating the display interface of the business function module on the display canvas.

[0152] In one embodiment, when the processor executes the computer program, it further performs the following steps: when the data model of the business function module of the target development application changes, it reads and parses the data of the business function module in memory to obtain the data model data of the business function module; the data model includes multiple model components; the data model data is pushed to each development terminal so that the development terminal receives the data model data, parses the data model data to obtain the model data structure of each model component of the business function module, and renders the data model data according to the relationship between the model components of the business function module and the model data structure to generate the display interface of the business function module.

[0153] In one embodiment, when the processor executes the computer program, it also performs the following steps: reading data stored in memory; combining and arranging the read data according to the association relationship to obtain data model data of the business function module.

[0154] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, it performs the following steps: receiving data model data; wherein, when the backend detects a change in the data model of the business function module of the target development application, it reads and parses the data of the business function module in memory to obtain the data model data of the business function module, and pushes the data model data to each development terminal; the data model includes multiple model components; the model data structure of each model component of the business function module is obtained by parsing the data model data; and rendering is performed according to the relationship between the model components of the business function module and the model data structure to generate a display interface of the business function module.

[0155] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: obtaining component configuration data and creating a data component of the business function module based on the component configuration data; obtaining the technical component of the business function module according to preset functional requirements; and modifying the data model of the business function module in response to modification operations on the technical component and / or data component.

[0156] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: receiving component configuration data; creating and configuring a data source component based on the component configuration data; and obtaining a business data component based on the data source component.

[0157] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: obtaining basic information and personalized configuration data of the data entity based on the component configuration data; creating a data source component based on the basic information of the data entity; parsing the data source component to obtain parameter information of the physical table; configuring the strategy of the physical table based on the parameter information to obtain the target physical table; and adjusting the target physical table based on the personalized configuration data to obtain the configured data source component.

[0158] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: rendering the models corresponding to the technical components and data components of the business function module according to the model data structure; combining the rendered models according to the association between the technical components and data components, and generating the display interface of the business function module on the display canvas.

[0159] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: when the data model of the business function module of the target development application changes, it reads and parses the data of the business function module in memory to obtain the data model data of the business function module; the data model includes multiple model components; the data model data is pushed to each development terminal so that the development terminal receives the data model data, parses the data model data to obtain the model data structure of each model component of the business function module, and renders the data model data according to the relationship between the model components of the business function module and the model data structure to generate the display interface of the business function module.

[0160] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: reading data stored in memory; and combining and arranging the read data according to the association relationship to obtain data model data for the business function module.

[0161] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps: receiving data model data; wherein, when the backend detects a change in the data model of a business function module of a target development application, it reads and parses the data of the business function module in memory to obtain the data model data of the business function module, and pushes the data model data to each development terminal; the data model includes multiple model components; the model data structure of each model component of the business function module is obtained by parsing the data model data; and rendering is performed based on the relationships between the model components of the business function module and the model data structure to generate a display interface for the business function module.

[0162] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: obtaining component configuration data and creating a data component of the business function module based on the component configuration data; obtaining the technical component of the business function module according to preset functional requirements; and modifying the data model of the business function module in response to modification operations on the technical component and / or data component.

[0163] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: receiving component configuration data; creating and configuring a data source component based on the component configuration data; and obtaining a business data component based on the data source component.

[0164] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: obtaining basic information and personalized configuration data of the data entity based on the component configuration data; creating a data source component based on the basic information of the data entity; parsing the data source component to obtain parameter information of the physical table; configuring the strategy of the physical table based on the parameter information to obtain the target physical table; and adjusting the target physical table based on the personalized configuration data to obtain the configured data source component.

[0165] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: rendering the models corresponding to the technical components and data components of the business function module according to the model data structure; combining the rendered models according to the association between the technical components and data components, and generating the display interface of the business function module on the display canvas.

[0166] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: when the data model of the business function module of the target development application changes, it reads and parses the data of the business function module in memory to obtain the data model data of the business function module; the data model includes multiple model components; the data model data is pushed to each development terminal so that the development terminal receives the data model data, parses the data model data to obtain the model data structure of each model component of the business function module, and renders the data model data according to the relationship between the model components of the business function module and the model data structure to generate the display interface of the business function module.

[0167] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: reading data stored in memory; and combining and arranging the read data according to the association relationship to obtain data model data for the business function module.

[0168] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0169] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0170] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A data model-driven interface rendering method, characterized in that, The method includes: Receive data model data; wherein, when the backend detects a change in the data model of the business function module of the target development application, it reads and parses the data of the business function module in memory to obtain the data model data of the business function module, and pushes the data model data to each development terminal; the data model includes multiple model components; The model data structure of each model component of the business function module is obtained by parsing the data model. The rendering is performed based on the relationships between the model components of the business function module and the model data structure to generate the display interface of the business function module. The model components include data components and technical components; the method further includes: acquiring component configuration data and creating a data component of the business function module based on the component configuration data; acquiring the technical component of the business function module according to preset functional requirements; and modifying the data model of the business function module in response to modification operations on the technical component and / or the data component. The data component includes a data source component and a business data component. The step of obtaining component configuration data and creating a data component based on the component configuration data includes: receiving component configuration data; creating and configuring a data source component based on the component configuration data; and obtaining a business data component based on the data source component.

2. The method according to claim 1, characterized in that, The process of creating and configuring the data source component based on the component configuration data includes: Based on the component configuration data, obtain the basic information and personalized configuration data of the data entity; Create a data source component based on the basic information of the data entity; Parse the data source component to obtain the parameter information of the physical table; Based on the parameter information, configure the strategy for the physical table to obtain the target physical table; The target physical table is adjusted based on the personalized configuration data to obtain the configured data source component.

3. The method according to claim 1, characterized in that, The model components include technical components and data components; The step of rendering based on the relationships between the model components of the business function module and the model data structure to generate the display interface of the business function module includes: The models corresponding to the technical components and data components of the business function module are rendered according to the model data structure. The rendered models are combined according to the relationship between the technical components and the data components, and a display interface for the business function modules is generated on the display canvas.

4. A data model-driven interface rendering method, characterized in that, The method includes: When the data model of the business function module of the target application changes, the data of the business function module in memory is read and parsed to obtain the data model data of the business function module; the data model includes multiple model components. The data model data is pushed to each development terminal so that the development terminal receives the data model data, parses the data model data to obtain the model data structure of each model component of the business function module, and renders the data according to the relationship between the model components of the business function module and the model data structure to generate the display interface of the business function module. The model components include data components and technical components; the method further includes: pushing component configuration data to each development terminal, so that the development terminal can create a data component of the business function module according to the component configuration data, obtain the technical component of the business function module according to preset functional requirements, and modify the data model of the business function module in response to modification operations on the technical component and / or the data component; The data component includes a data source component and a business data component; the step of pushing component configuration data to each development terminal so that the development terminal can create the data component of the business function module according to the component configuration data includes: pushing component configuration data to each development terminal so that the development terminal can create and configure the data source component according to the component configuration data, and obtain the business data component based on the data source component.

5. The method according to claim 4, characterized in that, The step of reading and parsing the data of the business function module in memory to obtain the data model data of the business function module includes: Read the data stored in the memory; The retrieved data is combined and arranged according to the association relationships to obtain the data model data of the business function module.

6. A data model-driven interface rendering device, characterized in that, The device includes: A data receiving module is used to receive data model data; wherein, when the backend detects a change in the data model of the business function module of the target development application, it reads and parses the data of the business function module in memory to obtain the data model data of the business function module, and pushes the data model data to each development terminal; the data model includes multiple model components; The parsing module is used to parse the data from the data model to obtain the model data structure of each model component of the business function module; The rendering module is used to render the display interface of the business function module based on the relationship between the model components and the model data structure. The model component includes a data component and a technology component; the device also includes: The data acquisition module is used to acquire component configuration data and create data components for the business function module based on the component configuration data. The component acquisition module is used to acquire the technical components of the business function module according to preset functional requirements. The modification module is configured to modify the data model of the business function module in response to modification operations on the technical component and / or the data component. The data component includes a data source component and a business data component, and the data acquisition module is further used for: Receive component configuration data; create and configure a data source component based on the component configuration data; obtain a business data component based on the data source component.

7. The apparatus according to claim 6, characterized in that, The acquisition module is also used for: Based on the component configuration data, obtain the basic information and personalized configuration data of the data entity; create a data source component based on the basic information of the data entity; parse the data source component to obtain the parameter information of the physical table; Based on the parameter information, configure the strategy for the physical table to obtain the target physical table; The target physical table is adjusted based on the personalized configuration data to obtain the configured data source component.

8. The apparatus according to claim 6, characterized in that, The model components include technical components and data components; the rendering module is further used for: The models corresponding to the technical components and data components of the business function module are rendered according to the model data structure; the rendered models are combined according to the relationship between the technical components and the data components, and the display interface of the business function module is generated on the display canvas.

9. A data model-driven interface rendering device, characterized in that, The device includes: The monitoring module is used to read and parse the data of the business function module in memory when the data model of the business function module of the monitored target application changes, and obtain the data model data of the business function module; the data model includes multiple model components. The push module is used to push the data model data to each development terminal, so that the development terminal receives the data model data, parses the data model data to obtain the model data structure of each model component of the business function module, and renders the data model data according to the relationship between the model components of the business function module and the model data structure to generate the display interface of the business function module. The model components include data components and technical components; the push module is further configured to: push component configuration data to each development terminal, so that the development terminal can create the data component of the business function module according to the component configuration data, obtain the technical component of the business function module according to preset functional requirements, and modify the data model of the business function module in response to modification operations on the technical component and / or the data component; The data component includes a data source component and a business data component. The push module is further configured to: push component configuration data to each development terminal, so that the development terminal can create and configure the data source component according to the component configuration data, and obtain the business data component based on the data source component.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 3; or, implements the steps of the method according to any one of claims 4 to 5.