CN113805875A - Cross-language code automatic generation platform - Google Patents

Cross-language code automatic generation platform Download PDF

Info

Publication number
CN113805875A
CN113805875A CN202111097113.4A CN202111097113A CN113805875A CN 113805875 A CN113805875 A CN 113805875A CN 202111097113 A CN202111097113 A CN 202111097113A CN 113805875 A CN113805875 A CN 113805875A
Authority
CN
China
Prior art keywords
templates
template
scripts
service layer
codes
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.)
Pending
Application number
CN202111097113.4A
Other languages
Chinese (zh)
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.)
DALIAN HI-THINK COMPUTER TECHNOLOGY CORP
Original Assignee
DALIAN HI-THINK COMPUTER TECHNOLOGY CORP
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 DALIAN HI-THINK COMPUTER TECHNOLOGY CORP filed Critical DALIAN HI-THINK COMPUTER TECHNOLOGY CORP
Priority to CN202111097113.4A priority Critical patent/CN113805875A/en
Publication of CN113805875A publication Critical patent/CN113805875A/en
Pending legal-status Critical Current

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/35Creation or generation of source code model driven
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

A cross-language code automatic generation platform is characterized by comprising an engine layer, a core service layer and a public service layer, wherein the engine layer is mainly convenient for rapid development, and generates service codes and configuration scripts when development based on templates and styles is provided; the core service layer provides the functions of generating and downloading the generated result, and the public service layer provides the functions of public templates, personal templates, template conversion and template verification; the method comprises the steps that the basis of range boundary division is considered from the two aspects of 'specification making' and 'automatic generation' through the technical definition of a template engine, an enterprise informatization common business module is abstracted, optimization scripts and middleware deployment and optimization templates aiming at different environments are defined by developers while codes are automatically generated, and standardized configuration scripts are generated according to the templates in the actual project deployment process; the platform is not limited to any language and completely depends on a template mode to generate required codes or scripts.

Description

Cross-language code automatic generation platform
Technical Field
The invention discloses a cross-language code automatic generation platform, and belongs to the technical field of internet.
Background
The code generation platform is a set of system used by developers in the project development process, aims to enable the developers to pay more attention to business logic, solves a large amount of repetitive work, can be applied to the development of any J2EE project, can obviously improve the development efficiency through the platform, and greatly reduces the development cost.
The code generation platform is a tool platform for providing rapid development service for users, and generates a code file which can be directly applied to engineering or application in a mode of combining a template and data; the template in the code generation platform can construct a code file based on any development platform, any development language and any development framework, and the code file can be a common class file, can also be a set of engineering files consisting of a plurality of classes, and can further be a configuration file. The template in the platform can configure the file content in the template through system variables and custom variables to realize different application scenarios. The platform provides a data management function to provide an interface for a user to maintain data items in the database to the platform, so that functional codes for operating the database are generated by using system variables in combination with the template.
However, with the development of the micro service architecture, when developing the J2EE project, each software developer develops a larger number of services to be developed and maintained along with the development of the business, and uses more and more middleware, and in terms of service migration, middleware deployment and the like, scripts optimized by different environments in deployment environments and scripts deployed by the middleware are different, and the development efficiency of the code can be improved by using a low-code platform, while environment scripts and middleware scripts are difficult to migrate.
Disclosure of Invention
In order to solve the defects and shortcomings, the invention provides a cross-language code automatic generation platform.
The technical scheme adopted by the invention for solving the technical problem is as follows:
a cross-language code automatic generation platform is characterized by comprising an engine layer, a core service layer and a public service layer, wherein the engine layer is mainly convenient for rapid development, and generates service codes and configuration scripts when development based on templates and styles is provided; the core service layer provides the functions of generating and downloading the generated result, and the public service layer provides the functions of public templates, personal templates, template conversion and template verification; the method comprises the steps that the basis of range boundary division is considered from the two aspects of 'specification making' and 'automatic generation' through the technical definition of a template engine, an enterprise informatization common business module is abstracted, optimization scripts and middleware deployment and optimization templates aiming at different environments are defined by developers while codes are automatically generated, and standardized configuration scripts are generated according to the templates in the actual project deployment process; the platform is not limited to any language, and generates required codes or scripts in a mode of completely depending on templates; the data management aspect supports table structure analysis and Json structure analysis modes, and the template management aspect provides a large number of system attributes and allows a user to customize the specific attributes of the template according to the requirement of the user so as to complete the production of the template.
The invention has the following beneficial effects: based on the template engine, the business code is efficiently generated without limiting the development language, and the development efficiency is improved; scripts for standardized environments, middleware, containers, application server configurations, etc. are quickly generated based on a template engine.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a schematic of the present invention.
Detailed Description
Example 1
As shown in fig. 1, a cross-language code automatic generation platform is characterized by comprising an engine layer, a core service layer and a common service layer, wherein the engine layer is mainly convenient for rapid development, and the engine layer generates business codes and configuration scripts by providing development based on templates and styles; the core service layer provides the functions of generating and downloading the generated result, and the public service layer provides the functions of public templates, personal templates, template conversion and template verification; the method comprises the steps that the basis of range boundary division is considered from the two aspects of 'specification making' and 'automatic generation' through the technical definition of a template engine, an enterprise informatization common business module is abstracted, optimization scripts and middleware deployment and optimization templates aiming at different environments are defined by developers while codes are automatically generated, and standardized configuration scripts are generated according to the templates in the actual project deployment process; the platform is not limited to any language, and generates required codes or scripts in a mode of completely depending on templates; the data management aspect supports table structure analysis and Json structure analysis modes, and the template management aspect provides a large number of system attributes and allows a user to customize the specific attributes of the template according to the requirement of the user so as to complete the production of the template.
According to the platform system provided by the invention, when the platform system is generated, the template engine is used for analyzing the template and building the structure according to the template and the data selected by the user, then the data engine is used for filling the corresponding data into the analyzed template and carrying out corresponding operations such as calculation processing and the like, the generated result is provided for a requester according to an agreed data structure mode, and the generated result is compressed into a zip packet by the compression processing module and returned to the requester when the platform system is downloaded.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (1)

