CN106528165B - Code generating method and code generating system - Google Patents

Code generating method and code generating system Download PDF

Info

Publication number
CN106528165B
CN106528165B CN201611041979.2A CN201611041979A CN106528165B CN 106528165 B CN106528165 B CN 106528165B CN 201611041979 A CN201611041979 A CN 201611041979A CN 106528165 B CN106528165 B CN 106528165B
Authority
CN
China
Prior art keywords
code
content
building template
template
difference
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.)
Active
Application number
CN201611041979.2A
Other languages
Chinese (zh)
Other versions
CN106528165A (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.)
ZTE ICT Technologies Co Ltd
Original Assignee
ZTE ICT Technologies 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 ZTE ICT Technologies Co Ltd filed Critical ZTE ICT Technologies Co Ltd
Priority to CN201611041979.2A priority Critical patent/CN106528165B/en
Publication of CN106528165A publication Critical patent/CN106528165A/en
Application granted granted Critical
Publication of CN106528165B publication Critical patent/CN106528165B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention provides a kind of code generating method and code generating systems, wherein, code generating method includes: acquisition target sample column code, and according to the target sample code establishing code building template, it wherein, include difference content replacement mark and shared content in the code building template;When receiving the instruction for generating code, determine that difference content replacement identifies corresponding filling content, and identify and be filled to difference content replacement using the filling content, with the code building template that obtains that treated;According to code described in treated the code building template generation.According to the technical solution of the present invention, the development efficiency of code can be effectively improved, and ensure the normalization and correctness of code based on the code building template generation code of creation.

Description

