CN110941422A - Code automatic generation method, code generator and readable storage medium - Google Patents

Code automatic generation method, code generator and readable storage medium Download PDF

Info

Publication number
CN110941422A
CN110941422A CN201911151085.2A CN201911151085A CN110941422A CN 110941422 A CN110941422 A CN 110941422A CN 201911151085 A CN201911151085 A CN 201911151085A CN 110941422 A CN110941422 A CN 110941422A
Authority
CN
China
Prior art keywords
model
code
database
business
data source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911151085.2A
Other languages
Chinese (zh)
Other versions
CN110941422B (en
Inventor
李瑞清
于伟
王立峰
窦芳琴
潘爱兵
李建伟
李海斌
杨明亮
陈善民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Luneng Software Technology Co Ltd
Original Assignee
Shandong Luneng Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Luneng Software Technology Co Ltd filed Critical Shandong Luneng Software Technology Co Ltd
Priority to CN201911151085.2A priority Critical patent/CN110941422B/en
Publication of CN110941422A publication Critical patent/CN110941422A/en
Application granted granted Critical
Publication of CN110941422B publication Critical patent/CN110941422B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a code automatic 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. Firstly, configuring a data source, and storing the data source into a corresponding database to form a database table; creating a corresponding model package according to the configured data source; constructing a business model by using the model package; judging a model synchronization mode; synchronizing to the database and reconfiguring the data source; the models are synchronous, and whether the business model is a relation model is judged; if the single-case model is the single-case model, processing the model to generate a single-case model code; if the relation model is the relation model, the model is processed to generate a relation model code.

Description

Code automatic generation method, code generator and readable storage medium
Technical Field
The invention relates to the technical development field of automatic generation of development codes of java according to a serialized database configured by a research and development model, in particular to a method for automatically generating development codes by matching an oracle database table with a java model, a code generator and a readable storage medium.
Background
With the development of science and technology and the increasing pace of social life, the requirements of users on the use of software also become higher. Although the standardization degree of enterprise software is increasing, the use of software development auxiliary tools in the development process is also increasingly popular. However, most domestic software enterprises still have the problem that the self-building of development frames and development tools are not uniform, so that the enterprises are required to be equipped with comprehensive frame engineers and technicians and the self-improvement and self-growth of domestic software consultation technical enterprises. The comprehensive requirements for managers and developers are correspondingly improved, and the comprehensive capability of domestic developers is relatively low along with the influence of social environment and other reasons, so that the labor cost of software enterprise development is increased, and the enterprise burden is increased, and the profit is low.
The rapid development platforms proposed in the market aiming at the current situation are relatively few, the technology is not mature, the functions are simple, the flexibility is not enough, and the service requirements of various environments and different platforms cannot be met. The prior art has the following defects:
(1) secondary development is not supported. Most of the existing service logic software in the current market does not support the secondary development of corresponding service logic, the same service logic is required to be used as a function support, and if the service logic is changed or changed into a more complex processing mode, the existing software cannot perform corresponding secondary development processing and API interface development integration.
(2) The code coupling degree is high, and the flexibility is poor. Most of software in the current market is visual operation, different business logics and complex business logics with high difficulty cannot be competent, part of business logic codes cannot be reused for developers, and program import and function deployment cannot be carried out aiming at different development environments and IDE.
In summary, the prior art still lacks an effective technical solution for the above problems.
Disclosure of Invention
The invention provides an automatic code generation method, a code generator and a readable storage medium, which realize the data storage, calculation processing and list display of an automatic code request and trigger mechanism, have high automation and development efficiency, save time and labor cost and have lower professional requirements for developers.
The technical scheme of the invention is realized as follows:
the invention provides a code automatic generation method in a first aspect, which comprises the following steps:
configuring a data source and storing the data source in a corresponding database to form a database table;
creating a corresponding model package according to the configured data source;
constructing a business model by using the model package;
judging a model synchronization mode according to a synchronization mode selected in the data source configuration;
if the synchronization mode is to synchronize to the database, synchronizing to the database and reconfiguring the data source; if the synchronization mode is model synchronization, synchronizing to the model;
judging whether the business model is a relation model;
if the single-case model is the single-case model, processing the model to generate a single-case model code; if the relation model is the relation model, the model is processed to generate a relation model code.
A second aspect of the present invention provides a code generator, including a processor and a memory, wherein the memory stores a code generation program; the processor is used for executing the code generation program to realize the following steps:
configuring a data source and storing the data source in a corresponding database to form a database table;
creating a corresponding model package according to the configured data source;
constructing a business model by using the model package;
judging a model synchronization mode according to a synchronization mode selected in the data source configuration;
if the synchronization mode is to synchronize to the database, synchronizing to the database and reconfiguring the data source; if the synchronization mode is model synchronization, synchronizing to the model;
judging whether the business model is a relation model;
if the single-case model is the single-case model, processing the model to generate a single-case model code; if the relation model is the relation model, the model is processed to generate a relation model code.
A third aspect of the present invention is to provide a computer-readable storage medium having stored thereon a code generation program that when executed by a processor realizes the steps of:
configuring a data source and storing the data source in a corresponding database to form a database table;
creating a corresponding model package according to the configured data source;
constructing a business model by using the model package;
judging a model synchronization mode according to a synchronization mode selected in the data source configuration;
if the synchronization mode is to synchronize to the database, synchronizing to the database and reconfiguring the data source; if the synchronization mode is model synchronization, synchronizing to the model;
judging whether the business model is a relation model;
if the single-case model is the single-case model, processing the model to generate a single-case model code; if the relation model is the relation model, the model is processed to generate a relation model code.
By adopting the technical scheme, the invention has the beneficial effects that:
(1) according to the method, the corresponding page is automatically generated by reversely configuring the database through the configured data model and the model, so that the addition, deletion, modification and check of simple functions are realized, the development efficiency is improved, and the development workload is reduced;
(2) the invention realizes that the independent database table and the database slave table generate the corresponding program model according to the dependency relationship between the independent database table and the database slave table, thereby reducing the coupling between codes. Developers do not need to know the dependencies of all tables in the database and the affiliated meaning of each table. Developers only need to create a business logic model according to specific business logic, and the model can automatically synchronize a database table at the moment;
(3) the invention adopts the model ID to manage the model, does not need to manage and configure all the base tables in the database in background integration, and can form the table structures of all the tables in the model and the dependent tables in the base tables according to the reverse mechanism characteristic of the model after transplanting the new database of the new platform. Therefore, developers only develop data of the orientation model, and do not need to know complicated DBA operations such as creation and modification of a data table in a database too much.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow chart of a method for automatically generating a code according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for automatic generation of a code according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a three-code generator according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As described in the background, the prior art has the following problems:
(1) secondary development is not supported. Most of the existing service logic software in the current market does not support the secondary development of corresponding service logic, the same service logic is required to be used as a function support, and if the service logic is changed or changed into a more complex processing mode, the existing software cannot perform corresponding secondary development processing and API interface development integration.
(2) The code coupling degree is high, and the flexibility is poor. Most of software in the current market is visual operation, different business logics and complex business logics with high difficulty cannot be competent, part of business logic codes cannot be reused for developers, and program import and function deployment cannot be carried out aiming at different development environments and IDE.
In order to solve the technical problems, the invention provides an automatic code generation method, a code generator and a readable storage medium, aiming at the problems that research and development staff at the present stage need to quickly integrate into a team research and development project and whether the writing mode of a new employee meets the problems about the code quality and the code safety in a project group, the invention carries out unified specification on the writing mode of the new employee entering the project group, realizes the development mode of a simple business logic 0 code, and the employee only needs to configure a corresponding business model according to business requirements to integrate into the project group, thereby achieving the purposes of ensuring the project code quality, the code safety and the quick and convenient research and development, and saving time and labor cost.
FIG. 1 is a flowchart of an automatic code generation method according to an embodiment of the present invention. As shown in fig. 1, the method comprises the steps of:
s101, configuring a data source, and storing the data source into a corresponding database to form a database table.
And the configuration database is connected with the data source, and the configured data source is stored in the corresponding database to form a database table.
And S102, creating a corresponding model package according to the configured data source.
And forming a corresponding model package according to the configured data source, wherein the purpose is as follows: and the unified management on the sub-models is conveniently realized.
S103, constructing a business model by using the model package;
the business model construction method comprises the following steps:
forming a sub-package list based on all the model packages;
and constructing the service models to which all the model packages in the sub-package list belong by adopting a JAVA object-oriented mode and newly added functions to form a model list.
The business model comprises a model name and a configured data source, wherein the model name comprises model information, model attributes, a sub-model list, an event command and an association storage table.
The model information comprises a model association object and an object attribute list, a model synchronization mode is established in the model association object of the model information according to the established database table and the corresponding business logic, and the database association information is configured in the object attribute list of the model information.
The invention realizes that the independent database table and the database slave table generate the corresponding business model according to the dependency relationship between the independent database table and the database slave table, thereby reducing the coupling between codes.
And S104, judging a model synchronization mode.
Selecting a model synchronization mode according to the synchronization mode selected during data source configuration;
if the model synchronization mode is to be the same as the database, synchronizing the database, returning to the step S101, and reconfiguring the data source; if the model synchronization method is model synchronization, the process proceeds to step S105.
The method for synchronizing the data to the database comprises the following steps:
and synchronizing information in the database according to the database association information configured in the object attribute list of the service model to obtain a new database and form a new database table.
The invention adopts the model ID to manage the model, does not need to manage and configure all the base tables in the database in background integration, and can form the table structures of all the tables in the model and the dependent tables in the base tables according to the reverse mechanism characteristic of the model after transplanting the new database of the new platform. Therefore, developers only develop data of the orientation model, and do not need to know complicated DBA operations such as creation and modification of a data table in a database too much.
S105, judging whether the business model is a relation model.
If the module needs a plurality of tables to support the functional requirements, the model mode is a relational model; otherwise, if the module only needs one library table to complete the required development, the model is a single-case model.
And S106, if the model is the singleton model, processing the model to generate a singleton model code.
The method for generating the singleton model code comprises the following steps:
s1061, selecting a singleton model dependency table in the function requirements;
s1062, selecting field information of the object attribute list of the singleton model;
and S1063, automatically generating single-case model codes for increasing, deleting, modifying and checking by adopting a java reflection mechanism generation module according to the field information in the object attribute list obtained in the S1062.
And S107, if the model is a relational model, processing the model to generate a relational model code.
The method for generating the relational model code comprises the following steps:
s1071, selecting an associated object of a relation model corresponding to the function requirement;
s1072, selecting the associated object from the data table field, and configuring a model object attribute list;
and S1073, automatically generating the relationship model code for increasing, deleting and modifying by adopting a java reflection mechanism generation module according to the field information in the model object attribute list obtained in the S1072.
According to the automatic code generation method provided by the embodiment of the invention, in the actual development process of the project, the model development shortens the development period of the project, and saves manpower, material resources and learning cost; the code efficiency of developers can be improved by more than 70%; the module development can carry out longitudinal time development on the front end and the background through a reasonable layering mechanism; the visual operation shields technical details of professional codes, and a friendly setting interface can enable part of primary developers to develop business models quickly.
The invention reduces the requirement of coupling between codes, ensures that the model in the system plays its own roles through a reasonable model planning management mode, not only improves the requirement of cohesion, but also effectively reduces the code coupling degree, and strictly realizes the software design quality standard of 'low coupling and high cohesion' according to the java code development requirement.
A more detailed embodiment is listed below with reference to specific application examples. Fig. 2 is a flowchart of an automatic code generation method according to an embodiment of the present invention. As shown in fig. 2, the method comprises the steps of:
s201, configuring a data source.
And configuring a data source according to the service requirement, and storing the configured data source into a corresponding database to form a database table. And a service logic table of the user is established in a database corresponding to the configured data source.
S202, creating a model package.
And establishing a model corresponding package under the appointed system package according to the service requirement, wherein the model package comprises a folder.
S203, creating a business model.
And creating the business model under the model package to form a model list. The model name and the configured data source of each business model are specified in the model list.
The model name includes model information, model attributes, a sub-model list, an event command, an association save table, and the like.
The model information includes a model-associated object and a list of object attributes.
And S204, establishing a model synchronization mode.
And in the model association object of the model information, establishing a model synchronization mode of the model information according to the established database table and the corresponding business logic, wherein the model synchronization mode comprises database synchronization and model synchronization.
S205, establishing database association information.
And creating own database association information in the object attribute list of the model information.
S206, creating a database table.
And under the condition that a data source is not configured in the step S201, automatically creating a database table according to the business logic fields in the object attribute list in a database synchronization mode according to the database association information created in the step S205.
And S207, automatically generating a data folder which contains foreground html codes and is associated with the model and has the same number under the corresponding path of program configuration.
And S208, the daily development foreground can replace the display styles such as css, tables, lists and the like in the codes according to the design of the art designer.
S209, after all the configurations are executed, the configurations are integrated into own code development for foreground calling, and then the corresponding business requirements can be completed.
From the above description, it can be seen that the automatic generation method of the second code according to the embodiment of the present invention achieves the following technical effects:
1. modeling and rapid development
In the actual development process of the project, the model development shortens the development period of the project, and saves manpower, material resources and learning cost; the code efficiency of developers can be improved by more than 70%; the module development can carry out longitudinal time development on the front end and the background through a reasonable layering mechanism.
2. High graphical operation and visual effect
The visual operation shields technical details of professional codes, and a friendly setting interface can enable part of primary developers to develop business models quickly.
3. Low coupling, high cohesion
More than 95% of the model is realized based on interface development, low coupling degree between codes is formed, and each component and module can be called by the model, so that high cohesion of the system is enhanced.
Such as: the model has more interfaces and less inheritance, and the inheritance is a coupling through the analysis of the coupling. If the child class A inherits the parent class B, either directly or indirectly, the child class A must rely on the parent class B. Subclass a must be used in an environment where parent B exists, and parent B cannot be used without subclass a, which affects the portability of subclass a. Once any change occurs to parent class B, changing or removing a function name, or changing a function parameter, subclass a will have to be changed or even overwritten. Such a change is catastrophic given that the subclasses of parent class B are tens to hundreds, even across the various modules of the project. The model strictly realizes the software design quality standard of low coupling and high cohesion according to the development requirements of java codes.
4. High safety
The front-end page management model provides a strong organization and management capability of information operation such as corresponding roles and authorization, and a large number of request filters (such as cross-frame scripting attack, HTTP parameter correctness verification, cross-site request forgery attack, illegal address request, unsafe HTTP starting and the like) are configured in the implementation of the back-end service code. When the data is requested, the data request is encrypted by using an asymmetric encryption mode, and the sensitive data is encrypted by using a ciphertext storage mechanism.
5. High usability
Aiming at the problems that research and development personnel at the present stage need to be quickly integrated into a team research and development project and whether the writing mode of a new employee meets the doubtful requirements on the code quality and the code safety in a project group, the writing mode of the new employee entering the project group is unified and standardized, the development mode of a simple business logic 0 code is realized, and the employee only needs to configure a corresponding business model according to business requirements and integrate the business model into the project.
Fig. 3 is a schematic diagram of a structure of a code generator according to an embodiment of the present invention. The code generator 300 shown in fig. 3 includes at least one processor (processor)301, a memory (memory)302, a peripheral interface (peripheral) 303, and a communication line 304.
In fig. 3, arrows indicate that communication and data transfer between components of the computer system can be performed, and the communication and data transfer can be implemented using a high-speed serial bus (high-speed serial bus), a parallel bus (parallel bus), a Storage Area Network (SAN), and/or other appropriate communication technology.
Memory 302 may include an operating system 305 and an automatic code generation routine 306. For example, the memory 302 may include a high-speed random access memory (high-speed random access memory), a magnetic disk, a static random access memory (SPAM), a Dynamic Random Access Memory (DRAM), a Read Only Memory (ROM), a flash memory, or a non-volatile memory. The memory 302 may store program code for an operating system 305 and an automatic code generation routine 306. In this case, the access to the memory 302 and other controllers such as the processor 301 and the peripheral interface 303 may be controlled by the processor 301.
Peripheral interface 303 may combine input and/or output peripherals with processor 301 and memory 302. The communication line 304 may utilize at least one interface to communicate with other computer systems.
The processor 301 may perform the various functions of the code generator and process data by executing software modules or instruction set architectures stored in the memory 302. That is, the processor 301 can be configured to process commands of a computer program by performing basic arithmetic, logic, and input/output operations of a computer system.
The processor 301 is configured to execute the code automatic generation method described in the first and second embodiments.
The fourth embodiment of the present invention provides a computer-readable storage medium, in which a code generation program is stored, and the code generation program, when executed by a processor, implements the automatic code generation method described in the first and second embodiments. .
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the units may be implemented in the same software and/or hardware or in a plurality of software and/or hardware when implementing the invention.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for apparatus or system embodiments, since they are substantially similar to method embodiments, they are described in relative terms, as long as they are described in partial descriptions of method embodiments. The above-described embodiments of the apparatus and system are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. An automatic code generation method is characterized by comprising the following steps:
configuring a data source and storing the data source in a corresponding database to form a database table;
creating a corresponding model package according to the configured data source;
constructing a business model by using the model package;
judging a model synchronization mode according to a synchronization mode selected in the data source configuration;
if the synchronization mode is to synchronize to the database, synchronizing to the database and reconfiguring the data source; if the synchronization mode is model synchronization, synchronizing to the model;
judging whether the business model is a relation model;
if the single-case model is the single-case model, processing the model to generate a single-case model code; if the relation model is the relation model, the model is processed to generate a relation model code.
2. The method for automatically generating the code according to claim 1, wherein the method for constructing the business model comprises the following steps:
forming a sub-package list based on all the model packages;
and constructing the business models to which all the model packages in the sub-package list belong to form a model list.
3. The method of claim 3, wherein the business model comprises a model name and a configured data source, the model name comprising model information, model attributes, a list of sub-models, an event command, and an associated save table.
4. The method according to claim 3, wherein the model information includes a model-related object in which the database-related information is configured and an object attribute list in which the model-related information is configured in a model-related manner according to the created database table and the corresponding business logic, and an object attribute list in which the model-related information is created.
5. The method for automatically generating code according to claim 3, wherein the method for determining whether the business model is a relationship model comprises:
if the business model needs the support of a plurality of base tables, the business model is a relational model; if only one library table is needed, it is a singleton model.
6. The method for automatically generating code according to claim 1, wherein the method for synchronizing to the database comprises:
and synchronizing information in the database according to the database association information configured in the object attribute list of the service model to obtain a new database and form a new database table.
7. The method for automatically generating code according to claim 1, wherein the method for generating the singleton model code is as follows:
selecting a singleton model dependency table in the function requirements;
selecting an object attribute list of the singleton model;
and generating a singleton model code according to the field information in the object attribute list.
8. The method for automatically generating code according to claim 1, wherein the relational model code is generated by:
selecting an associated object of the function requirement corresponding relation model, and creating a data table field associated object;
selecting an associated object from the data table field, and configuring a model object attribute list;
and generating a relational model code according to the field information in the model object attribute list.
9. A code generator is characterized by comprising a processor and a memory, wherein a code generation program is stored in the memory; the processor is configured to execute the code generation program to implement the steps of the code generation method according to any one of claims 1 to 8.
10. A computer-readable storage medium, having stored thereon a code generation program which, when executed by a processor, implements the steps of the code generation method of any one of claims 1 to 8.
CN201911151085.2A 2019-11-21 2019-11-21 Code automatic generation method, code generator and readable storage medium Active CN110941422B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911151085.2A CN110941422B (en) 2019-11-21 2019-11-21 Code automatic generation method, code generator and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911151085.2A CN110941422B (en) 2019-11-21 2019-11-21 Code automatic generation method, code generator and readable storage medium

Publications (2)

Publication Number Publication Date
CN110941422A true CN110941422A (en) 2020-03-31
CN110941422B CN110941422B (en) 2023-08-15

Family

ID=69908026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911151085.2A Active CN110941422B (en) 2019-11-21 2019-11-21 Code automatic generation method, code generator and readable storage medium

Country Status (1)

Country Link
CN (1) CN110941422B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112631576A (en) * 2020-12-31 2021-04-09 杭州天宽科技有限公司 Java universal code generation optimization method and system
CN113127442A (en) * 2020-01-10 2021-07-16 马上消费金融股份有限公司 Visualization method and device of data model and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050160104A1 (en) * 2004-01-20 2005-07-21 Datasource, Inc. System and method for generating and deploying a software application
CN101714078A (en) * 2008-10-06 2010-05-26 广东金宇恒科技有限公司 Code generation method and device
US20130227446A1 (en) * 2012-02-29 2013-08-29 Avaya Inc. Generation of a user interface from a database
CN104360859A (en) * 2014-11-14 2015-02-18 中国建设银行股份有限公司 Visual service development method and system
CN105260189A (en) * 2015-11-02 2016-01-20 江苏马上游科技股份有限公司 Code generating method and system based on model driving
CN108037916A (en) * 2017-11-29 2018-05-15 福州市智捷信息科技有限公司 A kind of graphical service modeling method based on web
CN109032590A (en) * 2018-09-26 2018-12-18 山东鲁能软件技术有限公司 A kind of configuration method, device, terminal and the storage medium of visual development environment
CN109558127A (en) * 2018-11-28 2019-04-02 中国海洋石油集团有限公司 A kind of code generating method, device, equipment and storage medium
CN109933310A (en) * 2019-03-11 2019-06-25 山东鲁能软件技术有限公司 A kind of configurable JAVA development platform based on data template
CN110109658A (en) * 2019-04-17 2019-08-09 首都师范大学 A kind of ROS code generator and code generating method based on formalized model
US20190250896A1 (en) * 2018-02-09 2019-08-15 Cognizant Technology Solutions India Pvt. Ltd. System and method for developing software applications of wearable devices

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050160104A1 (en) * 2004-01-20 2005-07-21 Datasource, Inc. System and method for generating and deploying a software application
CN101714078A (en) * 2008-10-06 2010-05-26 广东金宇恒科技有限公司 Code generation method and device
US20130227446A1 (en) * 2012-02-29 2013-08-29 Avaya Inc. Generation of a user interface from a database
CN104360859A (en) * 2014-11-14 2015-02-18 中国建设银行股份有限公司 Visual service development method and system
CN105260189A (en) * 2015-11-02 2016-01-20 江苏马上游科技股份有限公司 Code generating method and system based on model driving
CN108037916A (en) * 2017-11-29 2018-05-15 福州市智捷信息科技有限公司 A kind of graphical service modeling method based on web
US20190250896A1 (en) * 2018-02-09 2019-08-15 Cognizant Technology Solutions India Pvt. Ltd. System and method for developing software applications of wearable devices
CN109032590A (en) * 2018-09-26 2018-12-18 山东鲁能软件技术有限公司 A kind of configuration method, device, terminal and the storage medium of visual development environment
CN109558127A (en) * 2018-11-28 2019-04-02 中国海洋石油集团有限公司 A kind of code generating method, device, equipment and storage medium
CN109933310A (en) * 2019-03-11 2019-06-25 山东鲁能软件技术有限公司 A kind of configurable JAVA development platform based on data template
CN110109658A (en) * 2019-04-17 2019-08-09 首都师范大学 A kind of ROS code generator and code generating method based on formalized model

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113127442A (en) * 2020-01-10 2021-07-16 马上消费金融股份有限公司 Visualization method and device of data model and storage medium
CN113127442B (en) * 2020-01-10 2023-12-22 马上消费金融股份有限公司 Method, device and storage medium for visualizing data model
CN112631576A (en) * 2020-12-31 2021-04-09 杭州天宽科技有限公司 Java universal code generation optimization method and system

Also Published As

Publication number Publication date
CN110941422B (en) 2023-08-15

Similar Documents

Publication Publication Date Title
US10534773B2 (en) Intelligent query parameterization of database workloads
CN101840352B (en) Method and device for monitoring database connection pool
CN106484394B (en) A kind of fast software development system with double engines
CN110032369A (en) A kind of code automatic generation method, device and medium
CN110287097A (en) Batch testing method, device and computer readable storage medium
CN104281906A (en) Process engine achieving method and system in service process
CN103019791B (en) Software dispositions method and software deployment system
CN102436473B (en) Menu management device and menu managing method
US8635253B2 (en) Decorated model architecture for efficient model-driven application development
CN108319656A (en) Realize the method, apparatus and calculate node and system that gray scale is issued
CN103399781B (en) Cloud Server and virtual machine management method thereof
CN109408493A (en) A kind of moving method and system of data source
CN106951254B (en) Method and device for multiplexing similar service function modules in payment system
CN109976803B (en) File generation method and device
CN110941422B (en) Code automatic generation method, code generator and readable storage medium
CN110990396A (en) Data storage method, device and storage medium
US20140309970A1 (en) Managing a model having an object cycle
CN104850925A (en) Integrated management system for process data
CN103699478A (en) Test case generation system and test case generation method
US20100106749A1 (en) Reorganizing table-based data objects
CN105573763A (en) Embedded system modeling method supporting RTOS
CN103995699A (en) Electric power enterprise information system development method based on MDA
CN116089518A (en) Data model extraction method and system, terminal and medium
CN115730022A (en) Data processing construction method and platform system adopting event triggering and process arrangement
CN112130849B (en) Code automatic generation method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant