Method for quickly constructing multi-modal business component based on business object
Through low-code development and visualization methods, multi-modal business components are quickly built, which solves the problems of slow efficiency, many problems and high maintenance costs when building multi-modal data business scenario data display pages, and realizes efficient development and iteration, reducing the problem of high-quality development and iteration. cost.
Patent Information
- Application Number
- CN202411009639.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-11-22
AI Technical Summary
The existing technology has slow efficiency, many problems, high maintenance costs, and non-universal scenarios when building data display pages in multimodal data business scenarios, and lacks effective solutions.
Using low-code development capabilities, using drag-and-drop components and business object model-driven logic through visualization methods and graphical user interfaces, quickly build multi-modal business components, including preparing basic material components, unified management and cache data sources, and classified abstractions Business object model, creating business template pages, preview, save and publish, and achieve rapid iteration and reuse.
It lowers the threshold for software development, reduces code and programming work, improves development efficiency, reduces development costs, can adapt to market demand more quickly, and improves the rapid iteration and reuse capabilities of projects.
Smart Images

Figure CN119002891A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of human-computer interaction, and in particular to a method for rapidly constructing multimodal business components based on business objects. Background Art
[0002] With the development of social economy and the continuous improvement of social facilities, as well as the improvement of the richness of social data information, the higher demand for the naturalness and efficiency of human-computer interaction scenarios, data information technology has higher technical requirements and challenges. While information, demand, and technology are improving, time efficiency is particularly important in today's society. Customers often need to respond to their needs in a short time, which requires higher technical capabilities, and the cost will gradually increase. In particular, there are higher requirements for ensuring the stability of data information presentation programs. Based on these problems, we have invented a method for quickly building multimodal business components based on business objects. This method can build components with different data presentation forms from multiple data sources, so that they can quickly combine data information display pages.
[0003] In order to allow professionals to focus more on business scenarios, analysis, understanding, and decision-making of business information, reduce the workload on basic technologies, and quickly and effectively build pages for different scenario information, we have invented a method for quickly building multimodal business components based on business objects. This method can quickly build scenario components for different business scenarios that can be expanded, developed, and reused. At present, most of the development of data information pages such as professional data analysis and archival information is iteratively developed by professional developers. This obviously has the problems of slow efficiency, many problems, high maintenance costs, etc. in the high-speed iteration of current projects, and the problem of business scenarios not being universal.
[0004] Most of the current solutions to these problems are to adapt projects with similar scenarios in previous projects to the current business scenarios, so as to reduce work costs. However, this has certain risks in terms of project stability, and does not reduce maintenance costs. Instead, it may increase maintenance costs or cause more problems.
[0005] In summary, there is currently a lack of effective solutions to the problem of rapid iteration and reuse of data presentation projects in multimodal data business scenarios.
[0006] Therefore, technicians in this field are committed to developing a method that can be used to solve the problems of slow efficiency, many problems, high maintenance costs, and non-universal scenarios when constructing data display pages for existing multimodal data in different business scenarios. Summary of the invention
[0007] In view of the above-mentioned defects of the prior art, the technical problem to be solved by the present invention is how to solve the problem of rapid iteration and reuse of engineering data presentation in multimodal data business scenarios.
[0008] To achieve the above objectives, the present invention provides a method for quickly building multimodal business components based on business objects, characterized in that the method is based on low-code development capabilities and uses a visual method for application development to enable developers with different experience levels to create web pages through a graphical user interface using drag components and business object model-driven logic.
[0009] Furthermore, the method comprises the following steps:
[0010] Step S1, prepare grids, tabs layouts, header layouts, forms, single lists, pictures, labels, timelines, cards, card lists, relationship graphs, files, and map basic material components required for business components;
[0011] Step S2: uniformly manage, store and cache the data sources that the business needs to display;
[0012] Step S3: classify and abstract the business objects to form a basic business object model, and then uniformly manage, store and cache the business object model;
[0013] Step S4: Create a portrait template canvas, drag the corresponding basic materials on the canvas, configure a matching business object model for each basic material, and finally form a business template page;
[0014] Step S5: Preview, save, and publish the configured template page, and provide a specific access address;
[0015] Step S6: By accessing the address on the business template page, the business data can be queried in real time.
[0016] Furthermore, the basic material component development in step S1 adopts VUE3.0 technology, complies with ECMAScript standards, and consists of a series of reusable components, modules and code snippets.
[0017] Furthermore, the step S2 further comprises the following steps:
[0018] Step S2.1, the business display data sources are generally divided into API and elasticsearch. According to the data source type, when configuring the data source, each data source must at least ensure that the necessary parameters are reliable and effective;
[0019] Step S2.2, after filling in the data source configuration, test the data source connection. If the connection is normal, proceed to the next step. If the connection fails, check whether the parameters are normal.
[0020] Step S2.3: If the data source link is normal, the data source configuration information is stored in the database, and the data source link is initialized and cached, waiting for the business object to call.
[0021] Furthermore, the necessary parameters of the API in step S2.1 include: host / address, port, and whether it is accessed via https; the necessary parameters of elasticsearch include: host / address, port, user name, password, whether it is accessed via https, and whether Kerberos authentication is supported.
[0022] Furthermore, the step S3 further comprises the following steps:
[0023] Step S3.1, fill in the basic information of the business object model: table name, Chinese name of the table, data source, business object type and description;
[0024] Step S3.2, after filling in, save it into the database and cache the business object for use in configuring the portrait template page;
[0025] Step S3.3, after filling in the basic information of the business object model, you need to add business object model attributes. Each attribute can be set with different data formats, field types, etc. Finally, save it into the database and update the business object attribute cache;
[0026] Step S3.4: In order to better display the data of the business objects, business data observation is provided.
[0027] Furthermore, in step S3.4, the data source is associated when the business object is created. When creating the business object attributes, all the data provided by the data source can be displayed, or it can be displayed according to demand; when observing business data, the business object attributes can be configured for display.
[0028] Furthermore, when configuring the business object model for each basic material in step S4, the business object attributes can be deleted according to business requirements; the business template page finally formed is a json data format storage database.
[0029] Furthermore, the specific access address in step S5 refers to: https: / / xxxx:prot / yyyy / token / , which is the unique keyword of the business template page.
[0030] Furthermore, the step S6 further comprises the following steps:
[0031] Step S6.1, when accessing the business template page address, a unique business template page json data set will be retrieved according to the address;
[0032] Step S6.2: On the business template page, load the relevant page layout and basic materials according to the json data set;
[0033] Step S6.3, each basic material is associated with a business object model and attributes, and the business object model is associated with a specified data source, so that the page layout style and display data are ready;
[0034] Step S6.4: Displaying corresponding business data according to the portrait layout can realize real-time query of business template page data.
[0035] The present invention lowers the threshold for software development, reduces code and programming work, can adapt to market demand more quickly, improve development efficiency, and reduce development costs.
[0036] The concept, specific structure and technical effects of the present invention will be further described below in conjunction with the accompanying drawings to fully understand the purpose, characteristics and effects of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a flow chart of a method for quickly constructing a multimodal business component based on a business object provided by an embodiment of the present invention;
[0038] Figure 2 This is a simplified flowchart of unified maintenance of data sources provided by an embodiment of the present invention;
[0039] Figure 3 It is a simple flow chart of unified maintenance of business objects provided by an embodiment of the present invention;
[0040] Figure 4 This is a flow chart of a business portrait template page provided by an embodiment of the present invention that displays business data in real time; DETAILED DESCRIPTION
[0041] The following describes several preferred embodiments of the present invention with reference to the drawings in the specification, so that the technical content is clearer and easier to understand. The present invention can be embodied in many different forms of embodiments, and the protection scope of the present invention is not limited to the embodiments mentioned in the text.
[0042] In the drawings, components with the same structure are indicated by the same numerical reference numerals, and components with similar structures or functions are indicated by similar numerical reference numerals. The size and thickness of each component shown in the drawings are arbitrarily shown, and the present invention does not limit the size and thickness of each component. In order to make the illustration clearer, the thickness of the components is appropriately exaggerated in some places in the drawings.
[0043] The purpose of the present invention is to provide a method and system for constructing multimodal business components based on business objects, which is intended to solve the problems of low efficiency, many problems, high maintenance cost and non-universal scenarios when constructing data display pages for existing multimodal data in different business scenarios.
[0044] The present invention is achieved by: Figure 1 As shown:
[0045] S1: Prepare basic material components such as grids, tabs layout, header layout, forms, single lists, pictures, labels, timelines, cards, card lists, relationship graphs, files, maps, etc. required for business components;
[0046] S2: Centrally manage, store and cache the data sources that the business needs to display;
[0047] S3: Classify and abstract business objects to form a basic business object model, and then uniformly manage, store and cache the business object model;
[0048] S4: Create a portrait template canvas, drag the corresponding basic materials on the canvas, configure a matching business object model for each basic material, and finally form a business template page;
[0049] S5: Preview, save, and publish the configured template page, and provide a specific access address;
[0050] S6: Access the address through the business template page to query business data in real time.
[0051] Furthermore, the basic material component development in step S1 adopts VUE3.0 technology, complies with ECMAScript standards, and is composed of a series of reusable components, modules, and code snippets. These elements can help developers build applications more efficiently.
[0052] Furthermore, in step S2, the data sources that need to be displayed by the business are uniformly maintained, including the following steps: Figure 2 As shown:
[0053] S2.1: Business display data sources are generally divided into API and elasticsearch. According to the data source type, when configuring the data source, each data source must at least ensure that the necessary parameters are reliable and effective;
[0054] S2.2: After filling in the data source configuration, test the data source connection. If the connection is normal, proceed to the next step. If the connection fails, check whether the parameters are normal.
[0055] S2.3: If the data source link is normal, the data source configuration information is stored in the database, and the data source link is initialized and cached, waiting for the business object to call.
[0056] Furthermore, the necessary parameters of the API in step S2.1 include: host / address, port, and whether it is accessed via https; the necessary parameters of elasticsearch include: host / address, port, user name, password, whether it is accessed via https, and whether Kerberos authentication is supported.
[0057] Furthermore, the unified management of the business object model in step S3 includes the following steps: Figure 3 As shown:
[0058] S3.1: Fill in the basic information of the business object model: table name, table Chinese name, data source, business object type and description;
[0059] S3.2: After filling in the form, save it into the database and cache the business object for use in configuring the portrait template page;
[0060] S3.3: After filling in the basic information of the business object model, you need to add business object model attributes. Each attribute can be set with different data formats, field types, etc. Finally, save it into the database and update the business object attribute cache;
[0061] S3.4: In order to better display the data of business objects, business data observation is provided.
[0062] Furthermore, the implementation principle of step S3.4 is that the data source is associated when the business object is created, and when the business object attributes are created, all the data provided by the data source can be displayed, or they can be displayed according to the needs. When observing business data, the business object attributes can be configured for display.
[0063] Furthermore, in step S4, when configuring the business object model for each basic material, the business object attributes can be deleted according to business requirements.
[0064] Furthermore, the business template page finally formed in step S4 is a database stored in json data format.
[0065] Furthermore, the specific access address reference of step S5 is: https: / / xxxx:prot / yyyy / token / , which is the unique keyword of the business template page.
[0066] Further, the step S6 accesses the address through the portrait template page, and real-time query of the business portrait data includes the following steps: Figure 4 As shown:
[0067] S6.1: When accessing the business template page address, a unique business template page json data set will be retrieved according to the address;
[0068] S6.2: On the business template page, load the relevant page layout and basic materials according to the json data set;
[0069] S6.3: Each basic material is associated with a business object model and attributes, and the business object model is associated with a specified data source, so that the page layout style and display data are already available;
[0070] S6.4: Displaying the corresponding business data according to the portrait layout can realize real-time query of business template page data.
[0071] The preferred specific embodiments of the present invention are described in detail above. It should be understood that ordinary technicians in the field can make many modifications and changes based on the concept of the present invention without creative work. Therefore, all technical solutions that can be obtained by technicians in the technical field based on the concept of the present invention through logical analysis, reasoning or limited experiments on the basis of the prior art should be within the scope of protection determined by the claims.
Claims
1. A method for rapidly constructing a multimodal business component based on a business object, characterized in that: This method is based on low-code development capabilities and uses a visual application development method to enable developers with different experience levels to create web pages through a graphical user interface using drag-and-drop components and business object model-driven logic.
2. The method for rapidly constructing a multimodal business component based on a business object according to claim 1, characterized in that: The method comprises the following steps: Step S1, prepare grids, tabs layouts, header layouts, forms, single lists, pictures, labels, timelines, cards, card lists, relationship graphs, files, and map basic material components required for business components; Step S2: uniformly manage, store and cache the data sources that the business needs to display; Step S3: classify and abstract the business objects to form a basic business object model, and then uniformly manage, store and cache the business object model; Step S4: Create a portrait template canvas, drag the corresponding basic materials on the canvas, configure a matching business object model for each basic material, and finally form a business template page; Step S5: Preview, save, and publish the configured template page, and provide a specific access address; Step S6: By accessing the address on the business template page, the business data can be queried in real time.
3. The method for rapidly constructing a multimodal business component based on a business object as claimed in claim 2, characterized in that: The step S1 basic material component development adopts VUE3.0 technology, complies with ECMAScript standards, and consists of a series of reusable components, modules and code snippets.
4. The method for rapidly constructing a multimodal business component based on a business object as claimed in claim 3, characterized in that: The step S2 further comprises the following steps: Step S2.1, the business display data sources are generally divided into API and elasticsearch. According to the data source type, when configuring the data source, each data source must at least ensure that the necessary parameters are reliable and effective; Step S2.2, after filling in the data source configuration, test the data source connection. If the connection is normal, proceed to the next step. If the connection fails, check whether the parameters are normal. Step S2.3: If the data source link is normal, the data source configuration information is stored in the database, and the data source link is initialized and cached, waiting for the business object to call.
5. The method for rapidly constructing a multimodal business component based on a business object as claimed in claim 4, characterized in that: The necessary parameters of the API in step S2.1 include: host / address, port, and whether it is accessed via https; the necessary parameters of elasticsearch include: host / address, port, username, password, whether it is accessed via https, and whether Kerberos authentication is supported.
6. The method for rapidly constructing a multimodal business component based on a business object as claimed in claim 5, characterized in that: The step S3 further comprises the following steps: Step S3.1, fill in the basic information of the business object model: table name, Chinese name of the table, data source, business object type and description; Step S3.2, after filling in, save it into the database and cache the business object for use in configuring the portrait template page; Step S3.3, after filling in the basic information of the business object model, you need to add business object model attributes. Each attribute can be set with different data formats, field types, etc. Finally, save it into the database and update the business object attribute cache; Step S3.4: In order to better display the data of the business objects, business data observation is provided.
7. The method for rapidly constructing a multimodal business component based on a business object as claimed in claim 6, characterized in that: In step S3.4, the business object is associated with the data source when it is created. When creating the business object attributes, all the data provided by the data source can be displayed, or it can be displayed according to demand; when observing business data, the business object attributes can be configured for display.
8. The method for rapidly constructing a multimodal business component based on a business object as claimed in claim 7, characterized in that: When configuring the business object model for each basic material in step S4, the business object attributes can be deleted according to business requirements; the business template page finally formed is a json data format storage database.
9. The method for rapidly constructing a multimodal business component based on a business object as claimed in claim 8, characterized in that: The specific access address reference in step S5 is: https: / / xxxx:prot / yyyy / token / , which is the unique keyword of the business template page.
10. The method for rapidly constructing a multimodal business component based on a business object according to claim 9, characterized in that: The step S6 further comprises the following steps: Step S6.1, when accessing the business template page address, a unique business template page json data set will be retrieved according to the address; Step S6.2: On the business template page, load the relevant page layout and basic materials according to the json data set; Step S6.3, each basic material is associated with a business object model and attributes, and the business object model is associated with a specified data source, so that the page layout style and display data are ready; Step S6.4: Displaying corresponding business data according to the portrait layout can realize real-time query of business template page data.
