Interface creating method and platform based on XML document description

An interface generation and document generation technology, applied in the direction of program control devices, etc., can solve the problems of low system maintainability and scalability, low system development efficiency, low reusability, etc., to improve maintainability and scalability. The effect of scalability, improving system development efficiency, and improving reusability

Inactive Publication Date: 2008-12-31
BEIHANG UNIV
View PDF0 Cites 79 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For each new interface request, a set of interface logic needs to be rewritten, the reusability of existing work is very low, and the system ne

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
  • Interface creating method and platform based on XML document description
  • Interface creating method and platform based on XML document description
  • Interface creating method and platform based on XML document description

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The present invention will be further described in detail with reference to the accompanying drawings and embodiments.

[0045] An interface generation platform based on XML document description, such as figure 1 As shown, it includes a style document generating module 1, a data driving module 2, an interface generating engine 3, a style document parsing module 4 and an interface request mapping file 5. The style document generation module 1 generates a style description document 101 according to requirements. The data driver module 2 searches the data resource 6 for the corresponding data resource according to the control information of the style document generation module 1, and returns the interface control information to the style document generation module 1 in the file format corresponding to the original data resource. The interface generation engine 3 generates the final interface 301 by calling the SWT control set 302 according to the style model tree 401 and ...

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 provides an interface generating method and a platform based on the description of an XML document; the method comprises the following steps: an interface generating engine searches a composed interface request mapping file; a memory address of a description document of styles is obtained and the description document of styles is searched; a style document analytic module is called so as to generate a corresponding style model tree; the interface layout is set according to the attribute of root nodes of the style model tree and is traversed in a mode of depth-first; a reflection mechanism and a script mode are adopted to generate an executing code of the event of a sound monitor of an interface control corresponding to leaf nodes of the model tree, thus generating the interface control and forming the final interface; by adopting the style model cache interface style description document, the times of document reading of the interface generating engine are reduced and the executing efficiency of the interface generating engine is improved; the interface features in the specific application background are analyzed, and a module document which reflects the requirement of the common interface is composed in advance; by introducing the module document, the reusability of the existing work is improved and the workload of a secondary development period is reduced.

Description

technical field [0001] The invention belongs to the field of computer applications, and relates to an interface generation method and platform, in particular to an interface generation method and platform based on XML document description. Background technique [0002] With the continuous development of computer technology, interactive interface generation technology has attracted more and more attention. Reflection technology provides a method for programs to dynamically obtain and maintain class information and call methods of class objects in the runtime environment. The current mainstream programming languages ​​support reflection technology. For example, the java.lang.reflect package in the Java language encapsulates several APIs. Through these APIs, classes unknown to the program during compilation can be loaded and used at runtime. Because the reflection technology has the characteristic that it does not need to compile the target class in advance, it can be used to ...

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
IPC IPC(8): G06F9/44
Inventor 李先军郑雯余丹李重文马世龙
Owner BEIHANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products