1. A cross-language code automatic generation platform is characterized by comprising an engine layer, a core service layer and a public service layer, wherein the engine layer is mainly convenient for rapid development, and generates service codes and configuration scripts when development based on templates and styles is provided; the core service layer provides the functions of generating and downloading the generated result, and the public service layer provides the functions of public templates, personal templates, template conversion and template verification; the method comprises the steps that the basis of range boundary division is considered from the two aspects of 'specification making' and 'automatic generation' through the technical definition of a template engine, an enterprise informatization common business module is abstracted, optimization scripts and middleware deployment and optimization templates aiming at different environments are defined by developers while codes are automatically generated, and standardized configuration scripts are generated according to the templates in the actual project deployment process; the platform is not limited to any language, and generates required codes or scripts in a mode of completely depending on templates; the data management aspect supports table structure analysis and Json structure analysis modes, and the template management aspect provides a large number of system attributes and allows a user to customize the specific attributes of the template according to the requirement of the user so as to complete the production of the template.
CN202111097113.4A 2021-09-18 2021-09-18 Cross-language code automatic generation platform Pending CN113805875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111097113.4A CN113805875A (en) 2021-09-18 2021-09-18 Cross-language code automatic generation platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111097113.4A CN113805875A (en) 2021-09-18 2021-09-18 Cross-language code automatic generation platform

Publications (1)

Publication Number Publication Date
CN113805875A true CN113805875A (en) 2021-12-17

Family

ID=78895959

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111097113.4A Pending CN113805875A (en) 2021-09-18 2021-09-18 Cross-language code automatic generation platform

Country Status (1)

