CN116737278A - Method and device for generating system operation package, computer equipment and storage medium - Google Patents

Method and device for generating system operation package, computer equipment and storage medium Download PDF

Info

Publication number
CN116737278A
CN116737278A CN202311021977.7A CN202311021977A CN116737278A CN 116737278 A CN116737278 A CN 116737278A CN 202311021977 A CN202311021977 A CN 202311021977A CN 116737278 A CN116737278 A CN 116737278A
Authority
CN
China
Prior art keywords
menu
interface
target
configuration file
component
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.)
Granted
Application number
CN202311021977.7A
Other languages
Chinese (zh)
Other versions
CN116737278B (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.)
Fengtai Technology Beijing Co ltd
Original Assignee
Fengtai Technology Beijing 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 Fengtai Technology Beijing Co ltd filed Critical Fengtai Technology Beijing Co ltd
Priority to CN202311021977.7A priority Critical patent/CN116737278B/en
Publication of CN116737278A publication Critical patent/CN116737278A/en
Application granted granted Critical
Publication of CN116737278B publication Critical patent/CN116737278B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The application is suitable for the technical field of computer information processing, and provides a method, a device, computer equipment and a storage medium for generating a system operation package, wherein the method comprises the steps of responding to a first operation and control action of a user on an interface configuration page, generating an interface configuration file and storing the interface configuration file into a file pool; responding to a second control action of the user on the menu configuration page to generate a menu configuration file; responding to a third control action of a user on a system configuration page, and selecting a target interface configuration file from the file pool based on the menu configuration file; and generating a system operation package containing the target interface configuration file and the menu configuration file. The proposal avoids the tedious prototype design and development process, reduces the development workload, improves the development efficiency and reduces the development cost.

Description