Code generating method and code generating system
Technical field
The present invention relates to field of computer technology, in particular to a kind of code generating method and a kind of code building System.
Background technique
In the related technology, during Project-developing, usually there are many duplicate configuration items, such as iBatis configuration text Part, Hibernate configuration file, Struts, Spring, XML (Extensible markup Language, extensible markup Language) configuration etc., general way is in manual newly-built configuration file, duplication XML unified XSD (XML Schemas Definition, XML structure definition) definition of specification head, then node configuration information is created according to standard criterion.This manual wound The mode for building configuration file has following defects that
1, artificial hand-coding Documents Comparison trouble and also be easy error, and different people be likely to form it is a set of oneself Coding style causes code that cannot follow Unified coding specification, takes a substantial amount of time in subsequent debugging and operational process;
2, for database table to entity class object, there are a large amount of repeated encoding processes for data access, interface etc., to each The exploitation of a process requires to carry out code check, and compiling debugging reduces development efficiency.
In response to the above problems, there is presently no effective solution methods.
Summary of the invention
The present invention is based at least one above-mentioned technical problem, proposes a kind of new code building scheme, can be based on The code building template generation code of creation, effectively improves the development efficiency of code, and ensures the normalization and just of code True property.
In view of this, the invention proposes a kind of code generating methods, comprising: obtain target sample column code, and according to institute State target sample code establishing code building template, wherein include difference content replacement mark in the code building template With shared content;When receiving the instruction for generating code, determine that the difference content replacement identifies corresponding filling content, and Difference content replacement mark is filled using the filling content, with the code building template that obtains that treated;Root According to code described in treated the code building template generation.
In the technical scheme, by the target sample code that gets, (target sample code can be user and compile in advance The sample code or selected sample code finished writing) creation code building template, it is determining when receiving the instruction for generating code Difference content replacement in code building template identifies corresponding filling content, and is replaced and marked to difference content using filling content Knowledge is filled, with according to treated code building template generation code, so that being based on code building in code generation process Template, being filled replacement to difference content can be realized code and automatically generates, and without user, writing for repeatability is matched manually Set file, it is ensured that the development efficiency of code is effectively promoted in normalization, the accuracy of the code of generation.
In the above-mentioned technical solutions, it is preferable that the step according to the target sample code establishing code building template Suddenly, it specifically includes: extracting difference content and shared content from the target sample code;Based on the difference content and institute Shared content is stated, the code building template is created;Wherein, it is replaced in the code building template using the difference content Difference content described in mark for marking.
In the technical scheme, difference content and shared content are extracted from target sample code (specifically, can pass through Velocity template engine handles target sample code, certainly can also by Freemarker template engine or its He is handled target sample code self-defined template engine), and it is based on difference content and shared content, create code building Template, it is ensured that the creation efficiency of code building template.Wherein, difference content, which refers to, needs to change in generating coding process, adjust Whole content, shared content refer to some contents that are shared, not needing change in generating coding process.
In any of the above-described technical solution, it is preferable that the difference content replacement mark includes placeholder.
In any of the above-described technical solution, it is preferable that further include: in the generation according to the target sample code establishing During code generates template, judge whether the code building template needs to be associated with target database;Described in determination It is target database described in the code building template configuration when code building template need to be associated with the target database, In, the filling content for filling the difference content replacement mark is stored in the target database;Determining the generation When code generation template is not required to be associated with the target database, it is configured in the filling for filling the difference content replacement mark Hold the incidence relation with difference content replacement mark.
In the technical scheme, during the creation of code building template, whether can be needed according to code building template with The judging result that target database is associated is further determined as code building template configuration target database or difference The incidence relation of content replacement mark and filling content, meets different configuration needs.
In any of the above-described technical solution, it is preferable that the determination difference content replacement identifies corresponding filling The step of content, specifically includes: according to the target database or the incidence relation, determining the difference content replacement mark Corresponding filling content.
It in the technical scheme, can be from database when determining that difference content replacement identifies corresponding filling content It searches, can also be searched according to incidence relation, it is ensured that can correctly find corresponding filling content, be subsequent code It automatically generates and premise guarantee is provided.
In any of the above-described technical solution, it is preferable that described instruction includes the storing path of the code, the code Generation method further include: the code is saved according to the storing path of the code.
In the technical scheme, code can be saved according to the storing path of code, searches and manages convenient for user Code.
According to the second aspect of the invention, a kind of code generating system is proposed, comprising: template generation unit, for obtaining Target sample column code is taken, and according to the target sample code establishing code building template, wherein in the code building template It include difference content replacement mark and shared content;Determination unit, for determining institute when receiving the instruction for generating code It states difference content replacement and identifies corresponding filling content;Fills unit, for using the filling content to the difference content Replacement mark is filled, with the code building template that obtains that treated;Code generating unit, for treated according to Code described in code building template generation.
In the technical scheme, by the target sample code that gets, (target sample code can be user and compile in advance The sample code or selected sample code finished writing) creation code building template, it is determining when receiving the instruction for generating code Difference content replacement in code building template identifies corresponding filling content, and is replaced and marked to difference content using filling content Knowledge is filled, with according to treated code building template generation code, so that being based on code building in code generation process Template, being filled replacement to difference content can be realized code and automatically generates, and without user, writing for repeatability is matched manually Set file, it is ensured that the development efficiency of code is effectively promoted in normalization, the accuracy of the code of generation.
In the above-mentioned technical solutions, it is preferable that the template generation unit is specifically used for: from the target sample code Extract difference content and shared content;Based on the difference content and the shared content, the code building template is created; Wherein, difference content described in difference content replacement mark for marking is used in the code building template.
In the technical scheme, difference content and shared content are extracted from target sample code (specifically, can pass through Velocity template engine handles target sample code, certainly can also by Freemarker template engine or its He is handled target sample code self-defined template engine), and it is based on difference content and shared content, create code building Template, it is ensured that the creation efficiency of code building template.Wherein, difference content, which refers to, needs to change in generating coding process, adjust Whole content, shared content refer to some contents that are shared, not needing change in generating coding process.
In any of the above-described technical solution, it is preferable that the difference content replacement mark includes placeholder.
In any of the above-described technical solution, it is preferable that further include: judging unit, for according to the target sample During code building template described in code establishing, judge whether the code building template needs to be closed with target database Connection;Configuration unit, for being when the judging unit determines that the code building template need to be associated with the target database Target database described in the code building template configuration, wherein be stored in the target database for filling the difference The filling content of different content replacement mark, and determine that the code building template is not required to and the target in the judging unit When database association, it is configured to the filling content for filling the difference content replacement mark and difference content replacement identifies Incidence relation.
In the technical scheme, during the creation of code building template, whether can be needed according to code building template with The judging result that target database is associated is further determined as code building template configuration target database or difference The incidence relation of content replacement mark and filling content, meets different configuration needs.
In any of the above-described technical solution, it is preferable that the determination unit is specifically used for: according to the target database Or the incidence relation, determine that the difference content replacement identifies corresponding filling content.
It in the technical scheme, can be from database when determining that difference content replacement identifies corresponding filling content It searches, can also be searched according to incidence relation, it is ensured that can correctly find corresponding filling content, be subsequent code It automatically generates and premise guarantee is provided.
In any of the above-described technical solution, it is preferable that described instruction includes the storing path of the code, the code Generation system further include: storage unit saves the code for the storing path according to the code.
In the technical scheme, code can be saved according to the storing path of code, searches and manages convenient for user Code.
By above technical scheme, opening for code can be effectively improved based on the code building template generation code of creation Efficiency is sent out, and ensures the normalization and correctness of code.
Detailed description of the invention
Fig. 1 shows the schematic flow diagram of the code generating method of embodiment according to the present invention;
Fig. 2 shows the schematic block diagrams of code generating system according to an embodiment of the invention;
Fig. 3 shows the schematic block diagram of code generating system according to another embodiment of the invention;
Fig. 4 shows the schematic flow diagram of the exchange method of each unit in the code generating system in Fig. 3.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real Applying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application Feature in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also To be implemented using other than the one described here other modes, therefore, protection scope of the present invention is not by described below Specific embodiment limitation.
Fig. 1 shows the schematic flow diagram of the code generating method of embodiment according to the present invention.
As shown in Figure 1, the code generating method of embodiment according to the present invention, comprising:
Step 102, target sample column code is obtained, and according to the target sample code establishing code building template, wherein It include difference content replacement mark and shared content in the code building template.
Step 104, when receiving the instruction for generating code, determine that the difference content replacement identifies in corresponding filling Hold, and difference content replacement is identified using the filling content and is filled, with the code building mould that obtains that treated Plate.
Step 106, the code according to treated the code building template generation.
In the technical scheme, by the target sample code that gets, (target sample code can be user and compile in advance The sample code or selected sample code finished writing) creation code building template, it is determining when receiving the instruction for generating code Difference content replacement in code building template identifies corresponding filling content, and is replaced and marked to difference content using filling content Knowledge is filled, with according to treated code building template generation code, so that being based on code building in code generation process Template, being filled replacement to difference content can be realized code and automatically generates, and without user, writing for repeatability is matched manually Set file, it is ensured that the development efficiency of code is effectively promoted in normalization, the accuracy of the code of generation.
In the above-mentioned technical solutions, it is preferable that the step according to the target sample code establishing code building template Suddenly, it specifically includes: extracting difference content and shared content from the target sample code;Based on the difference content and institute Shared content is stated, the code building template is created;Wherein, it is replaced in the code building template using the difference content Difference content described in mark for marking.
In the technical scheme, difference content and shared content are extracted from target sample code (specifically, can pass through Velocity template engine handles target sample code, certainly can also by Freemarker template engine or its He is handled target sample code self-defined template engine), and it is based on difference content and shared content, create code building Template, it is ensured that the creation efficiency of code building template.Wherein, difference content, which refers to, needs to change in generating coding process, adjust Whole content, shared content refer to some contents that are shared, not needing change in generating coding process.
In any of the above-described technical solution, it is preferable that the difference content replacement mark includes placeholder.
In any of the above-described technical solution, it is preferable that further include: in the generation according to the target sample code establishing During code generates template, judge whether the code building template needs to be associated with target database;Described in determination It is target database described in the code building template configuration when code building template need to be associated with the target database, In, the filling content for filling the difference content replacement mark is stored in the target database;Determining the generation When code generation template is not required to be associated with the target database, it is configured in the filling for filling the difference content replacement mark Hold the incidence relation with difference content replacement mark.
In the technical scheme, during the creation of code building template, whether can be needed according to code building template with The judging result that target database is associated is further determined as code building template configuration target database or difference The incidence relation of content replacement mark and filling content, meets different configuration needs.
In any of the above-described technical solution, it is preferable that the determination difference content replacement identifies corresponding filling The step of content, specifically includes: according to the target database or the incidence relation, determining the difference content replacement mark Corresponding filling content.
It in the technical scheme, can be from database when determining that difference content replacement identifies corresponding filling content It searches, can also be searched according to incidence relation, it is ensured that can correctly find corresponding filling content, be subsequent code It automatically generates and premise guarantee is provided.
In any of the above-described technical solution, it is preferable that described instruction includes the storing path of the code, the code Generation method further include: the code is saved according to the storing path of the code.
In the technical scheme, code can be saved according to the storing path of code, searches and manages convenient for user Code.
Fig. 2 shows the schematic block diagrams of code generating system according to an embodiment of the invention.
As shown in Fig. 2, code generating system 200 according to an embodiment of the invention, comprising: template generation unit 202, determination unit 204, fills unit 206 and code generating unit 208.
Wherein, template generation unit 202 is used to obtain target sample column code, and according to the target sample code establishing generation Code generates template, wherein includes difference content replacement mark and shared content in the code building template;Determination unit 204 for when receiving the instruction for generating code, determining that the difference content replacement identifies corresponding filling content;Filling is single Member 206 is for being filled difference content replacement mark using the filling content, with the code life that obtains that treated At template;Code generating unit 208 is used for code described in treated the code building template generation according to.
In the technical scheme, by the target sample code that gets, (target sample code can be user and compile in advance The sample code or selected sample code finished writing) creation code building template, it is determining when receiving the instruction for generating code Difference content replacement in code building template identifies corresponding filling content, and is replaced and marked to difference content using filling content Knowledge is filled, with according to treated code building template generation code, so that being based on code building in code generation process Template, being filled replacement to difference content can be realized code and automatically generates, and without user, writing for repeatability is matched manually Set file, it is ensured that the development efficiency of code is effectively promoted in normalization, the accuracy of the code of generation.
In the above-mentioned technical solutions, it is preferable that the template generation unit 202 is specifically used for: from the target sample generation Difference content and shared content are extracted in code;Based on the difference content and the shared content, the code building is created Template;Wherein, difference content described in difference content replacement mark for marking is used in the code building template.
In the technical scheme, difference content and shared content are extracted from target sample code (specifically, can pass through Velocity template engine handles target sample code, certainly can also by Freemarker template engine or its He is handled target sample code self-defined template engine), and it is based on difference content and shared content, create code building Template, it is ensured that the creation efficiency of code building template.Wherein, difference content, which refers to, needs to change in generating coding process, adjust Whole content, shared content refer to some contents that are shared, not needing change in generating coding process.
In any of the above-described technical solution, it is preferable that the difference content replacement mark includes placeholder.
In any of the above-described technical solution, it is preferable that further include: judging unit 210, for according to the target sample During code building template described in example code establishing, judge whether the code building template needs to carry out with target database Association;Configuration unit 212, for determining that the code building template need to be with the target database in the judging unit 210 It is target database described in the code building template configuration, wherein be stored in the target database for filling out when association The filling content of the difference content replacement mark is filled, and determines the code building template not in the judging unit 210 When need to be associated with the target database, it is configured to fill the filling content and the difference of the difference content replacement mark The incidence relation of content replacement mark.
In the technical scheme, during the creation of code building template, whether can be needed according to code building template with The judging result that target database is associated is further determined as code building template configuration target database or difference The incidence relation of content replacement mark and filling content, meets different configuration needs.
In any of the above-described technical solution, it is preferable that the determination unit 204 is specifically used for: according to the number of targets According to library or the incidence relation, determine that the difference content replacement identifies corresponding filling content.
It in the technical scheme, can be from database when determining that difference content replacement identifies corresponding filling content It searches, can also be searched according to incidence relation, it is ensured that can correctly find corresponding filling content, be subsequent code It automatically generates and premise guarantee is provided.
In any of the above-described technical solution, it is preferable that described instruction includes the storing path of the code, the code Generation system further include: storage unit 214 saves the code for the storing path according to the code.
In the technical scheme, code can be saved according to the storing path of code, searches and manages convenient for user Code.
Technical solution of the present invention is described further below in conjunction with Fig. 3 and Fig. 4.
As shown in figure 3, in the present embodiment, code generating system 300 includes: template configuration unit 302, data source adaptation Unit 304 and code generating unit 306.The customized generation according to their own needs of template configuration unit 302 can be used in user Code building template covers configuration file, interface document, entity class file, mapped file etc.;Data source adaptation unit 304 can For configuration code generate template data source, can support the common data-driven of industry, such as: mysql, oracle, db2, Sqlserver etc.;Code generating unit 306 is filled the placeholder in code building template with corresponding filling content, Generate complete code.
Specifically, as shown in figure 4, treatment process between each unit:
One, the process flow of template configuration unit 302
Step 1: according to normal flow, writing a sample code (i.e. target sample code).
Step 2: according to the content abstraction of sample code and extracting difference section content.
Step 3: replacement difference section is placeholder;
Step 4: judging whether code building is related to database manipulation part, if so, jumping to data source adaptation unit 304 Carry out the configuration of data source;Otherwise, the information content (i.e. filling content) that configuration placeholder needs to replace.
Two, the process flow of data source adaptation unit 304
Select the corresponding type of database driving of code building template, and the entity table that selection needs to generate, entity table In be stored with filling content.
Three, the process flow of code generating unit 306
Step 1: after template configuration unit 302 defines template file, read these files, specify starting class and It is specified to need to generate code startup program.
Step 2: configuration code generates the path for needing to save.
Step 3: according to template configuration before, judging whether code building template is connected to database.
Step 4: when code building template is connected to database, directly obtaining placeholder into data source adaptation unit 304 The content for needing to fill specifically can obtain filling content according to entity table information by metadata driven, or in code building Template unconnected data library, directly from template configuration unit 302 obtain placeholder mapping in content to be filled.
Step 5: according to the mapping relations of placeholder and filling content, executing code generation operation;
Step 6: the code saved according to specified storing path.
In the above-described embodiments, code building template is not limited to programming language, can carry out template to any language Configuration and formulation can be also code building template configuration database-driven metadata schema by data source adaptation unit, furthermore All kinds of configuration files can also be quickly generated according to the type of database and field type of metadata, such as mapped file, entity class File etc., in actual items, no matter more complicated systems, centainly more or less have between different service logics similar Code can carry out abstract extraction to code content, and difference section is substituted using placeholder, raw using Velocity template engine At the code of partial content, and even if there is the content of some non-general character, can also continue to modify in the code of generation, so that The code of generation is more preferably safeguarded, is more standardized, is able to maintain style unification, can be widely applied to as constructed script template Generation, static resource template generation, Java code etc. have the product of templating code building demand.
The technical scheme of the present invention has been explained in detail above with reference to the attached drawings, and technical solution of the present invention proposes a kind of new Code building scheme can effectively improve the development efficiency of code, and ensure based on the code building template generation code of creation The normalization and correctness of code.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (8)