Country Link
CN (1) CN113805875A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101866286A (en) * 2010-04-26 2010-10-20 中国科学院深圳先进技术研究院 PaaS collaboration system based on semantic relatedness and method thereof
US20130339841A1 (en) * 2012-06-14 2013-12-19 Open Text S.A. Systems and methods of a script generation engine
CN103677841A (en) * 2013-12-18 2014-03-26 北京航天测控技术有限公司 IETM code generation method and device based on element-level template
CN105260189A (en) * 2015-11-02 2016-01-20 江苏马上游科技股份有限公司 Code generating method and system based on model driving
CN106598620A (en) * 2016-12-21 2017-04-26 深圳南北互联网金融服务有限公司 Code generation method and code generator
CN109783084A (en) * 2019-01-18 2019-05-21 广州思坦德计算机信息科技有限公司 A kind of computer code automatic generation method, system, device and storage medium
CN110825369A (en) * 2019-11-07 2020-02-21 四川长虹电器股份有限公司 Method for automatically generating codes based on java language
CN112256248A (en) * 2020-10-10 2021-01-22 合肥青谷信息科技有限公司 Start-up wisdom cloud low code platform
US10908933B1 (en) * 2019-12-05 2021-02-02 Microsoft Technology Licensing, Llc Brokerage tool for accessing cloud-based services
CN113094039A (en) * 2021-04-12 2021-07-09 中国兵器装备集团自动化研究所有限公司 Automatic code generation system based on database table

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101866286A (en) * 2010-04-26 2010-10-20 中国科学院深圳先进技术研究院 PaaS collaboration system based on semantic relatedness and method thereof
US20130339841A1 (en) * 2012-06-14 2013-12-19 Open Text S.A. Systems and methods of a script generation engine
CN103677841A (en) * 2013-12-18 2014-03-26 北京航天测控技术有限公司 IETM code generation method and device based on element-level template
CN105260189A (en) * 2015-11-02 2016-01-20 江苏马上游科技股份有限公司 Code generating method and system based on model driving
CN106598620A (en) * 2016-12-21 2017-04-26 深圳南北互联网金融服务有限公司 Code generation method and code generator
CN109783084A (en) * 2019-01-18 2019-05-21 广州思坦德计算机信息科技有限公司 A kind of computer code automatic generation method, system, device and storage medium
CN110825369A (en) * 2019-11-07 2020-02-21 四川长虹电器股份有限公司 Method for automatically generating codes based on java language
US10908933B1 (en) * 2019-12-05 2021-02-02 Microsoft Technology Licensing, Llc Brokerage tool for accessing cloud-based services
CN112256248A (en) * 2020-10-10 2021-01-22 合肥青谷信息科技有限公司 Start-up wisdom cloud low code platform
CN113094039A (en) * 2021-04-12 2021-07-09 中国兵器装备集团自动化研究所有限公司 Automatic code generation system based on database table

Similar Documents

Publication Publication Date Title
WO2022160707A1 (en) Human-machine interaction method and apparatus combined with rpa and ai, and storage medium and electronic device
EP1727045A2 (en) Application framework for use with net-centric application program architectures
CN112835560A (en) WEB multi-terminal low-code intelligent software development platform
CN112748908B (en) Method and device for developing Restful service based on SSM framework
JPH08202545A (en) Object-oriented system and method for generation of target language code
JP2006526209A (en) Software development method and development system using metadata extended under component-based environment
WO2004029797A2 (en) Enterprise scoped software factory
CN115658041A (en) Low code enhancement service implementing method based on-line service flow arrangement
CN115640045B (en) Low-code development platform based on domain-driven design and business system creation method
JP2009238231A (en) Software development method using metadata expanded under component base environment and its development system
CN102375743B (en) SOA(Service-Oriented Architecture) system development method based on model and template
CN108153522B (en) Method for generating Spark and Hadoop program codes by midcore based on model conversion
CN111176660A (en) Distributed architecture-oriented micro-service contract management method and device, computer equipment and readable storage medium
CN117234529A (en) Method for generating API (application program interface) based on DSL (digital subscriber line) analytic resources
CN112328917A (en) SQL (structured query language) writing oriented method for generating http interface service and data display page
JP2011515755A (en) Development method and apparatus for reserved component container base software
CN116755669A (en) Low code development method and tool based on DSL language operation model
CN113805875A (en) Cross-language code automatic generation platform
CN111381811A (en) Software resource integration platform suitable for integration of multiple types of information systems
Davis Model integrated computing: A framework for creating domain specific design environments
JP2010049439A (en) System construction method using software model and modeling device
US20090171896A1 (en) Method and system for generating a link hierarchy
Al Mamun et al. Towards formalizing assumptions on architectural level: A proof-of-concept
Schiedermeier et al. FIDDLR: streamlining reuse with concern-specific modelling languages
Kateros et al. A methodology for model-driven web application composition

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