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

Iterative code generation method based on domain knowledge sharing

A technology of code generation and domain knowledge, applied in the field of computer system applications, can solve the problems of reducing the workload of developers, not supporting automated testing, increasing workload, etc., to avoid complex structures and multi-table connection queries, support automated testing, The effect of reducing the number of rework

Active Publication Date: 2013-07-31
ZHEJIANG UNIV
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, for the deep-seated needs of industry users, the code generation system is often unable to do what it wants
In addition, some developers also provide code generation systems for specific industries, but these code generation systems cannot be applied to other industries, and the application range is too narrow
[0005] 2. It is difficult to expand the code generation system
Such a code generation system not only does not reduce the workload of developers, but increases the workload
[0008] 3. Does not support automated testing
The traditional code generation system provides developers with an integrated development environment with GUI interface, and does not provide easy-to-test CLI and API interfaces, so it is difficult to realize automated testing and timely testing
This can lead to poor code quality and even a lot of rework
[0009] 4. Does not support iterative code generation system
However, software development for applications in different industries requires domain knowledge of different industries, and when industries are divided more and more finely, the required domain knowledge becomes more and more complex.
The built-in domain-specific code generation system for solidification will not be able to cope with the current trend of software development

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
  • Iterative code generation method based on domain knowledge sharing
  • Iterative code generation method based on domain knowledge sharing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0043] 1. First implement a core code generation system

[0044] The code generation system adopts JVM as the target machine platform, thus shielding the difference of specific hardware. Adopt the dynamic language based on JVM as the development language. Typical JVM dynamic languages ​​include Jruby, Jpython, Scala, Groovy, Clojuer, etc. These languages ​​can be used to develop code generation systems, and different languages ​​can call each other directly. Dynamic language codes are dynamically translated into bytecodes on the JVM at runtime, and then the JVM virtual machine interprets and executes these bytecodes.

[0045] a) First develop a data persistence system that supports data addition, deletion, modification and query. The data persistence system can be implemented based on a third-party OR-mapping library, such as ActiveRecord o...

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 an iterative code generation method based on domain knowledge sharing. The method comprises the following steps of: 1) developing a core code generation system based on a dynamic language; 2) generating a conventional industry application system by using the core code generation system; 3) extracting common domain related knowledge codes in the conventional industry application system; and 4) re-developing on the basis of the common domain related knowledge codes to generate a specific domain application system, wherein the core code generation system comprises a use interface, a development interface, a dependence instruction file and an automated test and deployment suite. Iteration can be realized by re-extracting the common domain related knowledge codes from the specific domain application system. The invention has the advantages that: a generated iterative code generation system is high in expandability; the accumulation and detailing of a domain are supported; the development efficiency of a detailing industry domain is improved; testability is good; project quality can be improved; and the frequency of reworking in a project development process is reduced.

Description

technical field [0001] The invention relates to the field of computer system application technology. Specifically, it relates to an iterative code generation system for realizing rapid development in the field of industry application. Background technique [0002] The code generation system has a history of many years of development, from the early syntax analyzer automatic generation system to various MDA automatic generation tools later. With the development of enterprise / government information technology, the demand for industry application development for different industries is becoming stronger and stronger. As a result, a large number of code generation systems and rapid development platforms for industry applications have emerged. Existing code generation systems for industry applications are often based on static object-oriented languages ​​(such as Java / C# / Delphi) and component technology, providing industry application developers with various GUI drag-and-drop c...

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): G06F9/44
Inventor 袁新宇李莹
Owner ZHEJIANG UNIV
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