Method and device for generating system operation package, computer equipment and storage medium
Technical Field
The present application relates to the field of computer information processing technologies, and in particular, to a method and apparatus for generating a system operation packet, a computer device, and a storage medium.
Background
With the rapid development of the internet, various application systems, such as Web systems, are increasingly used in various industries. Before the application system is put into use, the application system needs to be developed in a earlier stage, and a system operation package corresponding to the application system is produced, so that the application system is installed in a user terminal or directly operated based on the system operation package in the process of putting the system into use, and the application system is ensured to be normally put into use in the terminal.
In the conventional development flow of the application system, prototype design needs to be performed on the application system in the early stage of development, then system development is performed according to the prototype, the workload is large, and development work can be correspondingly adjusted when modification is required, which is time-consuming and complex.
Disclosure of Invention
The embodiment of the application provides a method, a device, computer equipment and a storage medium for generating a system operation package, which are used for solving the problems of large development workload, time consumption and complexity of an application system in the prior art.
A first aspect of an embodiment of the present application provides a method for generating a system running package, including:
responding to a first control action of a user on an interface configuration page, generating an interface configuration file and storing the interface configuration file into a file pool; the interface configuration file comprises interface configuration content of a display interface, wherein the interface configuration content comprises target component elements in the display interface, element arrangement information of the target component elements in the display interface and data association information of part or all of the target component elements and a setting database;
Responding to a second control action of the user on the menu configuration page to generate a menu configuration file; the menu configuration file is used for configuring a system menu; each menu bar in the system menu corresponds to a menu display interface;
responding to a third control action of a user on a system configuration page, and selecting a target interface configuration file from the file pool based on the menu configuration file, wherein the target interface configuration file is used for configuring a target menu display interface corresponding to a target menu bar;
and generating a system operation package containing the target interface configuration file and the menu configuration file.
A second aspect of an embodiment of the present application provides a system running package generating apparatus, including:
the first generation module is used for responding to a first control action of a user on the interface configuration page, generating an interface configuration file and storing the interface configuration file into the file pool; the interface configuration file comprises interface configuration content of a display interface, wherein the interface configuration content comprises target component elements in the display interface, element arrangement information of the target component elements in the display interface and data association information of part or all of the target component elements and a setting database;
The second generation module is used for responding to a second control action of the user on the menu configuration page and generating a menu configuration file; the menu configuration file is used for configuring a system menu; each menu bar in the system menu corresponds to a menu display interface;
the selection module is used for responding to a third control action of a user on the system configuration page, selecting a target interface configuration file from the file pool based on the menu configuration file, wherein the target interface configuration file is used for configuring a target menu display interface corresponding to a target menu bar;
and the third generation module is used for generating a system operation package containing the target interface configuration file and the menu configuration file.
A third aspect of an embodiment of the present application provides a computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to the first aspect when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method according to the first aspect.
A fifth aspect of the application provides a computer program product for causing a computer device to carry out the steps of the method of the first aspect described above when said computer program product is run on the computer device.
In the embodiment of the application, the interface configuration file and the menu configuration file are generated in response to the control action of the user, the target interface configuration file is selected from the file pool based on the menu configuration file, the target menu display interface corresponding to the configuration target menu bar is realized, the system operation package containing the target interface configuration file and the menu configuration file is finally generated, the configuration operation of the user-defined interface and the menu and the corresponding relation between the configuration files are established through the control action, the configuration of the display interface corresponding to the menu and the menu is realized under the condition that no coding is needed, the system operation package corresponding to the menu is further generated, the complete system is constructed, the complicated prototype design and development process is avoided, the development workload is reduced, the development efficiency is improved, and the development cost is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for generating a system operation package according to an embodiment of the present application;
FIG. 2 is a second flowchart of a method for generating a system running package according to an embodiment of the present application;
FIG. 3 is a block diagram of a system running package generating device according to an embodiment of the present application;
fig. 4 is a block diagram of a computer device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
In particular implementations, the computer devices described in embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having a touch-sensitive surface (e.g., a touch screen display and/or a touch pad). It should also be appreciated that in some embodiments, the device is not a portable communication device, but a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or a touch pad).
In the following discussion, a computer device including a display and a touch-sensitive surface is described. However, it should be understood that a computer device may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The computer device supports various applications, such as one or more of the following: drawing applications, presentation applications, word processing applications, website creation applications, disk burning applications, spreadsheet applications, gaming applications, telephony applications, video conferencing applications, email applications, instant messaging applications, workout support applications, photo management applications, digital camera applications, digital video camera applications, web browsing applications, digital music player applications, and/or digital video player applications.
Various applications that may be executed on the computer device may use at least one common physical user interface device such as a touch sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the computer device may be adjusted and/or changed between applications and/or within corresponding applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the computer device may support various applications with user interfaces that are intuitive and transparent to the user.
It should be understood that, the sequence number of each step in this embodiment does not mean the execution sequence, and the execution sequence of each process should be determined by its function and internal logic, and should not limit the implementation process of the embodiment of the present application in any way.
In order to illustrate the technical scheme of the application, the following description is made by specific examples.
Referring to fig. 1, fig. 1 is a flowchart of a method for generating a system running package according to an embodiment of the present application. As shown in fig. 1, a method for generating a system operation package includes the following steps:
step 101, responding to a first operation and control action of a user on an interface configuration page, generating an interface configuration file and storing the interface configuration file into a file pool.
The file pool stores a plurality of interface configuration files.
In the process of generating an interface configuration file in response to a first operation action of a user on an interface configuration page, specifically, interface configuration information input in the interface configuration page is acquired based on the operation action of the user, interface configuration content of a display interface is determined, and the interface configuration file corresponding to the interface configuration content is generated.
The interface configuration file comprises interface configuration content of a display interface.
The interface configuration content comprises target component elements in the display interface, element arrangement information of the target component elements in the display interface and data association information of part or all of the target component elements and a setting database.
The component element is a specific component under a certain type, and forms a constituent element in the display interface.
The interface configuration page is used for realizing interface configuration of a display interface to be configured in the system.
The manipulation action is, for example, a screen click manipulation action, a gesture manipulation action, a voice manipulation action, an eye movement manipulation action, or the like. The first manipulation action may be one or a set of actions comprising a plurality of sub-actions.
The component elements are, for example, search box component elements, text input box component elements, data graphical presentation component elements, and the like.
The element arrangement information is, for example, relative position information among the elements of the component, display coordinate information of the component in the display interface, and the like.
The setting database has data content corresponding to the setting data source, and through configuring data association information of target component elements and the setting database, it is ensured that some target component elements can be associated with the setting data, and then specific component functions such as data calling, data displaying, data processing and the like are configured for the target component elements.
In one example, step 101 generates an interface configuration file in response to a first manipulation action of a user on an interface configuration page, including:
responding to the component selection operation of the interface configuration page by a user, and determining the target component element indicated by the first control action from a component library;
responding to the component dragging operation of the interface configuration page by a user, and determining the interface arrangement position of the target component element;
responding to the data source association operation of the user on the interface configuration page, and determining the association relation between part or all of the target component elements and the data sources in the database;
and generating the interface configuration file based on the target component element, the interface arrangement position and the association relation.
The first control action comprises a plurality of control actions, and specifically comprises a component selection operation of a user on the interface configuration page, a component dragging operation of the user on the interface configuration page and a data source association operation of the user on the interface configuration page.
The control actions are used for determining target component elements in a display interface in the interface configuration file, element arrangement information of the target component elements in the display interface and data association information of part or all of the target component elements and a setting database.
Or, the configuration functions of the interface configuration file can be integrated by one key, so that the interface configuration page has the interface one-key configuration function, the operation items corresponding to the one-key configuration function can be arranged in the interface configuration page, the first operation action is the operation action of the operation items, the configuration of the display interface can be realized by only one operation action, and the interface configuration file is generated.
The interface configuration page can be provided with a plurality of control items corresponding to one-key configuration functions of different types, so that different types of display interface configuration processing can be conveniently performed according to actual requirements.
The component selection operation includes, but is not limited to, a component description information input operation or a component clicking operation in a screen, and selection of a specific component is achieved through inputting description information or direct clicking touch.
The data source association operation comprises, but is not limited to, an association information input operation or a connection operation based on a screen, and the association configuration of the component elements and the corresponding data sources is realized.
In one embodiment, the component selection operation is a component description information input operation. Correspondingly, in response to the component selection operation of the interface configuration page by the user, determining the target component element indicated by the first manipulation action from the component library, including:
responding to the component description information input operation of the user in the interface configuration page, and carrying out semantic disassembly on the component description information input by the user to obtain a disassembly result;
determining component labels matched with the component description information based on the disassembly result;
and determining the component element associated with the component tag as the target component element from the component library based on the component tag.
Here, the different component elements correspond to component tags.
The formation of the component labels can be to generate some characteristic component labels according to the specific functions of the components, store the characteristic component labels in a label library, and construct the corresponding relation between the component labels and different component elements in the label library so as to realize classification of the labels.
The component description information input operation may be a voice input operation, a text input operation, or the like.
The component description information may be voice description information, text description information, or the like.
In the application, in order to facilitate the user to quickly create a required target system, when the user configures a display interface, the user inputs a section of speech (requirement), the system processes the semantics through a natural language processing engine, intelligently splits the semantics input by the user, simultaneously matches the split result with a tag library, determines target component elements, and realizes quick component selection and quick interface configuration through the introduction of component tags and the semantic disassembly of component description information.
The component library contains a plurality of component elements, and the component elements can be pre-constructed by developers or system users according to requirements so as to meet the interface configuration requirements.
In one example, the method further comprises a process of pre-building a library of components, the process comprising:
and editing and generating component elements of various setting types based on the component editor to obtain a component library containing the component elements.
The component editor can edit component information such as component names, component functions, component styles and the like, and can construct component elements.
The setting type of the component element, such as a data input type, a graphical presentation type (such as 2D, 3D and the like), an instruction trigger type and the like.
The process supports the custom configuration component, can meet the requirements of different systems, and improves the flexibility and configurability of the system.
Step 102, responding to the second control action of the user on the menu configuration page, and generating a menu configuration file.
In this step, on the basis of the third manipulation action, a selected object of the file in the file pool corresponding to the third manipulation action may be determined as the target interface configuration file. Or, directly responding to a third control action of the user on the system configuration page, and triggering and executing the processing operation of selecting the target interface configuration file from the file pool based on the menu configuration file by the third control action.
The menu configuration file is used for configuring a system menu, and each menu bar in the system menu corresponds to the menu display interface.
The second manipulation action may be one or a set of actions comprising a plurality of sub-actions.
The menu configuration file may include configuration information such as menu bars, hierarchical structures between menu bars, menu names, numbers, and the like.
And step 103, responding to a third control action of a user on the system configuration page, and selecting a target interface configuration file from the file pool based on the menu configuration file.
The target interface configuration file is used for configuring a target menu display interface corresponding to the target menu bar.
The target menu bar may be some number of menu bars in the system menu, or each menu bar.
After the menu needed by the system is configured, the generated interface configuration file is associated with the corresponding menu configuration file. To enable allocation of the display interface of the interface profile configuration to different menus of the menu profile configuration.
Here, the interface configuration files may also be classified to generate corresponding file tags.
The file labels can be formed by generating some characteristic file labels according to specific configuration content of the interface configuration files, storing the characteristic file labels in a label library, and constructing corresponding relations between the file labels in the label library and different interface configuration files.
In response to a third control action of the user on the system configuration page, in the process of selecting the target interface configuration file from the file pool based on the menu configuration file, matching corresponding file labels from the label library based on the interface display requirement of the target menu column in the menu configuration file, and selecting the target interface configuration file from the file pool based on the file labels, so that the user can conveniently and quickly establish a required target system.
In one example, selecting a target interface profile from a file pool based on a menu profile includes:
determining menu functions of a plurality of menu bars and hierarchical relations among the plurality of menu bars contained in the configured system menu based on the menu configuration file;
based on the menu functions and the hierarchical relationship, determining common display information and differential display information among menu display interfaces required by different menu bars;
determining a target file type from a plurality of set interface configuration file types of the file pool based on the common display information, wherein the interface configuration file contained in the target file type corresponds to element arrangement information of the set type;
determining a first component element matched with each menu bar from a plurality of setting component elements based on the difference display information;
and respectively selecting the configuration file containing the matched first component element from the interface configuration files contained in the target file type as the target interface configuration file for each menu bar.
The menu bar is, for example, a device management menu bar, an application management menu bar, a network management menu bar, or the like. The menu functions of the menu bar are, for example, a device management function, an application management function, a network management function, and the like.
The hierarchical relationship between menu bars includes being at the same level or at a non-same level. When the hierarchical relationship between menu bars is in a non-identical hierarchy, the hierarchical relationship specifically includes the hierarchical relationship of an upper hierarchy and a lower hierarchy, such as the hierarchical relationship of a parent hierarchy and a child hierarchy.
When the common display information and the differential display information among the menu display interfaces required by different menu bars are determined based on the menu functions and the hierarchical relationship, the required menu display interfaces of the menu bars in the same hierarchy can have more identical or similar interface display frames, component element display arrangement modes or component element display arrangement styles, and the required menu display interfaces of the menu bars in different hierarchies can have more different or differential interface display frames, component element display arrangement modes or component element display arrangement styles.
When determining the common display information and the differential display information between the menu display interfaces required by different menu bars, the determination may be performed based on the menu bars of different levels, or may be performed based on the menu bars of the same level.
While the desired menu display interfaces of menu bars having similar menu functions may have more identical or similar interface display frames, component element display arrangements or component element display arrangements styles between them,
The required menu display interfaces with dissimilar menu bars can have more different or differentiated interface display frames, component element display arrangements or component element display arrangements styles.
Here, the common display information and the differential display information may be determined from the menu display interfaces required for the different menu bars by combining both the menu functions and the hierarchical relationship.
The common display information is, for example, an interface display frame, required element in the interface display frame, element display arrangement mode or element display arrangement style. The difference display information is, for example, an interface display frame, a component element required in the interface display frame, a component element display arrangement mode or a component element display arrangement style.
In one application, different file types may be set for interface configuration files stored in a file pool.
The interface configuration files of different file types contain element arrangement information of set types.
The element arrangement information is, for example, information of which required element elements need to be arranged under different interface display frames, element display arrangement modes or element display arrangement styles corresponding to the required element elements, and the like.
The file types can be divided according to different display styles of the interface or according to different application scenes of the interface, and the interface configuration files of the different divided file types contain element arrangement information of set types corresponding to the file types.
For example, the file type is an interface configuration file of classical wind display arrangement style, an interface configuration file of secondary element display arrangement style, and the like; correspondingly, the interface configuration file comprises element arrangement information which is arranged according to the go chessmen arrangement rule, and the interface configuration file comprises element arrangement information which is arranged according to the falling sakura petals.
Or the file type is, for example, an interface configuration file in an office scene, an interface configuration file in a game scene, and the like, correspondingly, the interface configuration file comprises element arrangement information which is arranged in a horizontal-vertical rule, and the interface configuration file comprises element arrangement information which is arranged along a certain game special effect, or element arrangement information which is arranged in a radial shape, an arc shape or a star shape.
The element arrangement information of the interface configuration files may include the same required element elements for confirmation, return and the like, or may include different required element elements corresponding to a specific style, an application scene and the like. The required component elements can have corresponding information such as component element display arrangement modes or component element display arrangement styles under the interface display frames corresponding to the file types.
When determining the target file type from the plurality of set interface configuration file types of the file pool based on the common display information, the display style or the application scene commonly required by the menu bars can be determined based on the common information on the interface display frame, the component element display arrangement mode or the component element display arrangement style contained in the common display information, and then the target file type corresponding to the menu bars is determined from the plurality of set interface configuration file types of the file pool.
And further determining a first component element matched for each menu bar from the plurality of set component elements based on the difference display information.
Here, the component elements may be set in advance so that the aforementioned desired component element is selected from the set plurality of component elements.
And display differences necessarily exist among the plurality of menu bars, and at this time, the first component element matched with each menu bar needs to be selected respectively based on the difference display information of each menu bar.
Further, from the interface configuration files included in the target file type, a configuration file including the first component element matched with each other is selected as the target interface configuration file for each menu bar.
And finally, selecting a configuration file containing the self-matched component elements from a plurality of interface configuration files contained in the object file types for each menu column as the object interface configuration file, thereby realizing the selection process of selecting the object interface configuration file from a file pool based on the menu configuration file, avoiding complicated prototype design and development process, reducing development workload, improving development efficiency and reducing development cost.
Further, in one example, determining the common display information and the differential display information between the menu display interfaces required by different menu bars based on the menu functions and the hierarchical relationship includes:
determining a plurality of target menu bars at the same hierarchy from the plurality of menu bars based on the hierarchy relationship;
And determining common display information and differential display information among menu display interfaces required by different target menu bars based on the menu functions of the target menu bars.
In this embodiment, it is necessary to find out a plurality of target menu bars at the same level from a plurality of menu bars, and to determine common display information and differential display information between menu display interfaces required by the menu bars based on the plurality of target menu bars at the same level, so as to implement selection and determination of file types and required component elements based on the menu bars at the same level with significant commonality, thereby improving reasonable effectiveness and configuration accuracy of interface configuration file selection by using the common display information and differential display information between menu display interfaces required by the menu bars.
And 104, generating a system operation package containing the target interface configuration file and the menu configuration file.
When the system operation package is generated, the target interface configuration file and the menu configuration file can be directly packaged to form the system operation package.
Or, in one example, generating a system run package containing the target interface configuration file and the menu configuration file includes:
Performing system interface rendering based on the target interface configuration file and the menu configuration file;
code disassembly is carried out on a target system generated after the system interface is rendered, and a front-end and back-end operation package corresponding to the target system is generated.
Here, the target system is a system having a front end and a back end. When the system operation package is generated, the rendering generation of the front-end interface of the target system can be realized based on the target interface configuration file and the menu configuration file, and further, the corresponding operation package is generated based on the front-end code and the back-end code corresponding to the target system after the front-end rendering, namely, the system operation package is formed, so that complicated prototype design and development processes are avoided, the development workload is reduced, the development efficiency is improved, and the development cost is reduced.
Optionally, the front-end runtime package contains the generated front-end code of interfaces and components, and the back-end runtime package contains the generated back-end logic and data source configuration code.
In the embodiment of the application, the interface configuration file and the menu configuration file are generated in response to the control action of the user, the target interface configuration file is selected from the file pool based on the menu configuration file, the target menu display interface corresponding to the target menu bar is configured, the system operation package containing the target interface configuration file and the menu configuration file is finally generated, the configuration operation of the user-defined interface and the menu and the corresponding relation between the configuration files are established through the control action, the configuration of the display interface corresponding to the menu and the menu is realized under the condition of no need of coding, the system operation package corresponding to the menu is further generated, the complete system is constructed, the complicated prototype design and development process is avoided, the development workload is reduced, the development efficiency is improved, and the development cost is reduced.
Different implementation modes of the generation method of the system operation package are also provided in the embodiment of the application.
Referring to fig. 2, fig. 2 is a flowchart second of a method for generating a system running package according to an embodiment of the present application. As shown in fig. 2, a method for generating a system operation package includes the following steps:
step 201, responding to a first operation of a user on an interface configuration page, generating an interface configuration file and storing the interface configuration file into a file pool.
The interface configuration file comprises interface configuration content of a display interface.
The interface configuration content comprises target component elements in the display interface, element arrangement information of the target component elements in the display interface and data association information of part or all of the target component elements and a setting database.
The implementation process of this step is the same as that of step 101 in the foregoing embodiment, and will not be described here again.
Step 202, in response to the first manipulation, invoking the target component element from a component library, generating the display interface corresponding to the interface configuration file and containing the target component element, and storing the display interface in an interface library.
The process generates a system interface and realizes the construction of the system interface in the interface library, and a display interface corresponding to the interface configuration file is intuitively displayed for a user in a subsequent process, so that the user can conveniently select a proper target interface configuration file, and the configuration convenience of a menu display interface is improved.
Step 203, responding to the second manipulation action of the user on the menu configuration page, and generating a menu configuration file.
The menu configuration file is used for configuring a system menu, and each menu bar in the system menu corresponds to the menu display interface.
The implementation process of this step is the same as that of step 102 in the foregoing embodiment, and will not be described here again.
And 204, extracting the display interface from the interface library for display.
The display interface corresponding to the interface configuration file is intuitively displayed for the user, so that the user can conveniently select a proper target interface configuration file, and the configuration convenience of the menu display interface is improved.
Step 205, responding to a third control action of the user on the system configuration page, and selecting a target interface configuration file from the file pool based on the menu configuration file.
The target interface configuration file is used for configuring a target menu display interface corresponding to the target menu bar.
Optionally, the third manipulation may be a selection operation of the displayed display interface, and selecting the target display interface.
And selecting an interface configuration file corresponding to the target display interface from the file pool based on the corresponding relation between the display interface and the interface configuration file generated in the previous step, and then selecting the target interface configuration file from the interface configuration files corresponding to the target display interface based on the menu configuration file.
Other implementation procedures of this step are the same as those of step 103 in the foregoing embodiment, and will not be described here again.
And 206, generating a system operation package containing the target interface configuration file and the menu configuration file.
The implementation process of this step is the same as that of step 104 in the foregoing embodiment, and will not be described here again.
In the embodiment of the application, the interface configuration file is generated in response to the control action of the user, the display interface and the menu configuration file corresponding to the interface configuration file are generated, the target interface configuration file is selected from the file pool based on the menu configuration file in response to the control action of the user under the condition that the display interface in the interface library is intuitively displayed for the user, the target menu display interface corresponding to the target menu column is configured, the system operation package containing the target interface configuration file and the menu configuration file is finally generated, the configuration operation of the interface and the menu is customized, the corresponding relation between the configuration file is established, the configuration of the display interface corresponding to the menu and the menu is realized under the condition that coding is not needed, the system operation package corresponding to the menu is further generated, the complete system is constructed, the complicated prototype design and development process are avoided, the development workload is reduced, the development efficiency is improved, and the development cost is reduced.
Further, in one embodiment, after generating the system running package including the target interface configuration file and the menu configuration file, the method further includes:
and outputting the system operation package to a target server, wherein the target server is used for deploying a target system based on the system operation package.
The process enables the use of system run packages. And deploying the generated target system to a target server through a system operation package. The target server deploys the target system locally based on the system operation package, thereby facilitating the deployment and use of the target system.
Referring to fig. 3, fig. 3 is a block diagram of a system operation package generating apparatus according to an embodiment of the present application, and for convenience of explanation, only a portion related to the embodiment of the present application is shown.
The system operation package generating device 300 includes:
the first generating module 301 is configured to generate an interface configuration file in response to a first manipulation action of a user on the interface configuration page, and store the interface configuration file in the file pool; the interface configuration file comprises interface configuration content of a display interface, wherein the interface configuration content comprises target component elements in the display interface, element arrangement information of the target component elements in the display interface and data association information of part or all of the target component elements and a setting database;
The second generating module 302 is configured to generate a menu configuration file in response to a second manipulation of the menu configuration page by the user; the menu configuration file is used for configuring a system menu; each menu bar in the system menu corresponds to a menu display interface;
the selecting module 303 is configured to respond to a third manipulation of the system configuration page by the user, and select a target interface configuration file from the file pool based on the menu configuration file, where the target interface configuration file is used to configure a target menu display interface corresponding to a target menu bar;
a third generating module 304, configured to generate a system running package including the target interface configuration file and the menu configuration file.
Optionally, the selecting module 303 is specifically configured to:
determining menu functions of a plurality of menu bars and hierarchical relations among the plurality of menu bars contained in the configured system menu based on the menu configuration file;
based on the menu functions and the hierarchical relationship, determining common display information and differential display information among menu display interfaces required by different menu bars;
determining a target file type from a plurality of set interface configuration file types of the file pool based on the common display information, wherein the interface configuration file contained in the target file type corresponds to element arrangement information of the set type;
Determining a first component element matched with each menu bar from a plurality of setting component elements based on the difference display information;
and respectively selecting the configuration file containing the matched first component element from the interface configuration files contained in the target file type as the target interface configuration file for each menu bar.
Optionally, the selecting module 303 is more specifically configured to:
determining a plurality of target menu bars at the same hierarchy from a plurality of menu bars based on the hierarchy relation;
and determining common display information and differential display information among menu display interfaces required by different target menu bars based on the menu functions of the target menu bars.
Optionally, the first generating module 301 is specifically configured to:
responding to the component selection operation of the interface configuration page by a user, and determining the target component element indicated by the first control action from a component library;
responding to the component dragging operation of the interface configuration page by a user, and determining the interface arrangement position of the target component element;
responding to the data source association operation of the user on the interface configuration page, and determining the association relation between part or all of the target component elements and the data sources in the database;
And generating the interface configuration file based on the target component element, the interface arrangement position and the association relation.
Optionally, the component selecting operation is a component description information input operation; the first generating module 301 is more specifically configured to:
responding to the component description information input operation of the user in the interface configuration page, and carrying out semantic disassembly on the component description information input by the user to obtain a disassembly result;
determining component labels matched with the component description information based on the disassembly result;
and determining the component element associated with the component tag as the target component element from the component library based on the component tag.
Optionally, the third generating module 304 is specifically configured to:
performing system interface rendering based on the target interface configuration file and the menu configuration file;
code disassembly is carried out on a target system generated after the system interface is rendered, and a front-end and back-end operation package corresponding to the target system is generated.
Optionally, the first generating module 301 is further configured to:
responding to the first control action, calling the target component element from a component library, generating the display interface corresponding to the interface configuration file and containing the target component element, and storing the display interface into an interface library;
The apparatus further comprises:
and the display module is used for extracting the display interface from the interface library for displaying.
Optionally, the apparatus further comprises:
and the fourth generation module is used for editing and generating component elements of various setting types based on the component editor to obtain a component library containing the component elements.
Optionally, the apparatus further comprises:
and the output module is used for outputting the system operation package to a target server, and the target server is used for deploying a target system based on the system operation package.
The generating device of the system operation package provided by the embodiment of the application can realize each process of the embodiment of the generating method of the system operation package, can achieve the same technical effect, and is not repeated here for avoiding repetition.
Fig. 4 is a block diagram of a computer device according to an embodiment of the present application. As shown in the figure, the computer device 4 of this embodiment includes: at least one processor 40 (only one is shown in fig. 4), a memory 41 and a computer program 42 stored in the memory 41 and executable on the at least one processor 40, the processor 40 implementing the steps in any of the various method embodiments described above when executing the computer program 42.
The computer device 4 may be a desktop computer, a notebook computer, a palm computer, a cloud server, or the like. The computer device 4 may include, but is not limited to, a processor 40, a memory 41. It will be appreciated by those skilled in the art that fig. 4 is merely an example of computer device 4 and is not intended to limit computer device 4, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., the computer device may also include input and output devices, network access devices, buses, etc.
The processor 40 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the computer device 4, such as a hard disk or a memory of the computer device 4. The memory 41 may also be an external storage device of the computer device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the computer device 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the computer device 4. The memory 41 is used for storing the computer program and other programs and data required by the computer device. The memory 41 may also be used for temporarily storing data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided by the present application, it should be understood that the disclosed apparatus/computer device and method may be implemented in other manners. For example, the apparatus/computer device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
The present application may also be implemented as a computer program product for implementing all or part of the procedures of the methods of the embodiments, which when run on a computer device causes the computer device to perform the steps of the method embodiments described above.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (10)

