CN117472379B - Automatic generation method and system for low-code platform interaction interface - Google Patents

Automatic generation method and system for low-code platform interaction interface Download PDF

Info

Publication number
CN117472379B
CN117472379B CN202311790719.5A CN202311790719A CN117472379B CN 117472379 B CN117472379 B CN 117472379B CN 202311790719 A CN202311790719 A CN 202311790719A CN 117472379 B CN117472379 B CN 117472379B
Authority
CN
China
Prior art keywords
data
interface
interactive interface
industrial app
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311790719.5A
Other languages
Chinese (zh)
Other versions
CN117472379A (en
Inventor
袁茂才
田志峰
徐玉崇
钱卫东
李美
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Shipbuilding Orlando Wuxi Software Technology Co ltd
Original Assignee
China Shipbuilding Orlando Wuxi Software Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Shipbuilding Orlando Wuxi Software Technology Co ltd filed Critical China Shipbuilding Orlando Wuxi Software Technology Co ltd
Priority to CN202311790719.5A priority Critical patent/CN117472379B/en
Publication of CN117472379A publication Critical patent/CN117472379A/en
Application granted granted Critical
Publication of CN117472379B publication Critical patent/CN117472379B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention relates to the technical field of low-code development platforms, and particularly discloses a method and a system for automatically generating an interaction interface of a low-code platform, wherein the method comprises the following steps: automatically extracting a data source of the industrial APP to be developed according to the data characteristics to obtain extracted data; different grouping management is carried out according to different types of the extracted data so as to store the extracted data as an instantiation file; analyzing the data content in the instantiation file, and automatically generating an industrial APP initial interactive interface according to the data content in the analyzed instantiation file, a preset interactive interface template and an interface control corresponding to the analyzed data content; and automatically binding an interface control in the industrial APP initial interaction interface with the corresponding event action association information to obtain a final interaction interface. The method for automatically generating the low-code platform interactive interface can solve the problems of long development period and poor maintainability of the current interactive interface.

Description

Automatic generation method and system for low-code platform interaction interface
Technical Field
The invention relates to the technical field of low-code development platforms, in particular to an automatic generation method and an automatic generation system for a low-code platform interaction interface.
Background
Industrial APP is an APP formalized application program bearing industrial technical knowledge, experience and law, and is a main result of industrial technical software. In the field of industrial design development, in order to solve the problems of the professional field and meet the requirements of customization, various methods, rules, experiences, knowledge and other elements in the specific industrial field are subjected to flow arrangement, data parameterization extraction and system modeling and analysis, and on the basis, unified standardized strategies are adopted to package industrial technical elements accumulated in the industry and expert knowledge experience to form an application program for eliminating human-caused difference.
The low-code development platform is applied to the software development industry, and is used for developing application programs/software/industrial APP in a low-coding or even coding-free mode by means of data model driving or dragging definition. The development of industrial APP through low code development platforms is evolving into a new trend for application development in the industrial field. However, the conventional design method of the interactive interface of the low-code development platform has more defects.
Firstly, the interactive interface is an important part of the industrial APP, is also a core area for interaction with a user, receives external input data through the industrial APP interactive interface, and displays the processed result. Along with the requirement of industry APP attribute subdivision, the quantity of industry APP shows explosive growth, and the workload of interactive interface development and iterative optimization is more and more heavy. The modification requirements facing the users are inefficient and cannot be fed back quickly, and the later slight modification can lead to huge maintenance workload of the interface. Second, industrial APP developed by low code development platforms involves a vast number of people. Experts in the specific field have expert knowledge experience and can finish data extraction and algorithm development, but often have no aesthetic effort and are not good at the development of an interactive interface. Professional IT personnel can be competent for the development of the interactive interface, but with the requirements of software users on the usability and the friendliness of the interactive interface, the interactive interface is required to be higher and higher, so that the development of the interactive interface in the industrial APP is larger and larger in the total code amount of the industrial APP. The areas of skill and appeal of each party are different, generally resulting in inefficiency. And each industrial APP is independently designed by different developers to form a uniform interface style, so that knowledge sharing among the developers is not facilitated, a uniform attractive interactive interface for a software user cannot be provided, and the usability of the software is difficult to improve and the learning and use cost is reduced.
In summary, current interactive interface development has become one of the most time consuming and difficult techniques in application/APP development in low code development platforms. Therefore, how to provide for implementing automatic generation of the interactive interface to solve the problems of long development period, poor maintainability and the like of the current interactive interface is a technical problem to be solved by those skilled in the art.
Disclosure of Invention
The invention provides a low-code platform interactive interface automatic generation method and a low-code platform interactive interface automatic generation system, which aim to at least solve the problem of long development period of the current interactive interface caused by complex and low-efficiency manual operation in the related technology.
As a first aspect of the present invention, there is provided a method for automatically generating a low-code platform interactive interface, including:
automatically extracting a data source of the industrial APP to be developed according to data characteristics to obtain extracted data, wherein the data characteristics comprise input and output data characteristics and storage form data characteristics;
performing different grouping management according to different types of the extraction data so as to store the extraction data as an instantiation file;
analyzing the data content in the instantiation file, and automatically generating an industrial APP initial interactive interface according to the data content in the analyzed instantiation file, a preset interactive interface template and an interface control corresponding to the analyzed data content;
automatically binding an interface control in the industrial APP initial interaction interface with corresponding event action association information to obtain a final interaction interface;
analyzing the data content in the instantiation file, and automatically generating an industrial APP initial interactive interface according to the data content in the analyzed instantiation file, a preset interactive interface template and an interface control corresponding to the analyzed data content, wherein the method comprises the following steps:
analyzing the data content in the instantiation file to obtain the analyzed data type;
determining the corresponding interface element control type according to the analyzed data type;
and calling a corresponding interface control in an interface control library according to the interface element control type, determining the interface layout of the interface control according to a preset interaction interface template, and obtaining an industrial APP initial interaction interface.
Further, automatically binding an interface control in the industrial APP initial interaction interface with corresponding event action association information to obtain a final interaction interface, including:
determining a corresponding event according to an interface control in the industrial APP initial interaction interface, and associating the event with the interface control;
and determining the operation content of the action according to the interface control in the industrial APP initial interactive interface, and associating the operation content of the action with the event.
Further, determining the operation content of the action according to the interface control in the industrial APP initial interactive interface, wherein the operation content comprises any one of the following three components:
determining the operation content of the action according to the encapsulated linkage configuration of the interface control;
determining the operation content of the action according to the script of the interface control;
determining general actions required by interface operation according to the interface operation of the industrial APP, encapsulating the general actions into selectable action configuration, and determining the operation content of the actions according to the selectable action configuration.
Further, performing different grouping management according to different types of the extraction data to store the extraction data as an instantiation file, including:
carrying out data hierarchy division on the extracted data according to different stages of the data source application of the industrial APP to be developed, wherein the division result of the data hierarchy comprises original input data, intermediate process data and operation result data;
respectively carrying out grouping management on the original input data, the intermediate process data and the operation result data according to data types;
the data hierarchy and the data packets of each data hierarchy are uniformly described according to the extensible markup language so as to realize that the extracted data is stored as an instantiation file.
Further, the automatic extraction of the data source of the industrial APP to be developed according to the data characteristics is performed to obtain extraction data, including:
classifying and extracting the data source of the industrial APP to be developed according to the input and output data characteristics to obtain classified data of the input and output data types;
classifying and extracting the classified data of the input and output data types according to the stored form data characteristics to obtain the classified data of the stored form data types, wherein the classified data of the stored form data types comprises data which are classified according to the input and output data characteristics and the stored form data characteristics.
Further, the classification data of the input/output data type at least includes: geometry data, material property data, grid data, optimization parameter data, operating condition data, calculation result data, and visualization data.
Further, the classification data of the storage form data type at least comprises: key value pair type data, standard model file type data, standard result file type data and custom file type data;
classifying and extracting the classified data of the input and output data types according to the stored form data characteristics to obtain the classified data of the stored form data types, wherein the classifying and extracting comprises the following steps:
classifying and extracting the classified data of the input and output data types according to the data characteristics of the storage form to obtain key value pair type data and file type data;
and classifying and extracting the file type data according to the file type characteristics to obtain standard model file type data, standard result file type data and custom file type data.
As another aspect of the present invention, there is provided a system for automatically generating a low-code platform interaction interface, configured to implement the method for automatically generating a low-code platform interaction interface described above, where the system for automatically generating a low-code platform interaction interface includes:
the industrial APP data extraction module is used for automatically extracting a data source of the industrial APP to be developed according to data characteristics to obtain extracted data, wherein the data characteristics comprise input and output data characteristics and storage form data characteristics;
the data unified processing module is used for carrying out different grouping management according to different types of the extracted data so as to store the extracted data as an instantiation file;
the interactive interface control generation module is used for analyzing the data content in the instantiation file and automatically generating an industrial APP initial interactive interface according to the analyzed data content in the instantiation file, a preset interactive interface template and an interface control corresponding to the analyzed data content;
and the control interaction event mapping module is used for automatically binding the interface control in the industrial APP initial interaction interface with the corresponding event action association information to obtain a final interaction interface.
Further, the low-code platform interactive interface automatic generation system further comprises: the interactive interface template library module and the interactive interface control library module are both in communication connection with the interactive interface control generation module,
the interactive interface template library module is used for storing a preset interactive interface template;
the interactive interface control library module is used for storing interface controls.
According to the automatic generation method of the low-code platform interaction interface, automatic extraction is carried out on source data of the industrial APP according to data characteristics, a data model is built on the extracted data in a layered mode according to the using stage of the data, and the extracted data is stored in a lasting mode through an instantiation file; and then analyzing the content of the instantiation file, automatically generating an industrial APP initial interactive interface based on a preset interactive interface template and an interface space, and finally establishing event action association for the interface space in the industrial APP initial interactive interface to complete automatic generation of the interactive interface. The automatic generation method of the low-code platform interactive interface generates an interface by utilizing an automatic generation technology and provides self-definition and expansion capability so as to optimize user experience and improve development efficiency; and the visual editing and automatic generating technology is fully utilized, the development threshold is reduced, the development speed of the application program is accelerated, and the improvement of the digital transformation and informatization level is promoted.
Drawings
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification, illustrate the invention and together with the description serve to explain, without limitation, the invention.
FIG. 1 is a flow chart of the method for automatically generating the interaction interface of the low-code platform.
Fig. 2 is a specific flowchart of data extraction provided in the present invention.
Fig. 3 is a flow chart of classifying and extracting classified data of input and output data types according to the present invention.
Fig. 4 is a flowchart of packet management for extracted data according to the present invention.
Fig. 5 is a schematic diagram of a packet architecture with multi-level data management according to the present invention.
FIG. 6 is a flow chart of an automatic generation industrial APP initial interactive interface provided by the invention.
Fig. 7 is a flowchart of obtaining a final interactive interface provided by the present invention.
FIG. 8 is a flowchart of a specific embodiment of a method for automatically generating a low-code platform interactive interface provided by the present invention.
FIG. 9 is a block diagram of a system for automatically generating a low code platform interactive interface according to the present invention.
Fig. 10 is a diagram showing the comparison between basic input and output and interface control of the industrial APP to be developed.
FIG. 11 is a schematic diagram of a control library description provided by the present invention.
FIG. 12 is a schematic diagram of interface control and control action comparison provided by the present invention.
Detailed Description
It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other. The invention will be described in detail below with reference to the drawings in connection with embodiments.
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe the embodiments of the invention herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In this embodiment, a method for automatically generating a low-code platform interaction interface is provided, and fig. 1 is a flowchart of the method for automatically generating a low-code platform interaction interface provided according to an embodiment of the present invention, as shown in fig. 1, including:
s100, automatically extracting a data source of an APP to be developed according to data characteristics to obtain extracted data, wherein the data characteristics comprise input and output data characteristics and storage form data characteristics;
in the embodiment of the invention, the data sources of the to-be-developed industrial APP are subjected to different levels of automatic extraction according to different data characteristics to obtain corresponding extraction data, the finally obtained extraction data can comprise various types of data, and the obtained extraction data is the result of extraction based on the input and output data characteristics and the storage form data characteristics, namely the final extraction data can have the input and output data characteristics and the storage form data characteristics.
The data extraction mode can classify the data sources in detail so as to facilitate the subsequent grouping management according to the data types and the basic preparation for automatically generating the interactive interface. It should be appreciated that it is due to the fact that the data source performs automatic data extraction in the early stage according to the different forms of the data characteristics, so that the subsequent data packet management, the automatic interface generation and the like can be realized.
S200, carrying out different grouping management according to different types of the extracted data so as to store the extracted data as an instantiation file;
in this embodiment, since the extracted data has a large data size, complex data types and different data integrity, the extracted data is processed uniformly in order to automatically generate the industrial APP interactive interface. Therefore, in the embodiment of the invention, the extracted data are managed in different groups according to different data types, and the data in different groups are respectively stored in the instantiation file, so that the automatic generation of the interaction interface can be realized later.
S300, analyzing the data content in the instantiation file, and automatically generating an industrial APP initial interactive interface according to the analyzed data content in the instantiation file, a preset interactive interface template and an interface control corresponding to the analyzed data content;
in the embodiment of the invention, the data content in the instantiation file is analyzed, and according to the analyzed content and in combination with a preset interactive interface template and an interface control corresponding to the analyzed content, the automatic generation of an industrial APP initial interactive interface which is formed into the layout style of the interface control and the like can be realized.
The method is characterized in that the interface control corresponding to the analyzed data content can be determined according to the analyzed data content, the interface style and the layout mode can be determined according to the preset interactive interface template, and the initial interactive interface of the industrial APP can be obtained by carrying out layout of the interface control on the basis.
S400, automatically binding the interface control in the industrial APP initial interactive interface with the corresponding event action association information to obtain a final interactive interface.
In the embodiment of the invention, aiming at the determined industrial APP initial interactive interface, the association of events and actions is needed to be carried out on the interface control, the corresponding events can be determined through the determined interface control, and then the association of the interface control and the events and the association of the events and the actions can be realized through the actions corresponding to the events, so that the final interactive interface is obtained.
Therefore, the automatic generation method of the low-code platform interaction interface provided by the invention automatically extracts the source data of the industrial APP according to the data characteristics, hierarchically establishes a data model for the extracted data according to the use stage of the data, and persists the extracted data through the instantiation file; and then analyzing the content of the instantiation file, automatically generating an industrial APP initial interactive interface based on a preset interactive interface template and an interface space, and finally establishing event action association for the interface space in the industrial APP initial interactive interface to complete automatic generation of the interactive interface. The automatic generation method of the low-code platform interactive interface generates an interface by utilizing an automatic generation technology and provides self-definition and expansion capability so as to optimize user experience and improve development efficiency; and the visual editing and automatic generating technology is fully utilized, the development threshold is reduced, the development speed of the application program is accelerated, and the improvement of the digital transformation and informatization level is promoted.
It should be noted that, for the structured and unstructured data sources of the industrial APP to be developed, specific data fields, entities or relationships are extracted from the original data according to given rules and recognition patterns.
Specifically, in the embodiment of the present invention, as shown in fig. 2, automatic extraction is performed on a data source of an APP to be developed to obtain extraction data, including:
s110, classifying and extracting a data source of the industrial APP to be developed according to the characteristics of the input and output data to obtain classified data of the input and output data types;
it should be noted that, the classification data of the input/output data type at least includes: geometry data, material property data, grid data, optimization parameter data, operating condition data, calculation result data, and visualization data.
S120, classifying and extracting the classified data of the input and output data types according to the stored form data characteristics to obtain the classified data of the stored form data types, wherein the classified data of the stored form data types comprise data which are classified according to the input and output data characteristics and the stored form data characteristics.
In an embodiment of the present invention, the classification data of the storage form data type at least includes: key value pair type data, standard model file type data, standard result file type data and custom file type data;
classifying and extracting the classified data of the input and output data types according to the stored form data characteristics to obtain the classified data of the stored form data types, as shown in fig. 3, including:
s121, classifying and extracting the classified data of the input and output data types according to the data characteristics of the storage form to obtain key value pair type data and file type data;
s122, classifying and extracting the file type data according to the file type characteristics to obtain standard model file type data, standard result file type data and custom file type data.
It should be understood that, after the above classification data of the input/output data type is subjected to classification extraction, by providing a unified interface, the data type can be classified into the following types according to the storage form of the data:
1) The key value pair type data mainly comprises material attribute data, physical parameter data and operation condition data, and for the parameter type, for example, a parameter name (such as mass) can be used as a key, and a parameter value (such as 1000 kg) can be used as a value, so that parameter information comprising the parameter name, the parameter data and the parameter value of the parameter type can be extracted.
2) Data of standard model file type mainly comprises geometric data and grid data, wherein the geometric data and the grid data are usually in standardized data formats, such as geometric data: * Igs, stp, x_t, grid data: * Inp bdf stl msh ccm, and each standardized model data format corresponds to a set of data read and write interfaces.
3) The data of the standard result file type mainly comprises calculation result data and visualized data obtained by processing, and generally comprises a three-dimensional field data format, such as structural calculation result data: * Db, opt, odb, fluid calculation result data: * Dat, sim, each standardized result data format corresponds to a set of data read and write interfaces.
4) And under the condition that the data of the custom file type and the standard data file type describe the data file inapplicable, the industrial APP developer custom defines the data file format, the file formats of the custom file type have no unified rule, no further analysis processing is carried out, and the extracted custom file parameters comprise the file name and the file type.
In an embodiment of the present invention, different packet management is performed according to different types of the extraction data to store the extraction data as an instantiation file, as shown in fig. 4, including:
s210, dividing the extracted data into data layers according to different stages of the data source application of the industrial APP to be developed, wherein the division result of the data layers comprises original input data, intermediate process data and operation result data;
s220, respectively carrying out grouping management on the original input data, the intermediate process data and the operation result data according to data types;
s230, uniformly describing the data layers and the data packets of each data layer according to the extensible markup language so as to realize that the extracted data is stored as an instantiation file.
It should be understood that, because the extracted data has a large data size, complex data types and different data integrity, in order to realize automatic generation of the industrial APP interactive interface to be developed, the extracted data needs to be processed uniformly. According to different stages of data application in the industrial APP, the extracted data are divided into three major layers: raw input data, intermediate process data, and run result data. In the three layers, grouping management can be performed according to different data types and attributes, and further unified description of the extracted data layers and grouping is realized by adopting an extensible markup language, so that the storage of the instantiation file of the data is completed. A schematic diagram of a packet architecture for multi-level data management is shown in fig. 5.
In the embodiment of the invention, the data content in the instantiation file is analyzed, and the industrial APP initial interactive interface is automatically generated according to the data content in the analyzed instantiation file, the preset interactive interface template and the interface control corresponding to the analyzed data content, as shown in fig. 6, and the method comprises the following steps:
s310, analyzing the data content in the instantiation file to obtain the analyzed data type;
in the embodiment of the invention, the control on the industrial APP interactive interface is automatically generated mainly based on specific rules and data. When the instantiation file is parsed, the data content in the instantiation file is mainly parsed, including data fields, data types, data relationships, data ranges and the like.
S320, determining the corresponding interface element control type according to the analyzed data type;
because each data type corresponds to one interface element space type, the corresponding interface element space type can be determined according to the analyzed data type.
In the embodiment of the invention, the data types related to the industrial APP to be developed are relatively fixed, the interface element control corresponding to each data type can be determined, and the comparison of part of data types and the display control forms is shown in (only partially schematic) in FIG. 10.
S330, calling a corresponding interface control in an interface control library according to the interface element control type, determining the interface layout of the interface control according to a preset interaction interface template, and obtaining an industrial APP initial interaction interface.
In the embodiment of the invention, the preset interactive interface template is stored in an interactive interface template library. The interactive interface template library is a resource library for centrally managing and organizing the interactive interface templates, and has the functions of classification, screening, preview and the like.
The interactive interface template library classifies and organizes templates according to different types, fields and uses. Dividing according to subdivision fields of the industrial APP, and dividing into different classifications according to engineering calculation templates, design modeling templates, structure fine calculation templates, fluid fine calculation template examples, acoustic calculation class templates and design selection templates, wherein each classification has an interactive interface style typical of the type of software.
The interactive interface template library provides a screening function that enables a user to screen and filter templates according to their own criteria (e.g., type, domain, user, color system, style, etc.) in order to more quickly find a desired template.
The interface template library has a preview function, and a user can view the appearance and layout of the template before selecting.
The interactive interface template library provides different interactive interface templates for various subdivided service scenes and supports a dynamic expansion function, so that a resource library for centrally managing and organizing the interactive interface templates is formed, and an entrance for centrally acquiring and using the interface templates is provided for a user. The interface template library contains abundant and diverse template selections to meet the requirements of different projects and functions.
Through a good interactive interface template library, designers and developers can quickly acquire templates meeting own requirements and use the templates in projects. Meanwhile, the interface template library can also promote sharing and communication of templates, so that more people benefit from excellent design resources.
In addition, the automatic generation of the industrial APP initial interactive interface is realized by calling an interface control corresponding to the determined interface element control type in the interface control library.
In the embodiment of the invention, aiming at the display form and interface elements related to the industrial APP interactive interface, common controls are summarized and summarized, and the common controls mainly comprise three main types: layout controls, base controls, advanced controls. All controls have three elements, namely attributes, events, actions. The attribute is the setting of title, style, state, etc., the event includes clicking, text modification, switching, etc., the action is the operation executed after the event triggering, which can be the script customized by the user, the preset function, etc. The control supports the user to carry out custom development realization according to the rule, can promote the sharing and communication of the control, and is beneficial to more people.
As shown in fig. 11, the layout control is mainly applied to the construction of an interface frame, including TAB layout, folded panel, grid layout, table layout, dividing line, and the like, and nesting is supported between layouts. The basic control is mainly applied to the display of interface elements, is bound with industrial APP data, and is displayed in various control forms (only partially schematic) such as text boxes, drop-down boxes, dates and the like. Advanced controls mainly provide presentation of some special control user interface elements, such as tree controls, statistical charts, iframe panels, and the like.
In the embodiment of the present invention, the automatic binding is performed between the interface control in the initial interaction interface of the industrial APP and the corresponding event action association information, so as to obtain a final interaction interface, as shown in fig. 7, including:
s410, determining a corresponding event according to an interface control in the industrial APP initial interactive interface, and associating the event with the interface control;
s420, determining operation content of an action according to an interface control in the industrial APP initial interactive interface, and associating the operation content of the action with the event.
Further specifically, determining the operation content of the action according to the interface control in the industrial APP initial interactive interface, wherein the operation content comprises any one of the following three components:
determining the operation content of the action according to the encapsulated linkage configuration of the interface control;
determining the operation content of the action according to the script of the interface control;
determining general actions required by interface operation according to the interface operation of the industrial APP, encapsulating the general actions into selectable action configuration, and determining the operation content of the actions according to the selectable action configuration.
It should be understood that after the interface control is generated, corresponding event and action monitoring logic is bound for the interface control, the control-event-action step-by-step association is completed, and data transfer between interface elements is realized.
In the embodiment of the invention, the instantiation file description document can not fully describe the response event relation among interface elements, and in order to more flexibly carry out man-machine interaction operation and respond to events among the interface elements, the events need to be adapted one control by one control, and the event types comprise: single machine, double click, focus acquisition, focus loss, enter key press, text modification, etc. And then the step-by-step association of the control-event-action is completed, the interface control action is associated to the response event, and the action types comprise: opening links, opening files, opening folders, displaying forms, selecting files, selecting folders, refreshing, message boxes, running scripts, etc.
Specifically, an event is a trigger point of an action, which is the content of a specific operation. As shown in fig. 12, there are three implementation manners of actions provided in the embodiment of the present invention:
1) Realizing actions based on linkage configuration of encapsulation of the control;
2) Realizing actions based on the customized scripts provided by the interface and the control;
3) According to the general actions summarized by the interface operation of the actual industrial APP, optional action configuration is provided after encapsulation, and the general actions can be common functions, common calculation formulas, selection controls and the like.
As shown in FIG. 8, a flowchart of a specific embodiment of a method for automatically generating a low-code platform interactive interface is provided. Firstly, automatically extracting data of an industrial APP to obtain original input data, process data and result data; then establishing a data model for the data in a layering manner according to the using stage of the data, and carrying out persistence storage on the extracted data through an instantiation file; secondly, establishing a dynamic extensible interface template library through carding of industrial APP application types; and finally, combining an interface control library to complete automatic generation of the interactive interface, and completing mapping of the interactive event and association of the event action.
In summary, the method for automatically generating the low-code platform interaction interface provided by the invention has the following advantages compared with the prior art:
(1) The industrial APP interactive interface is automatically generated, and the industrial APP development efficiency is effectively improved.
In the industry, industrial APP is often required to process large amounts of data and complex business logic, and therefore developing a good interactive interface requires a lot of time and effort. The automatic interactive interface generation method can obviously improve the development efficiency, reduce human errors and ensure the consistency and quality of interfaces in the industrial APP development. The method provides a more efficient and reliable way for developers to develop complex industrial APP, so that time and resources are saved, and the promotion of projects is accelerated.
(2) Industrial APP development possibilities are provided for users without programming experience and without aesthetic design capabilities.
Because conventional industrial APP development generally requires programming skills and design capabilities, many users who are not technical background have difficulty participating in industrial APP development. After the interactive interface is introduced for automatic generation, a non-technical user can also create the own industrial APP through a visual editing tool, a preset template and a control library and a simplified development flow, and the user can easily create the own industrial APP without programming knowledge and design skills. The method greatly reduces the development threshold, widens the participators of industrial APP development, and promotes the realization of more originality and ideas.
(3) And the method is combined with the development of the business logic low code, so that the whole process of industrial APP low code development is realized.
The interactive interface automatic generation method provides the automatic generation capability of the interactive interface part, and the business logic low code development is focused on the rapid development of business rules and data processing. The automatic generation method of the interactive interface is combined with the low code development of the business logic, so that the low code development of the whole process industrial APP can be realized. The combination realizes the capability of visual editing and automatic generation, reduces the development threshold, improves the development efficiency, and enables more users with non-technical background to participate in the development of the industrial APP.
(4) The informatization level of the industrial field is improved, and the digital transformation contribution force is realized.
Increasing the level of informatization and achieving digital transformation in the industry is currently the goal sought by many businesses and organizations. Through aspects of rapid industrial APP development, data visualization and analysis, data integration and sharing, low code development and the like, a rapid, flexible and efficient solution is provided for enterprises and organizations, important roles in improving the informatization level of the industrial field and realizing digital transformation are played, and informatization progress and digital transformation of the industrial field are promoted.
As another aspect of the present invention, there is provided a system for automatically generating a low-code platform interaction interface, for implementing the method for automatically generating a low-code platform interaction interface described above, wherein, as shown in fig. 9, the system 10 for automatically generating a low-code platform interaction interface includes:
the industrial APP data extraction module 100 is used for automatically extracting a data source of the industrial APP to be developed to obtain extraction data;
the data unified processing module 200 is configured to perform different grouping management according to different types of the extracted data, so as to store the extracted data as an instantiation file;
the interactive interface control generation module 300 is configured to parse the data content in the instantiation file, and automatically generate an industrial APP initial interactive interface according to the parsed data content in the instantiation file, a preset interactive interface template, and an interface control corresponding to the parsed data content;
and the control interaction event mapping module 400 is used for automatically binding the interface control in the industrial APP initial interaction interface with the corresponding event action association information to obtain a final interaction interface.
In the embodiment of the invention, the system for automatically generating the interaction interface of the low-code platform further comprises: an interactive interface template library module 500 and an interactive interface control library module 600, both of which are in communication connection with the interactive interface control generation module,
the interactive interface template library module 500 is used for storing a preset interactive interface template;
the interactive interface control library module 600 is used for storing interface controls.
According to the low-code platform interactive interface automatic generation system provided by the invention, automatic extraction is carried out on source data of the industrial APP according to data characteristics, a data model is built on the extracted data in a layered manner according to the use stage of the data, and the extracted data is subjected to persistence storage through an instantiation file; and then analyzing the content of the instantiation file, automatically generating an industrial APP initial interactive interface based on a preset interactive interface template and an interface space, and finally establishing event action association for the interface space in the industrial APP initial interactive interface to complete automatic generation of the interactive interface. The low-code platform interactive interface automatic generation system generates an interface by utilizing an automatic generation technology and provides self-definition and expansion capability so as to optimize user experience and improve development efficiency; and the visual editing and automatic generating technology is fully utilized, the development threshold is reduced, the development speed of the application program is accelerated, and the improvement of the digital transformation and informatization level is promoted.
The specific working principle and process of the system for automatically generating the interactive interface of the low-code platform can refer to the description of the method for automatically generating the interactive interface of the low-code platform, and the description is omitted herein.
It is to be understood that the above embodiments are merely illustrative of the application of the principles of the present invention, but not in limitation thereof. Various modifications and improvements may be made by those skilled in the art without departing from the spirit and substance of the invention, and are also considered to be within the scope of the invention.

