Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Device and method for generating interface based on description

An interface generation and interface technology, applied in the computer field, can solve problems such as burden, unfavorable work efficiency of programming developers, and improvement, and achieve the effect of reducing the amount of code, improving development efficiency, and reducing code.

Active Publication Date: 2011-11-02
安徽太湖画里天华实业有限公司
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that the method for generating the interface in the prior art needs to write a large amount of codes, which is not conducive to the improvement of the work efficiency of programming developers
Especially when developing multiple interfaces, the writing of a large number of codes has brought a heavy burden to programming developers

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0011] The device for generating a description-based interface in this specific embodiment includes an interpreter and a definition file.

[0012] The definition file includes descriptions of the names of the parameters in the target interface, data sources, dependencies and query conditions. The description language in the definition file is XML language, which can better support network query. Certainly, the description language may also be one of C language, C++ language, and JAVA language. The definition file includes a template statement section, which describes the name, data source, dependency relationship and query condition of the parameter whose attribute content is empty. The template statement section is copied to generate each statement section, and the value is assigned and input in each statement sect...

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 device for generating an interface based on description. The device is used for generating a target interface and comprises an interpreter and a defined file. The defined file comprises descriptions of a name, a data source, a dependency relationship and an inquiry condition of each parameter in the target interface. The interpreter comprises a data source inquirer and a loader. The data source inquirer is used for inquiring and obtaining the position of the data source of a parameter according to the description of the data source of the current parameter. The loader is used for extracting data content according with the complete inquiry content of the current parameter from the data source of the current parameter to a control corresponding to the current parameter according to the description of the dependency relationship of the current parameter, the description of the inquiry condition of the current parameter and the data content of the previous parameter of the current parameter dynamically selected by a user terminal. The interpreter disclosed by the invention can be repetitively used for interpreting and operating parameter description statements of a plurality of defined files. The device disclosed by the invention can be used for reducing code amount in the event of developing the interface.

Description

【Technical field】 [0001] The invention relates to the field of computers, in particular to an interface generation device and method. 【Background technique】 [0002] With the continuous development of computer technology, many transactions are processed by computer, which greatly improves the processing efficiency. When using a computer to process various affairs, various interactive interfaces are inevitably involved. The existing method of generating a query interface is to directly write code that can be compiled and run to generate the interface. The code codes and explains each parameter in the query interface one by one. Each parameter corresponds to a piece of code that describes the name of the parameter, data source and how to load the data, etc. After running, the control corresponding to the parameter is generated and the interface is generated. Since how to load data is related to which parameter the current parameter depends on and the function that the curren...

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 Applications(China)
IPC IPC(8): G06F9/44
Inventor 王冬
Owner 安徽太湖画里天华实业有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products