CN112433717A - Code automatic generation method and device and electronic equipment - Google Patents

Code automatic generation method and device and electronic equipment Download PDF

Info

Publication number
CN112433717A
CN112433717A CN202011514042.9A CN202011514042A CN112433717A CN 112433717 A CN112433717 A CN 112433717A CN 202011514042 A CN202011514042 A CN 202011514042A CN 112433717 A CN112433717 A CN 112433717A
Authority
CN
China
Prior art keywords
interface
dsl
code
automatically generating
user interface
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
CN202011514042.9A
Other languages
Chinese (zh)
Other versions
CN112433717B (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.)
Hangzhou Miluoxing Technology Group Co ltd
Original Assignee
Hangzhou Miluoxing Technology Group 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 Hangzhou Miluoxing Technology Group Co ltd filed Critical Hangzhou Miluoxing Technology Group Co ltd
Priority to CN202011514042.9A priority Critical patent/CN112433717B/en
Publication of CN112433717A publication Critical patent/CN112433717A/en
Application granted granted Critical
Publication of CN112433717B publication Critical patent/CN112433717B/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/35Creation or generation of source code model driven
    • 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
    • G06F8/315Object-oriented languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • G06F8/427Parsing

Landscapes

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

Abstract

The invention provides a code automatic generation method, a device and electronic equipment, wherein the method comprises the following steps: acquiring an interface name of an application program interface; and automatically generating codes according to the interface name and the preset DSL semantic rule. The invention can automatically generate codes, reduce time and labor cost and improve code compiling efficiency.

Description