Claims (8)

1. The automatic generation method of the low-code platform interaction interface is characterized by comprising the following steps of:
automatically extracting a data source of the industrial APP to be developed according to data characteristics to obtain extracted data, wherein the data characteristics comprise input and output data characteristics and storage form data characteristics;
performing different grouping management according to different types of the extraction data so as to store the extraction data as an instantiation file;
analyzing the data content in the instantiation file, and automatically generating an industrial APP initial interactive interface according to the data content in the analyzed instantiation file, a preset interactive interface template and an interface control corresponding to the analyzed data content;
automatically binding an interface control in the industrial APP initial interaction interface with corresponding event action association information to obtain a final interaction interface;
analyzing the data content in the instantiation file, and automatically generating an industrial APP initial interactive interface according to the data content in the analyzed instantiation file, a preset interactive interface template and an interface control corresponding to the analyzed data content, wherein the method comprises the following steps:
analyzing the data content in the instantiation file to obtain the analyzed data type;
determining the corresponding interface element control type according to the analyzed data type;
calling a corresponding interface control in an interface control library according to the interface element control type, determining the interface layout of the interface control according to a preset interaction interface template, and obtaining an industrial APP initial interaction interface;
performing different grouping management according to different types of the extraction data to store the extraction data as an instantiation file, including:
carrying out data hierarchy division on the extracted data according to different stages of the data source application of the industrial APP to be developed, wherein the division result of the data hierarchy comprises original input data, intermediate process data and operation result data;
respectively carrying out grouping management on the original input data, the intermediate process data and the operation result data according to data types;
the data hierarchy and the data packets of each data hierarchy are uniformly described according to the extensible markup language so as to realize that the extracted data is stored as an instantiation file.
2. The method for automatically generating the low-code platform interaction interface according to claim 1, wherein automatically binding the interface control in the industrial APP initial interaction interface with the corresponding event action association information to obtain a final interaction interface, comprises:
determining a corresponding event according to an interface control in the industrial APP initial interaction interface, and associating the event with the interface control;
and determining the operation content of the action according to the interface control in the industrial APP initial interactive interface, and associating the operation content of the action with the event.
3. The method for automatically generating the low-code platform interaction interface according to claim 2, wherein determining the operation content of the action according to the interface control in the industrial APP initial interaction interface comprises any one of the following three steps:
determining the operation content of the action according to the encapsulated linkage configuration of the interface control;
determining the operation content of the action according to the script of the interface control;
determining general actions required by interface operation according to the interface operation of the industrial APP, encapsulating the general actions into selectable action configuration, and determining the operation content of the actions according to the selectable action configuration.
4. The automatic generation method of the low-code platform interaction interface according to any one of claims 1 to 3, wherein automatically extracting a data source of the industrial APP to be developed according to data characteristics to obtain extracted data comprises:
classifying and extracting the data source of the industrial APP to be developed according to the input and output data characteristics to obtain classified data of the input and output data types;
classifying and extracting the classified data of the input and output data types according to the stored form data characteristics to obtain the classified data of the stored form data types, wherein the classified data of the stored form data types comprises data which are classified according to the input and output data characteristics and the stored form data characteristics.
5. The method for automatically generating a low-code platform interactive interface according to claim 4, wherein said classification data of input/output data type at least comprises: geometry data, material property data, grid data, optimization parameter data, operating condition data, calculation result data, and visualization data.
6. The method for automatically generating a low-code platform interactive interface according to claim 4, wherein said classification data of the data type in the storage form at least comprises: key value pair type data, standard model file type data, standard result file type data and custom file type data;
classifying and extracting the classified data of the input and output data types according to the stored form data characteristics to obtain the classified data of the stored form data types, wherein the classifying and extracting comprises the following steps:
classifying and extracting the classified data of the input and output data types according to the data characteristics of the storage form to obtain key value pair type data and file type data;
and classifying and extracting the file type data according to the file type characteristics to obtain standard model file type data, standard result file type data and custom file type data.
7. An automatic generation system of a low-code platform interaction interface for implementing the automatic generation method of a low-code platform interaction interface according to any one of claims 1 to 6, wherein the automatic generation system of a low-code platform interaction interface comprises:
the industrial APP data extraction module is used for automatically extracting a data source of the industrial APP to be developed according to data characteristics to obtain extracted data, wherein the data characteristics comprise input and output data characteristics and storage form data characteristics;
the data unified processing module is used for carrying out different grouping management according to different types of the extracted data so as to store the extracted data as an instantiation file;
the interactive interface control generation module is used for analyzing the data content in the instantiation file and automatically generating an industrial APP initial interactive interface according to the analyzed data content in the instantiation file, a preset interactive interface template and an interface control corresponding to the analyzed data content;
and the control interaction event mapping module is used for automatically binding the interface control in the industrial APP initial interaction interface with the corresponding event action association information to obtain a final interaction interface.
8. The system for automatically generating a low-code platform interaction interface according to claim 7, wherein the system for automatically generating a low-code platform interaction interface further comprises: the interactive interface template library module and the interactive interface control library module are both in communication connection with the interactive interface control generation module,
the interactive interface template library module is used for storing a preset interactive interface template;
the interactive interface control library module is used for storing interface controls.
CN202311790719.5A 2023-12-25 2023-12-25 Automatic generation method and system for low-code platform interaction interface Active CN117472379B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311790719.5A CN117472379B (en) 2023-12-25 2023-12-25 Automatic generation method and system for low-code platform interaction interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311790719.5A CN117472379B (en) 2023-12-25 2023-12-25 Automatic generation method and system for low-code platform interaction interface

