CN105677371A - Method and system for quickly generating software interface - Google Patents
Method and system for quickly generating software interface Download PDFInfo
- Publication number
- CN105677371A CN105677371A CN201610157950.4A CN201610157950A CN105677371A CN 105677371 A CN105677371 A CN 105677371A CN 201610157950 A CN201610157950 A CN 201610157950A CN 105677371 A CN105677371 A CN 105677371A
- Authority
- CN
- China
- Prior art keywords
- function
- sub
- module
- interface
- modules
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 230000006870 function Effects 0.000 claims description 41
- 230000009471 action Effects 0.000 claims description 4
- 238000011161 development Methods 0.000 description 6
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 description 6
- 238000012423 maintenance Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000008570 general process Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Digital Computer Display Output (AREA)
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
The invention belongs to the field of computer software design, and particularly relates to a method and a system for quickly generating a software interface.
Background
The main function of the intranet safety control end software is to issue strategies and data statistics to the client.
The strategies are divided into two categories:
1. the strategy of no parameter: it includes the name of the policy, the execution period (during which time period this policy is executed), whether offline is supported (whether the policy is to be executed after the client is offline) and whether four elements are enabled
2. The strategy of participation: it includes the name of the policy, the execution period, whether to support offline, whether to enable policy parameters,
for example, in the policy of black and white list of web sites, the policy parameters include the black list or white list of web sites.
The elements displayed by the interface of the 'no-parameter strategy' are the same, and the 'parameter strategies' are different and all comprise the display elements of the interface of the 'no-parameter strategy'.
For the convenience of users, everyone can classify these interfaces according to categories, for example, three policy interfaces of "forbid sharing", "forbid installation procedure" and "forbid addition of users" are classified as "terminal security", i.e. we can also regard "terminal security" as a functional module, and the functional module includes three sub-functions of "forbid sharing", "forbid installation procedure" and "forbid addition of users".
Customers always have various requirements, and the customers can use the functions according to specific actual requirements, and can also put forward some improvement requirements, for example, sub-functions under some function modules are not needed by the customers, and the display is not required to be provided; also for example, as the frequency of use of certain functions varies, they wish to adjust the order of display of the lower interfaces to facilitate their use. These two columns can be said to be requirements that customers will often make. It is now common practice to make a "transcript" for a customer to meet their specific interface requirements if the customer makes such a request, and the general process is to make the customer request, feed back from the market sector, then develop and make the corresponding "special edition", then test, and finally provide the "special edition" to the customer.
In the conventional interface development mode, although the code is clear, the pertinence is strong, and interfaces with pertinence and different styles can be written at will, the interface development method has a plurality of defects on the development of large-scale software:
1. development efforts are large and each interface is written from scratch, including the writing and layout of interface elements, even though the appearances of the interfaces are similar.
2. The code maintenance cost is high, for example, if a certain interface is hidden or the display sequence of the interface is changed, the code file of each interface is also modified, and if a client needs to add a new function, the related interface is almost written from the beginning. The workload may be burdensome.
"proprietary" programs are voluminous and ultimately difficult to maintain.
Disclosure of Invention
The technical problem to be solved by the invention is to use the least code to generate the strategy interface quickly and simultaneously meet the special requirements of the group of users on the interface display.
The technical scheme adopted by the invention for solving the technical problems is as follows:
a method for quickly generating a software interface comprises the following steps:
step 1: modularly dividing UI interfaces, wherein different UI interfaces are created and managed by corresponding management modules (modulewidgets), wherein each UI interface is provided with a necessary basic function interface by a sub-function management module (featurewidget), and the management module (modulewidget) is responsible for creating and displaying the sub-function management modules (featurewidgets) according to a specified mode;
step 2: forming corresponding module and sub-function module configuration files according to the software interface, wherein the corresponding module and sub-function module configuration files follow the JSON standard format and comprise description information of the function modules and the sub-function modules;
the description information of the sub-function module comprises display Order (Order) fields of the sub-function interfaces in all sub-function interface sequences under the management module and interface description information (Feature) fields of the sub-function interfaces;
and step 3: and reading the module and the sub-function configuration file, and finally realizing the drawing of the software interface according to the configuration file.
Preferably, the step 3 specifically includes the following sub-steps:
31) generating an interface structure body of a management module and an interface structure body example of a subfunction according to the module and subfunction configuration files, and caching;
32) creating a corresponding QMODWidget window class instance for each management module structure instance, and transmitting a corresponding management module interface structure (CMod) into the QMODWidget window class instance;
when initializing, the QModWidget instance creates and initializes a corresponding QFeatureWidget window class instance or a window class instance inherited from the QFeatureWidget for each sub-function interface instance under the module, and also needs to transmit a corresponding sub-function interface structure (CFeature), wherein if there are multiple QFeatureWidget window class instances under the QModWidget instance, the QModWidget creates a Tab page control responsible for managing the switching of the QFeatureWidget windows, and the display sequence corresponds to the sequence of the sub-function interface structures (CFeature), which is defined by the above modules and the description information of the sub-function modules in the sub-function configuration file.
Preferably, after the step 32), further comprising:
33) and generating a toolbar QMODToolBar class example for switching different management modules, wherein each button in the toolbar displays a module name and a corresponding display sequence, and the button display module name and the corresponding display sequence are defined by the description information of the above modules and the function modules in the sub-function configuration file.
Preferably, after step 33), the method further comprises:
34) and generating a QMODContainer window class instance which is responsible for managing all QMODWidget instances, wherein the sequence number under the management module with the minimum default display sequence number is also the minimum sub-function interface, and the QMODContainer is communicated with the QMODToolBar, and when the toolbar switches the module, the QMODToolBar informs the QMODContainer window class instance to complete the specific switching action.
Preferably, the QFeatureWidget class example provides two virtual functions of onactive and onLeave, each sub-function window class of the QFeatureWidget class reloads the two virtual functions, and when the window is switched, the framework automatically invokes the two virtual functions of the sub-function window, thereby realizing the switching of the module or the sub-function interface.
Preferably, the hiding of the management module and the sub-function management module is realized by deleting an interface description information (Feature) field in the module and sub-function configuration file.
Preferably, the display Order between the modules is changed by changing the display Order (Order) fields in the modules and sub-function configuration files.
A software interface rapid generation system, comprising:
the system comprises a module setting unit, a management unit and a sub-function management unit, wherein the module setting unit is used for modularly dividing UI interfaces, different UI interfaces are created and managed by corresponding management modules (modulewidges), a sub-function management module (featurewidget) provides a basic function interface which is necessary for each UI interface, and the management module (modulewidge) is responsible for creating and displaying the sub-function management modules (featurewidgets) according to a specified mode;
the configuration file setting unit is used for forming corresponding module and sub-function module configuration files according to the software interface, conforms to the standard format of JSON and comprises description information of the function modules and the sub-function modules;
the description information of the sub-function module comprises display Order (Order) fields of the sub-function interfaces in all sub-function interface sequences under the management module and interface description information (Feature) fields of the sub-function interfaces;
and the drawing unit is used for reading the module and the sub-function configuration file and finally realizing the drawing of the software interface according to the configuration file.
After the scheme is adopted, the code file does not need to be written for each interface, and only the UI interface is automatically generated according to the JSON configuration file and displayed in a designated mode, so that the method is quick and efficient, and the code maintenance amount is small.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The present invention will be described in detail below with reference to the accompanying drawings so that the above advantages of the present invention will be more apparent. Wherein,
FIG. 1 is a schematic flow chart of a method for rapidly generating a software interface according to the present invention;
FIG. 2 is a schematic diagram of an embodiment of a method for rapid generation of a software interface according to the present invention;
FIG. 3 is a schematic structural diagram of the software interface rapid generation system of the present invention.
Detailed Description
The following detailed description of the embodiments of the present invention will be provided with reference to the drawings and examples, so that how to apply the technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented. It should be noted that, as long as there is no conflict, the embodiments and the features of the embodiments of the present invention may be combined with each other, and the technical solutions formed are within the scope of the present invention.
The following explains the english abbreviations to which the present invention relates:
QT: a development framework for cross-platform C + + graphical user interface applications developed by the fancy technology in 1991.
Json JSON (JavaScriptObjectNotation) is a lightweight data exchange format. It is based on a subset of ECMAScript. JSON employs a text format that is completely language independent, but also uses conventions similar to the C language family (including C, C + +, C #, Java, JavaScript, Perl, Python, etc.). These properties make JSON an ideal data exchange language.
FUIGF: and the quick UI interface generation framework is used for quickly generating the UI interface according to the JSON configuration file.
Special edition: and according to the special requirements of each user, making a modified program on the standard edition program.
A functional module: and the interfaces are used for managing the same type of policy interfaces.
Subfunction: an interface for presenting and setting a policy.
The first embodiment is as follows:
as shown in FIG. 1, the invention discloses a method for quickly generating a software interface, which comprises the following steps:
step 1: modularly dividing UI interfaces, wherein different UI interfaces are created and managed by corresponding management modules (modulewidgets), wherein each UI interface is provided with a necessary basic function interface by a sub-function management module (featurewidget), and the management module (modulewidget) is responsible for creating and displaying the sub-function management modules (featurewidgets) according to a specified mode;
step 2: forming corresponding module and sub-function module configuration files according to the software interface, wherein the corresponding module and sub-function module configuration files follow the JSON standard format and comprise description information of the function modules and the sub-function modules;
the description information of the sub-function module comprises display Order (Order) fields of the sub-function interfaces in all sub-function interface sequences under the management module and interface description information (Feature) fields of the sub-function interfaces;
and step 3: and reading the module and the sub-function configuration file, and finally realizing the drawing of the software interface according to the configuration file.
Namely, the invention mainly adopts a modularized thought, and sequentially draws the configuration files based on the JSON format to realize the rapid generation of the software interface, does not need to compile code files for each interface, only needs to automatically generate the UI interface according to the JSON configuration files and display the UI interface according to a specified mode, and has the advantages of rapidness, high efficiency and less code maintenance amount.
Example two:
the specific steps of the above embodiment are described with reference to this embodiment, wherein specifically, when performing rendering, the following sub-steps are specifically included:
31) generating an interface structure body of a management module and an interface structure body example of a subfunction according to the module and subfunction configuration files, and caching;
32) creating a corresponding QMODWidget window class instance for each management module structure instance, and transmitting a corresponding management module interface structure (CMod) into the QMODWidget window class instance;
when initializing, the QModWidget instance creates and initializes a corresponding QFeatureWidget window class instance or a window class instance inherited from the QFeatureWidget for each sub-function interface instance under the module, and also needs to transmit a corresponding sub-function interface structure (CFeature), wherein if there are multiple QFeatureWidget window class instances under the QModWidget instance, the QModWidget creates a Tab page control responsible for managing the switching of the QFeatureWidget windows, and the display sequence corresponds to the sequence of the sub-function interface structures (CFeature), which is defined by the above modules and the description information of the sub-function modules in the sub-function configuration file.
33) And generating a toolbar QMODToolBar class example for switching different management modules, wherein each button in the toolbar displays a module name and a corresponding display sequence, and the button display module name and the corresponding display sequence are defined by the description information of the above modules and the function modules in the sub-function configuration file.
34) And generating a QMODContainer window class instance which is responsible for managing all QMODWidget instances, wherein the sequence number under the management module with the minimum default display sequence number is also the minimum sub-function interface, and the QMODContainer is communicated with the QMODToolBar, and when the toolbar switches the module, the QMODToolBar informs the QMODContainer window class instance to complete the specific switching action.
Moreover, the QFeatureWidget type example provides two virtual functions of onactive and onLeave, each subfunction window type of the QFeatureWidget type reloads the two functions, and when the window is switched, the framework can automatically transfer the two functions of the subfunction window, thereby realizing the switching of the module or the subfunction interface.
Example three:
to explain further, as shown in fig. 2, wherein in this example, the interface framework involved in this example is denoted by "FUIGF", which was developed using the QT technique.
It further comprises:
step 1: the UI interfaces are divided in a modularization mode, namely different UI interfaces are created and managed by corresponding management modules, the management modules are called 'modulewidges', and subfunctions under the modules are called 'featurewidgets'. "featurewidget" provides the basic functional interface that each UI interface must have, and "modelwidget" is responsible for creating and displaying "featurewidget" in a specified manner.
The framework knows which modules are available, which interfaces are contained under each module, and the display order of the modules and the interfaces is controlled by a json file.
1.featurewidget
2.modulewidget
A QModToolBar class, implementing a toolbar for switching between different "modulewidges".
JSON configuration file format (for example):
the above example is a module and sub-function module configuration file, which follows JSON standard format and thus can be made platform independent. The file totally describes three function modules (modulewidges), namely three English words of 'homepage', 'devmgr' and 'policycenter', which are unique character codes (module names) of the three modules, and each module describes information of a plurality of sub-functions (features); wherein "homepage", "forbidbluetool" and "forbidwpd" are unique character encodings (sub-function names) of the sub-function interfaces.
And, the module description information:
order: the serial number of the module in the module sequence starts with 0, and the display sequence of the module is controlled by the serial number
Desc: description of this Module for interface display (support for internationalization)
Features: sub-function interface description information under the module:
order: the sequence numbers of the sub-function interfaces in all the sub-function interfaces in the management module are started with 0, and the display sequence of the sub-function interfaces is controlled by the sequence numbers
1, Desc: description of sub-functional interfaces for interface display (supporting internationalization)
The framework initialization process comprises the following steps:
1) and reading the JOSN configuration file to generate a management module and a sub-function interface structure body example and caching the management module and the sub-function interface structure body example.
Subfunctional interface architecture:
managing the modular structure:
2) and (3) creating and initializing a corresponding QMODWidget window class instance for each management module structure instance, and transmitting a corresponding CMod structure instance in the process.
3) When the QModWidget instance is initialized, a corresponding QFeatureWidget window class instance (or a window class instance inherited from the QFeatureWidget) is created and initialized for each sub-function interface instance under the module, and a corresponding CFeature structure instance is also required to be imported. If there are multiple QFeatureWidget window class instances under the QModWidget instance, the QModWidget will automatically create a Tab page control responsible for managing the switching of these QFeatureWidget windows, and the display order corresponds to m _ order in CFeature, which is taken from the "order" field of the subfunction description in json file.
4) A toolbar QModToolBar class instance is generated for switching before the different management modules, each button in the toolbar showing the module name defined by m _ strDesc in the CMod struct, taken from the "desc" field in the json file, the button display order of the toolbar corresponding to m _ order in the CMod struct, taken from the "order" field described by the module in the json file.
5) After the framework is initialized, one QMODContainer window class instance is responsible for managing all QMODWidget instances. And the sequence number under the management module with the minimum default display sequence number is also the minimum sub-function interface. When the QModToolBar toolbar switches the module, the QModContainer window class instance is notified, which completes the specific switching action.
Furthermore, as mentioned above, each sub-function window is an instance of the QFatureWidget subclass. The QFaacturetWidget base class provides two virtual functions of onActivate and onLeave, each sub-function window class of the QFaactuedWidget base class needs to reload the two functions, and when the window is switched, the framework can automatically transfer the two functions of the sub-function window.
The workflow of the method is that the initial state displays the A window by default, at the moment, the frame firstly calls an onactive function of the A window before the A window is displayed, when the A window is switched to the B window, the frame firstly hides the A window, then calls an onLeave function of the A window, then immediately calls an onactive function of the B window, and finally displays the B window. The onActivate function can be used as a creation work of the resource before the window is displayed, and the onLeave function can be used as a destruction work of the resource after the window is hidden.
In addition, when the module is hidden or the display sequence of the module is changed, the method comprises the following steps:
1) hiding the module: for example, to hide the peripheral management module, all descriptions for peripheral management by "desc" need to be deleted in the json file.
2) Changing the display sequence of the modules: it is only necessary to change the sequence number of the 'order' field under the module, and the sequence number is smaller and displayed more forward.
In addition, the display sequence of hiding the sub-function interface or changing the sub-function interface can be realized:
1) hiding the subfunction interface: for example, to hide the bluetooth disabled subfunction interface under peripheral management, only "forbidBluetool" { "order":0, "desc": bluetooth disabled "," standard ":1}, and" this deletion may be used.
2) And changing the display sequence of the sub-function interfaces: it is sufficient to change the sequence number of the "order" field under the subfunction, the smaller the sequence number, the more forward in the Tab page is displayed.
Compared with the prior interface development mode, the invention has the following two advantages:
1 management of functions and modules is very flexible, and can dynamically increase and decrease pages, adjust the relative order of function interfaces, and move a function from one module to another.
2, the maintenance cost of the code is extremely low, the addition and the reduction of a strategy page are very easy, if the strategy is a non-parameter strategy, no code change is needed, and only a parameter configuration page needs to be realized if the strategy is a parameter configuration strategy.
Example four:
corresponding to the above method embodiment, as shown in fig. 3, the present invention further provides a software interface rapid generation system, which is characterized by comprising:
the system comprises a module setting unit, a management unit and a sub-function management unit, wherein the module setting unit is used for modularly dividing UI interfaces, different UI interfaces are created and managed by corresponding management modules (modulewidges), a sub-function management module (featurewidget) provides a basic function interface which is necessary for each UI interface, and the management module (modulewidge) is responsible for creating and displaying the sub-function management modules (featurewidgets) according to a specified mode;
the configuration file setting unit is used for forming corresponding module and sub-function module configuration files according to the software interface, conforms to the standard format of JSON and comprises description information of the function modules and the sub-function modules;
the description information of the sub-function module comprises display Order (Order) fields of the sub-function interfaces in all sub-function interface sequences under the management module and interface description information (Feature) fields of the sub-function interfaces;
and the drawing unit is used for reading the module and the sub-function configuration file and finally realizing the drawing of the software interface according to the configuration file.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (8)
1. A method for quickly generating a software interface is characterized by comprising the following steps:
step 1: modularly dividing UI interfaces, wherein different UI interfaces are created and managed by corresponding management modules (modulewidgets), wherein each UI interface is provided with a necessary basic function interface by a sub-function management module (featurewidget), and the management module (modulewidget) is responsible for creating and displaying the sub-function management modules (featurewidgets) according to a specified mode;
step 2: forming corresponding module and sub-function module configuration files according to the software interface, wherein the corresponding module and sub-function module configuration files follow the JSON standard format and comprise description information of the function modules and the sub-function modules;
the description information of the sub-function module comprises display Order (Order) fields of the sub-function interfaces in all sub-function interface sequences under the management module and interface description information (Feature) fields of the sub-function interfaces;
and step 3: and reading the module and the sub-function configuration file, and finally realizing the drawing of the software interface according to the configuration file.
2. The method for rapidly generating the software interface according to claim 1, wherein the step 3 specifically comprises the following substeps:
31) generating an interface structure body of a management module and an interface structure body example of a subfunction according to the module and subfunction configuration files, and caching;
32) creating a corresponding QMODWidget window class instance for each management module structure instance, and transmitting a corresponding management module interface structure (CMod) into the QMODWidget window class instance;
when initializing, the QModWidget instance creates and initializes a corresponding QFeatureWidget window class instance or a window class instance inherited from the QFeatureWidget for each sub-function interface instance under the module, and also needs to transmit a corresponding sub-function interface structure (CFeature), wherein if there are multiple QFeatureWidget window class instances under the QModWidget instance, the QModWidget creates a Tab page control responsible for managing the switching of the QFeatureWidget windows, and the display sequence corresponds to the sequence of the sub-function interface structures (CFeature), which is defined by the above modules and the description information of the sub-function modules in the sub-function configuration file.
3. The method for rapidly generating the software interface according to claim 2, further comprising, after the step 32):
33) and generating a toolbar QMODToolBar class example for switching different management modules, wherein each button in the toolbar displays a module name and a corresponding display sequence, and the button display module name and the corresponding display sequence are defined by the description information of the above modules and the function modules in the sub-function configuration file.
4. The method for rapidly generating the software interface according to claim 3, further comprising, after the step 33):
34) and generating a QMODContainer window class instance which is responsible for managing all QMODWidget instances, wherein the sequence number under the management module with the minimum default display sequence number is also the minimum sub-function interface, and the QMODContainer is communicated with the QMODToolBar, and when the toolbar switches the module, the QMODToolBar informs the QMODContainer window class instance to complete the specific switching action.
5. The method for rapidly generating a software interface according to claim 3, wherein the QFeatureWidget instance provides two virtual functions of onactive and onLeave, each of its sub-function window classes reloads the two functions, and when a window is switched, the framework automatically invokes the two functions of the sub-function window, thereby implementing the switching of the module or sub-function interface.
6. The method for rapidly generating the software interface according to claim 1, wherein the hiding of the management module and the sub-function management module is realized by deleting the module and the interface description information (Feature) field in the sub-function configuration file.
7. The method for rapidly generating the software interface according to claim 1, wherein the display sequence between the modules is changed by changing the display sequence (Order) fields in the modules and the sub-function configuration files.
8. A software interface rapid generation system is characterized by comprising:
the system comprises a module setting unit, a management unit and a sub-function management unit, wherein the module setting unit is used for modularly dividing UI interfaces, different UI interfaces are created and managed by corresponding management modules (modulewidges), a sub-function management module (featurewidget) provides a basic function interface which is necessary for each UI interface, and the management module (modulewidge) is responsible for creating and displaying the sub-function management modules (featurewidgets) according to a specified mode;
the configuration file setting unit is used for forming corresponding module and sub-function module configuration files according to the software interface, conforms to the standard format of JSON and comprises description information of the function modules and the sub-function modules;
the description information of the sub-function module comprises display Order (Order) fields of the sub-function interfaces in all sub-function interface sequences under the management module and interface description information (Feature) fields of the sub-function interfaces;
and the drawing unit is used for reading the module and the sub-function configuration file and finally realizing the drawing of the software interface according to the configuration file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610157950.4A CN105677371B (en) | 2016-03-18 | 2016-03-18 | Method and system for quickly generating software interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610157950.4A CN105677371B (en) | 2016-03-18 | 2016-03-18 | Method and system for quickly generating software interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105677371A true CN105677371A (en) | 2016-06-15 |
CN105677371B CN105677371B (en) | 2020-05-19 |
Family
ID=56311108
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610157950.4A Active CN105677371B (en) | 2016-03-18 | 2016-03-18 | Method and system for quickly generating software interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105677371B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104598235A (en) * | 2015-01-14 | 2015-05-06 | 中国南方电网有限责任公司 | Method and system for displaying team working interface of power management system |
CN106201458A (en) * | 2016-06-27 | 2016-12-07 | 上海波汇科技股份有限公司 | A kind of interface creating method can joined flexibly and system |
CN106557314A (en) * | 2016-10-19 | 2017-04-05 | 深圳智慧林网络科技有限公司 | Applied software development method and device |
CN108538379A (en) * | 2017-12-29 | 2018-09-14 | 上海联影医疗科技有限公司 | The processing method of parameter and magnetic resonance parameters card interface in magnetic resonance parameters card |
CN109189387A (en) * | 2018-08-01 | 2019-01-11 | 广州南方智能技术有限公司 | A kind of method and system of the GNSS data processing based on QT component |
CN109521354A (en) * | 2017-07-05 | 2019-03-26 | 是德科技股份有限公司 | Method, its measuring system and its computer readable recording medium of creation program for measuring system |
CN109634695A (en) * | 2017-10-09 | 2019-04-16 | 武汉斗鱼网络科技有限公司 | A kind of method and device of the interface SDK automatic adaptation software horizontal/vertical screen |
CN111061477A (en) * | 2019-11-19 | 2020-04-24 | 腾讯科技(深圳)有限公司 | Menu generation method, device, equipment and medium based on SPSS application program |
CN112069007A (en) * | 2020-08-31 | 2020-12-11 | 武汉市豪迈电力自动化技术有限责任公司 | QML (quality metric language) -based implementation method and device of handheld universal test system |
CN114706585A (en) * | 2022-06-06 | 2022-07-05 | 深圳市星卡软件技术开发有限公司 | System, method and computer device for dynamically generating UI page based on diagnosis data |
CN114879882A (en) * | 2022-05-24 | 2022-08-09 | 上海合见工业软件集团有限公司 | Software menu system based on JSON configuration |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104007967A (en) * | 2014-05-21 | 2014-08-27 | 广州华多网络科技有限公司 | User interface generation method and device based on xml |
CN104484171A (en) * | 2014-12-11 | 2015-04-01 | 深圳市路通网络技术有限公司 | System, method and associated equipment for designing terminal interface |
US20150370538A1 (en) * | 2014-06-18 | 2015-12-24 | Vmware, Inc. | Html5 graph layout for application topology |
-
2016
- 2016-03-18 CN CN201610157950.4A patent/CN105677371B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104007967A (en) * | 2014-05-21 | 2014-08-27 | 广州华多网络科技有限公司 | User interface generation method and device based on xml |
US20150370538A1 (en) * | 2014-06-18 | 2015-12-24 | Vmware, Inc. | Html5 graph layout for application topology |
CN104484171A (en) * | 2014-12-11 | 2015-04-01 | 深圳市路通网络技术有限公司 | System, method and associated equipment for designing terminal interface |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104598235A (en) * | 2015-01-14 | 2015-05-06 | 中国南方电网有限责任公司 | Method and system for displaying team working interface of power management system |
CN104598235B (en) * | 2015-01-14 | 2018-03-16 | 中国南方电网有限责任公司 | Electric power management system teams and groups working interface display methods and system |
CN106201458A (en) * | 2016-06-27 | 2016-12-07 | 上海波汇科技股份有限公司 | A kind of interface creating method can joined flexibly and system |
CN106557314A (en) * | 2016-10-19 | 2017-04-05 | 深圳智慧林网络科技有限公司 | Applied software development method and device |
CN109521354A (en) * | 2017-07-05 | 2019-03-26 | 是德科技股份有限公司 | Method, its measuring system and its computer readable recording medium of creation program for measuring system |
CN109521354B (en) * | 2017-07-05 | 2022-09-02 | 是德科技股份有限公司 | Method for creating a program for a measuring system |
CN109634695A (en) * | 2017-10-09 | 2019-04-16 | 武汉斗鱼网络科技有限公司 | A kind of method and device of the interface SDK automatic adaptation software horizontal/vertical screen |
CN108538379A (en) * | 2017-12-29 | 2018-09-14 | 上海联影医疗科技有限公司 | The processing method of parameter and magnetic resonance parameters card interface in magnetic resonance parameters card |
CN109189387A (en) * | 2018-08-01 | 2019-01-11 | 广州南方智能技术有限公司 | A kind of method and system of the GNSS data processing based on QT component |
CN111061477A (en) * | 2019-11-19 | 2020-04-24 | 腾讯科技(深圳)有限公司 | Menu generation method, device, equipment and medium based on SPSS application program |
CN112069007A (en) * | 2020-08-31 | 2020-12-11 | 武汉市豪迈电力自动化技术有限责任公司 | QML (quality metric language) -based implementation method and device of handheld universal test system |
CN114879882A (en) * | 2022-05-24 | 2022-08-09 | 上海合见工业软件集团有限公司 | Software menu system based on JSON configuration |
CN114706585A (en) * | 2022-06-06 | 2022-07-05 | 深圳市星卡软件技术开发有限公司 | System, method and computer device for dynamically generating UI page based on diagnosis data |
CN114706585B (en) * | 2022-06-06 | 2022-09-02 | 深圳市星卡软件技术开发有限公司 | System, method and computer device for dynamically generating UI page based on diagnosis data |
Also Published As
Publication number | Publication date |
---|---|
CN105677371B (en) | 2020-05-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105677371B (en) | Method and system for quickly generating software interface | |
Smith et al. | Groupbar: The taskbar evolved | |
US6493006B1 (en) | Graphical user interface having contextual menus | |
US5764226A (en) | Reusable and modifiable data entry interface part | |
US8365086B2 (en) | System and method for building graphical instrument panels | |
US20100146431A1 (en) | Object picker with window splitter | |
US20120117470A1 (en) | Learning Tool for a Ribbon-Shaped User Interface | |
KR101512010B1 (en) | Combining interfaces of shell applications and sub-applications | |
US9122763B2 (en) | Consistent web application presentation | |
KR20120026053A (en) | Hierarchically-organized control galleries | |
US20140063071A1 (en) | Applying enhancements to visual content | |
CN103645906A (en) | Method and system for realizing interface re-layout based on fixed interface layout document | |
CN112445564A (en) | Interface display method, electronic device and computer readable storage medium | |
CN103019840A (en) | Method and device for setting desktop | |
US8707196B2 (en) | Dynamic, set driven, ribbon, supporting deep merge | |
Manca et al. | Customizable dynamic user interface distribution | |
Dixon et al. | Pixel-based methods for widget state and style in a runtime implementation of sliding widgets | |
CN102662662A (en) | Embedded graphics interface generation system and method | |
CN107025040A (en) | Display and setting method, system and graphic user interface based on OLED screen curtain | |
CN112445501A (en) | Data burning method and device and computer readable storage medium | |
CN102236510B (en) | A kind of method and apparatus utilizing super taskbar to control instant communication software | |
Meng et al. | WADE: simplified GUI add-on development for third-party software | |
CN110187881B (en) | Special-shaped window creation method, system, device and computer storage medium | |
CN111142738A (en) | Option card type viewer system and method suitable for visual station building management | |
WO2019119401A1 (en) | Osd-based gui design method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 | ||
PP01 | Preservation of patent right |
Effective date of registration: 20231113 Granted publication date: 20200519 |
|
PP01 | Preservation of patent right |