Code automatic generation method and device and electronic equipment
Technical Field
The invention relates to the technical field of software development, in particular to a code automatic generation method and device and electronic equipment.
Background
In the software development process, a conventional development method is adopted, program source codes are written by developers line by line, and the workload of the developers is large. For different Application programs, network layer API (Application Programming Interface) codes and Interface data models need to be manually written repeatedly, and for UI (User Interface) layer file codes, codes are manually written according to design drawings provided by design in a manual manner. Therefore, the existing method has high time and labor cost and low code writing efficiency.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for automatically generating a code, and an electronic device, which can automatically generate a code, reduce time and labor cost, and improve code compiling efficiency.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, an embodiment of the present invention provides an automatic code generation method, including: acquiring an interface name of an application program interface; and automatically generating codes according to the interface name and the preset DSL semantic rule.
In one embodiment, the code comprises a network layer code, and the step of automatically generating the code according to the interface name and the preset DSL semantic rule comprises: determining an interface request mode and interface parameters corresponding to the interface name according to the interface name; determining interface request return data according to the interface name, the interface request mode and the interface parameters; and automatically generating a network layer code which accords with the preset DSL semantic rule according to the returned data of the interface request.
In one embodiment, the step of automatically generating a network layer code according to the preset DSL semantic rule according to the interface request returned data includes: acquiring a target coding platform and a target DSL semantic rule corresponding to the target coding platform; and automatically generating a network layer code which accords with the semantic rule of the target DSL based on the target coding platform and the interface request return data.
In one embodiment, the method further comprises: and returning data according to the interface request to generate a data model corresponding to the target coding platform.
In one embodiment, the code comprises a user interface layer code, and the step of automatically generating the code according to the interface name and the preset DSL semantic rules comprises: determining a user interface file corresponding to the interface name according to the interface name; and automatically generating a user interface layer code according to the user interface file and a preset DSL semantic rule.
In one embodiment, the step of automatically generating the user interface layer code according to the user interface file and the preset DSL semantic rules comprises: parsing the user interface file into a hypertext markup language file; and automatically generating user interface layer codes and controls which accord with preset DSL semantic rules according to the hypertext markup language file.
In one embodiment, the step of automatically generating the user interface layer code and the control according to the preset DSL semantic rule from the html file includes: acquiring a target coding platform and a target DSL semantic rule corresponding to the target coding platform; wherein, the target DSL semantic rule comprises a user interface rule; and automatically generating user interface layer codes and controls which accord with user interface rules according to the target coding platform and the hypertext markup language file.
In a second aspect, an embodiment of the present invention provides an automatic code generation apparatus, including: the interface determining module is used for acquiring the interface name of the application program interface; and the code generation module is used for automatically generating codes according to the interface name and the preset DSL semantic rule.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor and a memory, where the memory stores computer-executable instructions capable of being executed by the processor, and the processor executes the computer-executable instructions to implement the steps of any one of the methods provided in the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of any one of the methods provided in the first aspect.
The embodiment of the invention has the following beneficial effects:
according to the automatic code generation method, the automatic code generation device and the electronic equipment, provided by the embodiment of the invention, the interface name of an application program interface is firstly obtained; and then automatically generating codes according to the interface names and preset DSL semantic rules. The method can automatically generate the codes according to the preset DSL semantic rule, thereby reducing repeated work of developers, reducing time and labor cost and improving code compiling efficiency.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
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 some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of an automatic code generation method according to an embodiment of the present invention;
fig. 2 is a schematic view of an operation interface for automatically generating a network layer code according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an automatic code generation apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. 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.
Currently, in the software development technology, generally, an interface code, a network request, a data model and the like are compiled through a manual debugging interface; when a network request is accessed to a front-end project, a network interface layer API and an interface return data model also need to be repeatedly compiled in a manual intensive labor mode; and for the UI layer file code, manually writing the code according to a design drawing provided by the design in a manual mode. Therefore, the existing method has high time and labor cost and low code writing efficiency.
Based on this, the method, the device and the electronic equipment for automatically generating the code provided by the embodiment of the invention can automatically generate the code, reduce time and labor cost and improve code compiling efficiency.
To facilitate understanding of the present embodiment, first, a detailed description is given of an automatic code generation method disclosed in the embodiment of the present invention, which may be executed by an electronic device, in which an automatic code generation tool may be installed, and referring to a flowchart of an automatic code generation method shown in fig. 1, it is illustrated that the method mainly includes steps S102 to S104:
step S102: and acquiring the interface name of the application program interface.
An Application Program Interface (API) is an interface between a program and an operating system, which is provided by the operating system to a programmer, and is used by the developer at the time of programming. In one embodiment, the developer may determine the interface name from an API provided in the background of the system.
Step S104: and automatically generating codes according to the interface name and the preset DSL semantic rule.
In one embodiment, the developer may pre-define a set of DSL (Domain Specific Language) semantic rules to be built into the system. Specific DSL semantic rules need to comply with code specifications of the coding platform and cooperation specifications among all departments, different DSL semantic rules correspond to different coding platforms (such as IOS, android, front end JS and the like), and developers can select the corresponding coding platform according to actual requirements in the coding process, namely, select the corresponding DSL semantic rule.
In a practical application, a developer can return data according to an interface name and related interface parameters, select a coding platform, and automatically generate a code according with a rule according to a DSL semantic rule corresponding to the coding platform.
According to the automatic code generation method provided by the embodiment of the invention, the interface name of the application program interface can be obtained firstly; and then automatically generating codes according to the interface names and preset DSL semantic rules. The method can automatically generate the mother according to the preset DSL semantic rule, thereby reducing repeated work of developers, reducing time and labor cost and improving code compiling efficiency.
Further, the code automatically generated by the method comprises: for convenience of understanding, the embodiment of the present invention further provides specific implementation manners for automatically generating the network layer code and the user interface layer code, that is, the foregoing step S104 mainly includes the following two implementation manners.
Network layer code generation
When generating network layer code, the step of automatically generating code according to interface name and preset DSL semantic rule mainly includes the following steps a1 to a 3:
step a 1: and determining an interface request mode and interface parameters corresponding to the interface name according to the interface name.
In one embodiment, the developer may select an interface request mode based on the interface name, such as: GET or POST, and the like, and simultaneously can input interface parameters corresponding to the interface names; it is also possible to choose whether to sign, create a model, and carry a token, etc.
Step a 2: and determining the interface request return data according to the interface name, the interface request mode and the interface parameters.
After the interface name, the interface request mode and the interface parameters are all determined, if the interface name is correct, the interface request return data can be obtained.
Step a 3: and automatically generating a network layer code which accords with the preset DSL semantic rule according to the returned data of the interface request.
In one embodiment, after the interface request return data is obtained, the target coding platform and the target DSL semantic rule corresponding to the target coding platform need to be obtained, that is, a developer can select the coding platform according to actual requirements; network layer code (i.e., API interface file class) conforming to the target DSL semantic rules is then automatically generated based on the target coding platform and the interface request return data, such as: a network request class, a network model class, and a model service class, etc.
Further, in consideration of different syntax rules corresponding to different coding platforms, the method provided by the embodiment of the present invention further includes: and returning data according to the interface request to generate a data model corresponding to the target coding platform. Specifically, JSON (JavaScript Object notification, which is a data exchange format) data can be generated by parsing according to an interface name and related interface parameters, and then a corresponding data model (that is, a rule and an attribute definition of a corresponding class of a coding platform) is automatically generated according to the JSON data and a target DSL semantic rule, and an interface request, returned data, and the like can be realized based on the data model.
For convenience of understanding, an operation interface schematic diagram for automatically generating a network layer code is further provided in an embodiment of the present invention, and is shown in fig. 2. A developer may input an interface name (URL), select an interface request method (method), whether to Sign (Sign), whether to create a Model (Model), whether to carry header information such as token (auth), and the like in fig. 2, and may also input interface parameters such as a, b, c, token, and the like. After the data input is completed, developers can click to 'acquire data', if interface names are correct, corresponding interface requests can be acquired and returned to the data, and the data are displayed on a panel; then, the developer can select the coding platform and click the 'generation file', namely, the network layer code can be generated according to the coding platform and the corresponding DSL semantic rule.
It will be appreciated that fig. 2 is merely exemplary, and in practice, the operator interface may contain more or less content than in fig. 2.
(II) Generation of user interface layer code
When generating the user interface layer code, the step of automatically generating the code according to the interface name and the preset DSL semantic rule mainly comprises the following steps b1 to b 2:
step b 1: and determining the user interface file corresponding to the interface name according to the interface name.
In an embodiment, when a developer develops UI layer code, it first needs to obtain a user interface file (UI file), and for different APIs, the UI file may be the same or different, and specifically, the UI file may be obtained according to a control design drawing.
Step b 2: and automatically generating a user interface layer code according to the user interface file and a preset DSL semantic rule.
In one embodiment, a developer may drag a user interface file into a code automation layer tool, parsing the user interface file into a Hyper Text Markup Language (HTML) file; and then automatically generating user interface layer codes and controls which accord with preset DSL semantic rules according to the hypertext markup language file.
Further, the embodiment of the present invention further provides a specific implementation manner for automatically generating a user interface layer code and a control that conform to a preset DSL semantic rule according to a hypertext markup language file, that is, first, a target coding platform and a target DSL semantic rule corresponding to the target coding platform are obtained; wherein, the target DSL semantic rules comprise user interface rules (UI rules); and then automatically generating user interface layer codes and controls which accord with user interface rules according to the target coding platform and the hypertext markup language file. Specifically, the UI design needs to comply with certain specifications, such as the labeling of button types to use buttons uniformly, and the like.
For automatically generating UI layer codes, developers can directly insert UI files into an operation interface to obtain related data; then, a developer selects a coding platform and clicks 'generate file', and then network layer codes (UI file classes) and corresponding controls can be generated according to the coding platform and UI rules in the corresponding DSL semantic rules.
In summary, the automatic code generation method provided in the embodiment of the present invention can use an automatic code generation tool to automatically generate network layer and UI layer codes according to a set of customized DSL semantic rules, which can reduce repetitive work, so that developers can pay more attention to services themselves, instead of spending time in writing repetitive UI layer and network layer codes, thereby reducing time and labor costs and improving code writing efficiency.
For the code automatic generation method provided by the foregoing embodiment, an embodiment of the present invention further provides an automatic code generation apparatus, and referring to a schematic structural diagram of the automatic code generation apparatus shown in fig. 3, the apparatus may include the following components:
the interface determining module 301 is configured to obtain an interface name of an application program interface.
And a code generation module 302, configured to automatically generate a code according to the interface name and a preset DSL semantic rule.
The automatic code generation device provided by the embodiment of the invention can firstly obtain the interface name of the application program interface; and then automatically generating codes according to the interface names and preset DSL semantic rules. The device can automatically generate codes according to the preset DSL semantic rule, thereby reducing repeated work of developers, reducing time and labor cost and improving code compiling efficiency.
In an embodiment, the code includes a network layer code, and the code generating module 302 is further configured to determine an interface request mode and an interface parameter corresponding to the interface name according to the interface name; determining interface request return data according to the interface name, the interface request mode and the interface parameters; and automatically generating a network layer code which accords with the preset DSL semantic rule according to the returned data of the interface request.
In an embodiment, the code generating module 302 is further configured to obtain a target coding platform and a target DSL semantic rule corresponding to the target coding platform; and automatically generating a network layer code which accords with the semantic rule of the target DSL based on the target coding platform and the interface request return data.
In an implementation manner, the apparatus further includes a data model generating module, configured to generate a data model corresponding to the target coding platform according to the interface request returned data.
In an embodiment, the code includes a user interface layer code, and the code generating module 302 is further configured to determine a user interface file corresponding to the interface name according to the interface name; and automatically generating a user interface layer code according to the user interface file and a preset DSL semantic rule.
In an embodiment, the code generating module 302 is further configured to parse the user interface file into a hypertext markup language file; and automatically generating user interface layer codes and controls which accord with preset DSL semantic rules according to the hypertext markup language file.
In an embodiment, the code generating module 302 is further configured to obtain a target coding platform and a target DSL semantic rule corresponding to the target coding platform; the target DSL semantic rule comprises a user interface rule; and automatically generating user interface layer codes and controls which accord with user interface rules according to the target coding platform and the hypertext markup language file.
The device provided by the embodiment of the present invention has the same implementation principle and technical effect as the method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the method embodiments without reference to the device embodiments.
The embodiment of the invention also provides electronic equipment, which specifically comprises a processor and a storage device; the storage means has stored thereon a computer program which, when executed by the processor, performs the method of any of the above embodiments.
Fig. 4 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present invention, where the electronic device 100 includes: a processor 40, a memory 41, a bus 42 and a communication interface 43, wherein the processor 40, the communication interface 43 and the memory 41 are connected through the bus 42; the processor 40 is arranged to execute executable modules, such as computer programs, stored in the memory 41.
The Memory 41 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 43 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, etc. may be used.
The bus 42 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 4, but that does not indicate only one bus or one type of bus.
The memory 41 is used for storing a program, the processor 40 executes the program after receiving an execution instruction, and the method executed by the apparatus defined by the flow disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 40, or implemented by the processor 40.
The processor 40 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 40. The Processor 40 may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory 41, and the processor 40 reads the information in the memory 41 and completes the steps of the method in combination with the hardware thereof.
The computer program product of the readable storage medium provided in the embodiment of the present invention includes a computer readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the foregoing method embodiment, which is not described herein again.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. An automatic code generation method, comprising:
acquiring an interface name of an application program interface;
and automatically generating codes according to the interface name and a preset DSL semantic rule.
2. The method of claim 1, wherein the code comprises a network layer code, and wherein the step of automatically generating the code based on the interface name and predefined DSL semantic rules comprises:
determining an interface request mode and interface parameters corresponding to the interface name according to the interface name;
determining interface request return data according to the interface name, the interface request mode and the interface parameters;
and automatically generating a network layer code which accords with a preset DSL semantic rule according to the interface request returned data.
3. The method of claim 2, wherein the step of automatically generating the network layer code according to the interface request return data and the preset DSL semantic rule comprises:
acquiring a target coding platform and a target DSL semantic rule corresponding to the target coding platform;
and automatically generating a network layer code according with the target DSL semantic rule based on the target coding platform and the interface request return data.
4. The method of claim 3, further comprising:
and generating a data model corresponding to the target coding platform according to the interface request return data.
5. The method of claim 1, wherein the code comprises a user interface layer code, and wherein the step of automatically generating the code based on the interface name and predefined DSL semantic rules comprises:
determining a user interface file corresponding to the interface name according to the interface name;
and automatically generating a user interface layer code according to the user interface file and a preset DSL semantic rule.
6. The method of claim 5, wherein the step of automatically generating a control layer code according to the user interface file and predefined DSL semantic rules comprises:
parsing the user interface file into a hypertext markup language file;
and automatically generating user interface layer codes and controls which accord with preset DSL semantic rules according to the hypertext markup language file.
7. The method of claim 6, wherein the step of automatically generating user interface layer code and controls according to the hypertext markup language document according to the preset DSL semantic rules comprises:
acquiring a target coding platform and a target DSL semantic rule corresponding to the target coding platform; wherein the target DSL semantic rules comprise user interface rules;
and automatically generating user interface layer codes and controls which accord with the user interface rules according to the target coding platform and the hypertext markup language file.
8. An automatic code generation apparatus, comprising:
the interface determining module is used for acquiring the interface name of the application program interface;
and the code generation module is used for automatically generating codes according to the interface name and a preset DSL semantic rule.
9. An electronic device comprising a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to perform the steps of the method of any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of the claims 1 to 7.
CN202011514042.9A 2020-12-18 2020-12-18 Code automatic generation method and device and electronic equipment Active CN112433717B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011514042.9A CN112433717B (en) 2020-12-18 2020-12-18 Code automatic generation method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011514042.9A CN112433717B (en) 2020-12-18 2020-12-18 Code automatic generation method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112433717A true CN112433717A (en) 2021-03-02
CN112433717B CN112433717B (en) 2022-10-18