1. a kind of code generating method characterized by comprising
Target sample code is obtained, and according to the target sample code establishing code building template, wherein the code is raw At include in template difference content replacement mark and shared content;
When receiving the instruction for generating code, determine that the difference content replacement identifies corresponding filling content, and use institute It states filling content to be filled difference content replacement mark, with the code building template that obtains that treated;
According to code described in treated the code building template generation;
During the code building template according to the target sample code establishing, judge that the code building template is It is no to be associated with target database;
It is described in the code building template configuration when determining that the code building template need to be associated with the target database Target database, wherein the filling content for filling the difference content replacement mark is stored in the target database;
When determining that the code building template is not required to be associated with the target database, it is configured to fill the difference content Replace the filling content of mark and the incidence relation of difference content replacement mark;
It is described according to the target sample code establishing code building template the step of, specifically include:
By Velocity template engine, Freemarker template engine or self-defined template engine to the target sample code It is handled, extracts difference content and shared content;
Based on the difference content and the shared content, the code building template is created;
Wherein, difference content described in difference content replacement mark for marking is used in the code building template.
2. code generating method according to claim 1, which is characterized in that the difference content replacement mark includes occupy-place Symbol.
3. code generating method according to claim 1, which is characterized in that the determination difference content replacement mark It the step of corresponding filling content, specifically includes:
According to the target database or the incidence relation, determine that the difference content replacement identifies corresponding filling content.
4. code generating method according to claim 1 or 2, which is characterized in that described instruction includes the guarantor of the code Deposit path, the code generating method further include:
The code is saved according to the storing path of the code.
5. a kind of code generating system characterized by comprising
Template generation unit, for obtaining target sample code, and according to the target sample code establishing code building mould Plate, wherein include difference content replacement mark and shared content in the code building template;
Determination unit, for when receiving the instruction for generating code, determining that the difference content replacement identifies corresponding filling Content;
Fills unit, for being filled using the filling content to difference content replacement mark, after obtaining processing Code building template;
Code generating unit, for code described in treated the code building template generation according to;
Judging unit is used for during the code building template according to the target sample code establishing, described in judgement Whether code building template needs is associated with target database;
Configuration unit, for when the judging unit determines that the code building template need to be associated with the target database, For target database described in the code building template configuration, wherein be stored in the target database described for filling The filling content of difference content replacement mark, and determine that the code building template is not required to and the mesh in the judging unit When marking database association, it is configured to the filling content for filling the difference content replacement mark and difference content replacement is marked The incidence relation of knowledge;
The template generation unit is specifically used for:
By Velocity template engine, Freemarker template engine or self-defined template engine to the target sample code It is handled, extracts difference content and shared content;
Based on the difference content and the shared content, the code building template is created;
Wherein, difference content described in difference content replacement mark for marking is used in the code building template.
6. code generating system according to claim 5, which is characterized in that the difference content replacement mark includes occupy-place Symbol.
7. code generating system according to claim 5, which is characterized in that the determination unit is specifically used for:
According to the target database or the incidence relation, determine that the difference content replacement identifies corresponding filling content.
8. code generating system according to claim 5 or 6, which is characterized in that described instruction includes the guarantor of the code Deposit path, the code generating system further include:
Storage unit saves the code for the storing path according to the code.
CN201611041979.2A 2016-11-11 2016-11-11 Code generating method and code generating system Active CN106528165B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611041979.2A CN106528165B (en) 2016-11-11 2016-11-11 Code generating method and code generating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611041979.2A CN106528165B (en) 2016-11-11 2016-11-11 Code generating method and code generating system

