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

Class-based code generator

A code generator and code technology, applied in the direction of program control devices, etc., can solve the problems of irregular coding, low software productivity, repeated coding, etc., and achieve the effect of improving standardization, improving production efficiency and quality, and reducing labor intensity.

Inactive Publication Date: 2013-12-18
ANHUI UNIVERSITY OF TECHNOLOGY
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As a result, the current mode of manually writing computer program codes has limited the pace of computer scale expansion to a certain extent.
[0004] A software company may have to undertake many large-scale information systems developed with different programming languages ​​in a year. A large-scale information system has many tables mapped by classes and involves many junior programmers who have just been recruited into the company. If there is no code generator, Will lead to repeated coding, non-standard coding, low software productivity, low software quality

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
  • Class-based code generator
  • Class-based code generator
  • Class-based code generator

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] This embodiment relates to a class-based code generator, including an interface, a database table, and a description table; each class is mapped to a database table, and the attributes of the class are mapped to the fields of the table; the description table is used to record each English name, Chinese name, English field name, Chinese field name, field type, field length, field display order and field width of the database table; the described interface has buttons for mapping class operations to the interface and buttons for data operations , And the interface also has Combo1 control, Combo2 control, ListBox control, Richtextbox control and 2 copy buttons. The Combo1 control is used to display all the table names in the description table for selection when generating code; Combo2 The control is used to select the programming language; the ListBox control is used to display the generated multi-line variable code, and the Richtextbox control is used to display the generat...

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 relates to a class-based code generator. The class-based code generator models by abstracting codes, decomposes the codes into fixed invariable parts and variable parts and generates the codes automatically, efficiently and accurately. The class-based code generator can perform code generation of various operations such as insertion, modification, deletion, auditing, enquiry, statistics and printing in table-to-table, table-to-interface, interface-to-table, interface-to-interface modes aiming for ordinary programming languages, thereby being beneficial to relieving labor intensity of software developers and programmers, improving standardization of edited codes and improving code production efficiency and quality.

Description

Technical field [0001] The present invention relates to an automatic program code generator, more specifically, the present invention relates to a class-based code generator. Background technique [0002] Computer program code is the most basic unit for making computer software and hardware drivers, operating systems and other tools. Software engineering was born in 1968, later than traditional engineering such as metallurgy and machinery. At present, the main software production method is still in the manual stage, with low software production efficiency, low quality and long delivery cycle. Generally, every computer software, whether it is application software, hardware driver software, or operating system software, its final generated form is usually handwritten input by computer program code writers on specific computer program development tools according to certain grammatical rules The computer program code is formed. [0003] However, with the continuous development and up...

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 ANHUI UNIVERSITY OF TECHNOLOGY
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