1. A method for generating a system operation package, comprising:
responding to a first control action of a user on an interface configuration page, generating an interface configuration file and storing the interface configuration file into a file pool; the interface configuration file comprises interface configuration content of a display interface, wherein the interface configuration content comprises target component elements in the display interface, element arrangement information of the target component elements in the display interface and data association information of part or all of the target component elements and a setting database;
Responding to a second control action of the user on the menu configuration page to generate a menu configuration file; the menu configuration file is used for configuring a system menu; each menu bar in the system menu corresponds to a menu display interface;
responding to a third control action of a user on a system configuration page, and selecting a target interface configuration file from the file pool based on the menu configuration file, wherein the target interface configuration file is used for configuring a target menu display interface corresponding to a target menu bar;
and generating a system operation package containing the target interface configuration file and the menu configuration file.
2. The method of claim 1, wherein selecting a target interface profile from the file pool based on the menu profile comprises:
determining menu functions of a plurality of menu bars and hierarchical relations among the plurality of menu bars contained in the configured system menu based on the menu configuration file;
based on the menu functions and the hierarchical relationship, determining common display information and differential display information among menu display interfaces required by different menu bars;
determining a target file type from a plurality of set interface configuration file types of the file pool based on the common display information, wherein the interface configuration file contained in the target file type corresponds to element arrangement information of the set type;
Determining a first component element matched with each menu bar from a plurality of setting component elements based on the difference display information;
and respectively selecting the configuration file containing the matched first component element from the interface configuration files contained in the target file type as the target interface configuration file for each menu bar.
3. The method of claim 2, wherein determining common display information and differential display information between menu display interfaces required for different menu bars based on the menu functions and the hierarchical relationship comprises:
determining a plurality of target menu bars at the same hierarchy from a plurality of menu bars based on the hierarchy relation;
and determining common display information and differential display information among menu display interfaces required by different target menu bars based on the menu functions of the target menu bars.
4. The method of claim 1, wherein generating the interface configuration file in response to the first manipulation of the interface configuration page by the user comprises:
responding to the component selection operation of the interface configuration page by a user, and determining the target component element indicated by the first control action from a component library;
Responding to the component dragging operation of the interface configuration page by a user, and determining the interface arrangement position of the target component element;
responding to the data source association operation of the user on the interface configuration page, and determining the association relation between part or all of the target component elements and the data sources in the database;
and generating the interface configuration file based on the target component element, the interface arrangement position and the association relation.
5. The method of claim 4, wherein the component selection operation is a component description information input operation; the responding to the component selection operation of the interface configuration page by the user, determining the target component element indicated by the first control action from a component library, and comprises the following steps:
responding to the component description information input operation of the user in the interface configuration page, and carrying out semantic disassembly on the component description information input by the user to obtain a disassembly result;
determining component labels matched with the component description information based on the disassembly result;
and determining the component element associated with the component tag as the target component element from the component library based on the component tag.
6. The method of claim 1, wherein generating a system runtime package containing the target interface profile and the menu profile comprises:
Performing system interface rendering based on the target interface configuration file and the menu configuration file;
code disassembly is carried out on a target system generated after the system interface is rendered, and a front-end and back-end operation package corresponding to the target system is generated.
7. The method as recited in claim 1, further comprising:
responding to the first control action, calling the target component element from a component library, generating the display interface corresponding to the interface configuration file and containing the target component element, and storing the display interface into an interface library;
and before the response to the third control action of the user on the system configuration page and the selection of the target interface configuration file from the file pool based on the menu configuration file, the method further comprises the following steps:
and extracting the display interface from the interface library for display.
8. A system operation package generation apparatus, comprising:
the first generation module is used for responding to a first control action of a user on the interface configuration page, generating an interface configuration file and storing the interface configuration file into the file pool; the interface configuration file comprises interface configuration content of a display interface, wherein the interface configuration content comprises target component elements in the display interface, element arrangement information of the target component elements in the display interface and data association information of part or all of the target component elements and a setting database;
The second generation module is used for responding to a second control action of the user on the menu configuration page and generating a menu configuration file; the menu configuration file is used for configuring a system menu; each menu bar in the system menu corresponds to a menu display interface;
the selection module is used for responding to a third control action of a user on the system configuration page, selecting a target interface configuration file from the file pool based on the menu configuration file, wherein the target interface configuration file is used for configuring a target menu display interface corresponding to a target menu bar;
and the third generation module is used for generating a system operation package containing the target interface configuration file and the menu configuration file.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 7.
CN202311021977.7A 2023-08-15 2023-08-15 Method and device for generating system operation package, computer equipment and storage medium Active CN116737278B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311021977.7A CN116737278B (en) 2023-08-15 2023-08-15 Method and device for generating system operation package, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311021977.7A CN116737278B (en) 2023-08-15 2023-08-15 Method and device for generating system operation package, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116737278A true CN116737278A (en) 2023-09-12
CN116737278B CN116737278B (en) 2023-12-01