Publications (2)

Publication Number Publication Date
CN117472379A CN117472379A (en) 2024-01-30
CN117472379B true CN117472379B (en) 2024-03-08

Family

ID=89639884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311790719.5A Active CN117472379B (en) 2023-12-25 2023-12-25 Automatic generation method and system for low-code platform interaction interface

Country Status (1)

Country Link
CN (1) CN117472379B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995698A (en) * 2014-05-05 2014-08-20 重庆斯欧信息技术有限公司 Application form agile development method and system oriented to business
US11567737B1 (en) * 2021-09-21 2023-01-31 Rockwell Automation Technologies, Inc. Graphical and text based co-design editor for industrial automation projects
CN116107555A (en) * 2022-12-29 2023-05-12 上海欣能信息科技发展有限公司 GUI model driven low-code platform based on energy industry and use method
CN116225429A (en) * 2022-12-29 2023-06-06 浙江华云信息科技有限公司 Pulling type component frame-based ipage webpage type low-code development platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995698A (en) * 2014-05-05 2014-08-20 重庆斯欧信息技术有限公司 Application form agile development method and system oriented to business
US11567737B1 (en) * 2021-09-21 2023-01-31 Rockwell Automation Technologies, Inc. Graphical and text based co-design editor for industrial automation projects
CN116107555A (en) * 2022-12-29 2023-05-12 上海欣能信息科技发展有限公司 GUI model driven low-code platform based on energy industry and use method
CN116225429A (en) * 2022-12-29 2023-06-06 浙江华云信息科技有限公司 Pulling type component frame-based ipage webpage type low-code development platform