Publications (2)

Publication Number Publication Date
CN106528165A CN106528165A (en) 2017-03-22
CN106528165B true CN106528165B (en) 2019-10-08

Family

ID=58356401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611041979.2A Active CN106528165B (en) 2016-11-11 2016-11-11 Code generating method and code generating system

Country Status (1)

Country Link
CN (1) CN106528165B (en)

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6842971B2 (en) * 2017-03-31 2021-03-17 株式会社日立社会情報サービス Template generator, template generator and program
CN107391149A (en) * 2017-07-28 2017-11-24 郑州云海信息技术有限公司 The code generating method and device of a kind of hardware platform
CN108304175B (en) * 2018-01-29 2021-06-08 口碑(上海)信息技术有限公司 Code file isolation packaging method and device
CN109032662B (en) * 2018-06-19 2021-03-23 未鲲(上海)科技服务有限公司 Code file generation method and device, computer equipment and storage medium
CN109086043A (en) * 2018-06-27 2018-12-25 珠海宏桥高科技有限公司 A kind of method and apparatus for quickly generating WEB project based on configuration
CN109032584A (en) * 2018-07-27 2018-12-18 郑州云海信息技术有限公司 A kind of generation method of cascading style sheets, device, equipment and medium
CN109271161B (en) * 2018-08-20 2024-06-04 中国平安人寿保险股份有限公司 Template code generation method and device, storage device and computer device
CN109063181B (en) * 2018-08-23 2024-07-12 北京达佳互联信息技术有限公司 Data configuration method, device, server and storage medium
CN109375943A (en) * 2018-10-18 2019-02-22 中国银行股份有限公司 A kind of program file generation method and device
CN109783336A (en) * 2018-12-18 2019-05-21 中国平安人寿保险股份有限公司 Data analyze scenario generation method, device, medium and electronic equipment
CN110209388A (en) * 2019-05-29 2019-09-06 广州酷车信息科技有限公司 The generation method of applet file
CN110442329A (en) * 2019-06-26 2019-11-12 平安科技(深圳)有限公司 Generation method, device, storage medium and the computer equipment of code segment
CN111399853B (en) * 2020-02-20 2023-06-06 四川新网银行股份有限公司 Templated deployment method for machine learning model and custom operator
CN112162744A (en) * 2020-09-30 2021-01-01 中国工商银行股份有限公司 Automatic code generation method and device based on business scene
CN112667202B (en) * 2020-12-07 2023-06-30 南方电网数字电网研究院有限公司 Software design method and device combining MDA and BPMN
CN112667204B (en) * 2020-12-15 2024-01-23 南方电网数字平台科技(广东)有限公司 Data processing method and device for micro-service application and computer equipment
CN112799657A (en) * 2021-01-27 2021-05-14 浪潮云信息技术股份公司 Code automatic generation system for simplifying development
CN113126974B (en) * 2021-06-17 2021-09-28 北京壁仞科技开发有限公司 Code generation/execution method, device, equipment and storage medium
CN113535147A (en) * 2021-07-20 2021-10-22 挂号网(杭州)科技有限公司 Method and device for generating calling code, electronic terminal and storage medium
CN113608726B (en) * 2021-07-30 2023-08-11 三一专用汽车有限责任公司 Code generation method, device, electronic equipment and storage medium
CN113805877B (en) * 2021-09-26 2024-06-25 工银科技有限公司 Project engineering construction method and device based on IDEA plug-in
CN113918664B (en) * 2021-12-14 2022-06-14 阿里云计算有限公司 Data processing method and device
CN114547085B (en) * 2022-03-22 2023-05-05 中国铁塔股份有限公司 Data processing method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508669A (en) * 2011-11-14 2012-06-20 浙江鸿程计算机系统有限公司 Automatic program code generating method
CN103631601A (en) * 2013-12-10 2014-03-12 北京中电普华信息技术有限公司 Code generation method and code generation device
CN104035754A (en) * 2013-03-05 2014-09-10 北大方正集团有限公司 XML (Extensible Markup Language)-based custom code generation method and generator
CN104035873A (en) * 2014-06-30 2014-09-10 青岛海信电器股份有限公司 Method and device for generating testing codes
CN104331285A (en) * 2014-10-30 2015-02-04 北京思特奇信息技术股份有限公司 Automatic code generation method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508669A (en) * 2011-11-14 2012-06-20 浙江鸿程计算机系统有限公司 Automatic program code generating method
CN104035754A (en) * 2013-03-05 2014-09-10 北大方正集团有限公司 XML (Extensible Markup Language)-based custom code generation method and generator
CN103631601A (en) * 2013-12-10 2014-03-12 北京中电普华信息技术有限公司 Code generation method and code generation device
CN104035873A (en) * 2014-06-30 2014-09-10 青岛海信电器股份有限公司 Method and device for generating testing codes
CN104331285A (en) * 2014-10-30 2015-02-04 北京思特奇信息技术股份有限公司 Automatic code generation method and system