Family

ID=87917274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311021977.7A Active CN116737278B (en) 2023-08-15 2023-08-15 Method and device for generating system operation package, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116737278B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425778A (en) * 2013-08-16 2013-12-04 国家电网公司 Intelligent development platform for database application system
CN108228253A (en) * 2017-12-29 2018-06-29 武汉璞华大数据技术有限公司 A kind of APP construction methods and system
CN109062567A (en) * 2018-07-09 2018-12-21 南京君度科技有限公司 Information management system quick development platform based on B/S structure
CN111611036A (en) * 2020-05-06 2020-09-01 香港乐蜜有限公司 Application menu configuration method and device, electronic equipment and storage medium
WO2021217660A1 (en) * 2020-04-30 2021-11-04 深圳中砼物联网科技有限公司 Method for realizing graphical code-free development of user interface, and computer device and storage medium
CN114995801A (en) * 2022-05-18 2022-09-02 北京寄云鼎城科技有限公司 Visual application development method and system based on Internet of things platform
CN115167728A (en) * 2022-07-28 2022-10-11 深圳奇迹智慧网络有限公司 Menu bar merging and displaying method, device and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425778A (en) * 2013-08-16 2013-12-04 国家电网公司 Intelligent development platform for database application system
CN108228253A (en) * 2017-12-29 2018-06-29 武汉璞华大数据技术有限公司 A kind of APP construction methods and system
CN109062567A (en) * 2018-07-09 2018-12-21 南京君度科技有限公司 Information management system quick development platform based on B/S structure
WO2021217660A1 (en) * 2020-04-30 2021-11-04 深圳中砼物联网科技有限公司 Method for realizing graphical code-free development of user interface, and computer device and storage medium
CN111611036A (en) * 2020-05-06 2020-09-01 香港乐蜜有限公司 Application menu configuration method and device, electronic equipment and storage medium
CN114995801A (en) * 2022-05-18 2022-09-02 北京寄云鼎城科技有限公司 Visual application development method and system based on Internet of things platform
CN115167728A (en) * 2022-07-28 2022-10-11 深圳奇迹智慧网络有限公司 Menu bar merging and displaying method, device and computer readable storage medium

Also Published As

Publication number Publication date
CN116737278B (en) 2023-12-01

Similar Documents

Publication Publication Date Title
US10067635B2 (en) Three dimensional conditional formatting
US9152529B2 (en) Systems and methods for dynamically altering a user interface based on user interface actions
US10223076B1 (en) Generating code based on user interactions with a user interface element in a code editor
EP3074863B1 (en) System and method for testing data representation for different mobile devices
US20210182948A1 (en) Product browsing method and apparatus, device and storage medium
US20090278848A1 (en) Drawing familiar graphs while system determines suitable form
KR20210040885A (en) Method and apparatus for generating information
US8245147B2 (en) System and method for reordering a user interface
US8229735B2 (en) Grammar checker for visualization
CN106557237B (en) method and terminal for selecting copy text information
CN109471626B (en) Page logic structure, page generation method, page data processing method and device
US10956470B2 (en) Facet-based query refinement based on multiple query interpretations
CN112230909A (en) Data binding method, device and equipment of small program and storage medium
CN111708528A (en) Method, device and equipment for generating small program and storage medium
CN113535165A (en) Interface generation method and device, electronic equipment and computer readable storage medium
CN110286971A (en) Processing method and system, medium and calculating equipment
US20220269380A1 (en) Method and system for structuring, displaying, and navigating information
CN116737278B (en) Method and device for generating system operation package, computer equipment and storage medium
CN109492249B (en) Rapid generation method and device of design drawing and terminal equipment
CN106681605A (en) Character selecting method and terminal
CN114629800B (en) Visual generation method, device, terminal and storage medium for industrial control network target range
CN113835835A (en) Method and device for creating consistency group and computer-readable storage medium
CN106155346A (en) A kind of generation method and apparatus of word of expressing one's feelings
CN113157964A (en) Method and device for searching data set through voice and electronic equipment
CN113703638A (en) Data management page processing method and device, electronic equipment and storage medium

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