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

Automatic code generation method, code generator and readable storage medium

A code generator and automatic generation technology, applied in the direction of creating/generating source code, special data processing applications, structured data retrieval, etc., can solve problems such as poor flexibility, secondary development processing, and inability to reduce development workload , Improve development efficiency and reduce coupling effect

Active Publication Date: 2020-03-31
SHANDONG LUNENG SOFTWARE TECH
View PDF11 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, most of the existing business logic software on the market does not support the secondary development of the corresponding business logic, and must be supported by the same business logic. If the business logic changes or becomes a more complex processing method, the existing software cannot be implemented. Corresponding secondary development processing and API interface development integration
[0005] (2) High degree of code coupling and poor flexibility
At present, most of the software on the market are visual operations, which are incompetent for different business logics and difficult complex business logics. For developers, some business logic codes cannot be reused, and they cannot be used for different development environments and IDEs. Program import and function deployment
[0006] In summary, there is still a lack of effective technical solutions for the above-mentioned problems in the prior art

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
  • Automatic code generation method, code generator and readable storage medium
  • Automatic code generation method, code generator and readable storage medium
  • Automatic code generation method, code generator and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0042] As introduced in the background technology, the prior art has the following problems:

[0043] (1) Secondary development is not supported. At present, most of the existing business logic software on the market does not support the secondary development of the corresponding business logic, and must be supported by the same business logic. If the business logic changes or becomes a more complex processing method, the existing software cannot Corresponding sec...

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 automatic code generation method, a code generator and a readable storage medium, which are used for solving the problems that secondary development is not supported, the code coupling degree is high and the flexibility is poor. The method comprises the following steps: firstly, configuring a data source, and storing the data source into a corresponding database to form adatabase table; creating a corresponding model package according to the configured data source; utilizing the model package to construct a service model; judging a model synchronization mode; synchronizing to a database, and reconfiguring a data source; performing model synchronization, and judging whether the service model is a relationship model or not; if the model is a singleton model, processing the model to generate a singleton model code; If the model is the relationship model, processing the model to generate a relationship model code.

Description

technical field [0001] The invention relates to the technical development field of automatic generation of development codes of serialized databases configured by java according to research and development models, in particular to a method for automatically generating development codes by matching java models with oracle database tables, a code generator and a readable storage medium. Background technique [0002] With the development of science and technology and the increasing pace of social life, users have higher requirements for software usage. Although the standardization of enterprise software is increasing, the use of software development aids in the development process is also becoming more and more popular. However, most domestic software companies still have the problem of inconsistent development frameworks and development tools. Therefore, companies need to be equipped with comprehensive framework engineers and technical personnel, as well as domestic software 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 Applications(China)
IPC IPC(8): G06F8/30G06F16/22G06F16/27
CPCG06F8/31G06F16/2282G06F16/27Y02D10/00
Inventor 李瑞清于伟王立峰窦芳琴潘爱兵李建伟李海斌杨明亮陈善民
Owner SHANDONG LUNENG SOFTWARE TECH
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