Also Published As

Publication number Publication date
CN106528165A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
CN106528165B (en) Code generating method and code generating system
CA2779087C (en) Managing record format information
US7340475B2 (en) Evaluating dynamic expressions in a modeling application
US10061787B2 (en) Unified data model for integration between relational and non-relational databases
US20120054147A1 (en) System and method for extract, transform, and load workflow generation
CN110134671B (en) Traceability application-oriented block chain database data management system and method
US20060235899A1 (en) Method of migrating legacy database systems
CN106537332A (en) Systems and methods for software analytics
US20110161938A1 (en) Including defect content in source code and producing quality reports from the same
US7505991B2 (en) Semantic model development and deployment
US8346773B2 (en) Product classification system
CN106843878B (en) A kind of model generating method and system
EP2628071A1 (en) Method and system for developing data integration applications with reusable semantic types to represent and process application data
JP2018505506A (en) Machine-based instruction editing
US20160132308A1 (en) Leveraging legacy applications for use with modern applications
WO2021253641A1 (en) Shading language translation method
US20070112886A1 (en) Method and apparatus for database change management
CN110162299A (en) Web program and its Quick Development Framework, development approach and relevant device
US9652478B2 (en) Method and apparatus for generating an electronic document schema from a relational model
CN108932225B (en) Method and system for converting natural language requirements into semantic modeling language statements
CN101727451A (en) Method and device for extracting information
CN109408592A (en) The Feature Engineering knowledge base and its implementation of AI in a kind of decision type distributed data base system
CN105426676A (en) Drilling data processing method and system
US20130042224A1 (en) Application analysis device
WO2017071777A1 (en) Generation of a data type code value for a data type

Legal Events

Date Code Title Description
C06 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