Also Published As

Publication number Publication date
CN117472379A (en) 2024-01-30

Similar Documents

Publication Publication Date Title
Applegate et al. Knowledge management in organizational planning
Gallardo et al. A model-driven development method for collaborative modeling tools
CN106599039B (en) Statistical representation method supporting free combination nesting of relational database data
US7739612B2 (en) Blended editing of literal and non-literal values
CN101639943B (en) Method and apparatus for producing animation
CN111079244B (en) Distributed simulation platform based on behavior tree
Johnsson et al. Towards end-user development of graphical user interfaces for internet of things
CN113642920B (en) Quick construction method for digital application in industrial manufacturing field
CN111796815A (en) Application of full-automatic visual software building platform
CN112653584A (en) 5G message arranging method and arranging tool box based on component capability
CN108536718A (en) A kind of method and system for the IT application in management realized based on input and output semantization
CN111273900A (en) On-line drag code generation method based on gitlab real-time code sharing
CN114327458A (en) Method and system for quickly building enterprise informatization system
CN117472379B (en) Automatic generation method and system for low-code platform interaction interface
CN113268496A (en) Client list screening method and device
CN106484413A (en) Document editor and document edit method
CN113761304B (en) Big data intelligent display configuration method based on dynamic parameters
CN115203162A (en) WYSIWYG graph data construction method
CN107943564B (en) Fine management system and management method for animation design task
CN111538878A (en) QT-based data acquisition platform data display method and device
CN112783484A (en) Guide template system, sharing method, terminal and medium of collaborative design originality
CN109885789A (en) A kind of portal website's automatic generation method, system, equipment and recording medium
Bexiga Closing the Gap Between Designers and Developers in a Low-Code Ecosystem
CN113010154B (en) Dynamic loading-based visual development configuration method for secondary data management interface
CN115713578B (en) Animation interactive courseware manufacturing method, platform and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant