Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for quickly generating software interface

A software interface and interface technology, applied in software engineering design, instruments, calculations, etc., can solve the problems of high code maintenance cost, heavy workload, and "huge number of programs" to achieve the effect of less code maintenance

Active Publication Date: 2020-05-19
山东华软金盾软件股份有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] 1. The development workload is heavy, and each interface has to be written from scratch, including the writing and layout of interface elements, even if the appearance of these interfaces is very similar
[0012] 2. The cost of code maintenance is high. For example, if you want to hide a certain interface or change the display order of the interface, you also need to modify the code file of each interface. If the customer needs to add a new function, the related interface needs to be written almost from scratch
heavy workload
[0013] 3. The number of "special version" programs is huge, and it is ultimately difficult to maintain

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for quickly generating software interface
  • Method and system for quickly generating software interface
  • Method and system for quickly generating software interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] Such as figure 1 As shown, the present invention discloses a method for quickly generating a software interface, the steps comprising:

[0053] Step 1: Divide the UI interface into modules. Different UI interfaces are created and managed by corresponding management modules (module widgets). Among them, the sub-function management module (feature widget) provides the functional interface of each UI interface, and the management module (module widget) is responsible for creating and displaying the sub-function management module (featurewidget) according to the specified method;

[0054] Step 2: Form the corresponding module and sub-function module configuration file according to the software interface, which follows the JSON standard format, which includes the description information of the function module and sub-function module;

[0055] Wherein, the description information of the function module includes the display order (Order) field of the module interface in the m...

Embodiment 2

[0059] The specific steps of the above embodiments are described in conjunction with this embodiment, wherein, specifically, when drawing, the following sub-steps are specifically included:

[0060] 31) According to the configuration files of the above modules and sub-function modules, generate the management module interface structure and sub-function interface structure instances, and cache them;

[0061] 32) Create a corresponding QModWidget window class instance for each management module interface structure instance, and import the corresponding management module interface structure (CMod) here;

[0062] Among them, when the QModWidget instance is initialized, a corresponding QFeatureWidget window class instance or a window class instance inherited from QFeatureWidget is created and initialized for each sub-function interface structure instance under this module, and the corresponding sub-function interface structure must also be Body (CFeature) is passed in, among them, ...

Embodiment 3

[0067] To further explain, as figure 2 As shown, wherein, in this embodiment, "FUIGF" represents the interface framework involved in this embodiment, which is developed using QT technology.

[0068] It further includes:

[0069] Step 1: Divide the UI interface into modules, that is, different UI interfaces are created and managed by corresponding management modules. The management module is called "module widget", and the sub-functions under the module are called "feature widgets". The "feature widget" provides the basic functional interface that every UI interface must have, and the "module widget" is responsible for creating and displaying the "feature widget" according to the specified method.

[0070] The framework uses a json file to know which modules there are and which interfaces are contained under each module, and the display order of these modules and interfaces is also controlled by the json file.

[0071] 1. feature widget

[0072]

[0073]

[0074] 2. m...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for quickly generating a software interface. The method comprises the following steps of 1, dividing UIs (user interface) in a modularizing way, and creating and managing the different UIs by a corresponding management module (module widget); 2, according to the software interfaces, forming configuration documents of a corresponding function module and a subfunction module in a standard format of JSON (JavaScript Object Notation), wherein the configuration documents comprise description information of the function module and the subfunction module, the description information of the function module comprises a display order (Order) field of the module interface in a module sequence, a display description (Feature) field of the module interface and a subfunction interface description information (Feature) field of the module, and the description information of the subfunction module comprises a display order (Order) field of the subfunction interface in all function interface sequences of the management module, and an interface description information (Feature) field of the subfunction interface; 3, reading the configuration documents of the function module and the subfunction module, and finally drawing the software interface according to the configuration documents.

Description

technical field [0001] The invention belongs to the field of computer software design, and in particular relates to a method and system for quickly generating a software interface. Background technique [0002] The main function of the intranet security control software is to deliver policies and statistics to clients. [0003] There are two strategies: [0004] 1. No-parameter strategy: it includes the name of the strategy, the execution cycle (the time period in which this strategy is executed), whether to support offline (whether the strategy will be executed after the client goes offline) and whether to enable four elements [0005] 2. Participating strategy: it includes the name of the strategy, execution cycle, whether to support offline, whether to enable and strategy parameters, [0006] For example, in the policy of website black and white list, the policy parameters include the blacklist or whitelist of URLs. [0007] The elements displayed on the “No Parameter ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/38
CPCG06F8/38
Inventor 张帅吴永
Owner 山东华软金盾软件股份有限公司