Family

ID=74696870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011514042.9A Active CN112433717B (en) 2020-12-18 2020-12-18 Code automatic generation method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112433717B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080127040A1 (en) * 2006-08-31 2008-05-29 Jon Barcellona Enterprise-Scale Application Development Framework Utilizing Code Generation
JP2015026139A (en) * 2013-07-24 2015-02-05 富士電機株式会社 Program generation device, program generation method, and program for program generation
CN104731589A (en) * 2015-03-12 2015-06-24 用友网络科技股份有限公司 Automatic generation method and device of user interface (UI)
CN106445556A (en) * 2016-10-18 2017-02-22 中国银行股份有限公司 Visualized code generation method and system thereof
CN107168702A (en) * 2017-05-10 2017-09-15 苏州奇松软件有限公司 A kind of App, small routine and web interface definition and code generating method
CN109614102A (en) * 2018-10-09 2019-04-12 平安科技(深圳)有限公司 Code automatic generation method, device, electronic equipment and storage medium
CN110147225A (en) * 2019-04-02 2019-08-20 平安科技(深圳)有限公司 A kind of code generating method, device and computer equipment, storage medium
US20190317739A1 (en) * 2019-06-27 2019-10-17 Intel Corporation Methods and apparatus to automatically generate code for graphical user interfaces
CN110727438A (en) * 2019-09-11 2020-01-24 宝付网络科技(上海)有限公司 Automatic web system generation tool based on SpringBoot
US20200301761A1 (en) * 2019-03-20 2020-09-24 International Business Machines Corporation Cognitive application programming interface discovery from legacy system code

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080127040A1 (en) * 2006-08-31 2008-05-29 Jon Barcellona Enterprise-Scale Application Development Framework Utilizing Code Generation
JP2015026139A (en) * 2013-07-24 2015-02-05 富士電機株式会社 Program generation device, program generation method, and program for program generation
CN104731589A (en) * 2015-03-12 2015-06-24 用友网络科技股份有限公司 Automatic generation method and device of user interface (UI)
CN106445556A (en) * 2016-10-18 2017-02-22 中国银行股份有限公司 Visualized code generation method and system thereof
CN107168702A (en) * 2017-05-10 2017-09-15 苏州奇松软件有限公司 A kind of App, small routine and web interface definition and code generating method
CN109614102A (en) * 2018-10-09 2019-04-12 平安科技(深圳)有限公司 Code automatic generation method, device, electronic equipment and storage medium
US20200301761A1 (en) * 2019-03-20 2020-09-24 International Business Machines Corporation Cognitive application programming interface discovery from legacy system code
CN110147225A (en) * 2019-04-02 2019-08-20 平安科技(深圳)有限公司 A kind of code generating method, device and computer equipment, storage medium
US20190317739A1 (en) * 2019-06-27 2019-10-17 Intel Corporation Methods and apparatus to automatically generate code for graphical user interfaces
CN110727438A (en) * 2019-09-11 2020-01-24 宝付网络科技(上海)有限公司 Automatic web system generation tool based on SpringBoot

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张晶等: "基于业务模型和界面模型的代码生成工具", 《电脑与信息技术》 *
江逸舟等: "基于应用描述的Android代码自动生成", 《计算机应用与软件》 *

Also Published As

Publication number Publication date
CN112433717B (en) 2022-10-18

Similar Documents

Publication Publication Date Title
CN109739478B (en) Front-end project automatic construction method and device, storage medium and electronic equipment
CN111782330B (en) Page data acquisition method, device and equipment based on Web application
CN108415804B (en) Method for acquiring information, terminal device and computer readable storage medium
CN108874760A (en) Report file generation method, device, computer equipment and storage medium
JP2017538991A (en) Page processing for mobile apps
CN111596913B (en) Visual component framework arranging method and device
CN110727429B (en) Front-end page generation method, device and equipment
CN110955409A (en) Method and device for creating resources on cloud platform
CN114138244A (en) Method and device for automatically generating model files, storage medium and electronic equipment
US20210026710A1 (en) System and method for automated application programming interface generation
CN113703781B (en) Storage system interface generation method and device, electronic equipment and readable storage medium
CN112433717B (en) Code automatic generation method and device and electronic equipment
CN115292641A (en) Page generation method, device, server and storage medium
CN115061690A (en) Automatic code generation method and device
CN114253516A (en) UI (user interface) development method and device for data filling system and storage medium
CN110515653B (en) Document generation method and device, electronic equipment and computer readable storage medium
CN109670328B (en) Data processing method and device
CN113722321A (en) Data export method and device and electronic equipment
CN113391818A (en) Compiled file generation method and device
US9672294B2 (en) Partial data report generation with data costing notification
CN106202319B (en) Abnormal URL (Uniform resource locator) verification method and system
CN109144500B (en) Skin file processing method based on graphical programming and electronic equipment
CN117270838B (en) Method, device, equipment and medium for generating universal formula script
CN103092575A (en) Method and system for generating widget applications
CN112527646A (en) Method and device for improving API (application program interface) automation test efficiency and electronic equipment

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