CN114840191A - Software code automatic generation method, device, equipment and readable storage medium - Google Patents

Software code automatic generation method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN114840191A
CN114840191A CN202210379263.2A CN202210379263A CN114840191A CN 114840191 A CN114840191 A CN 114840191A CN 202210379263 A CN202210379263 A CN 202210379263A CN 114840191 A CN114840191 A CN 114840191A
Authority
CN
China
Prior art keywords
software
configuration
code
function
software development
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
CN202210379263.2A
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.)
IAT Automobile Technology Co Ltd
Original Assignee
IAT Automobile Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by IAT Automobile Technology Co Ltd filed Critical IAT Automobile Technology Co Ltd
Priority to CN202210379263.2A priority Critical patent/CN114840191A/en
Publication of CN114840191A publication Critical patent/CN114840191A/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/33Intelligent editors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/37Compiler construction; Parser generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation

Landscapes

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

Abstract

The application provides a software code automatic generation method and device, electronic equipment and a computer readable storage medium. The automatic generation method of the software code comprises the following steps: designing a software development configuration template according to a pre-designed software architecture; developing an automatic code generation function based on a software development configuration template; designing configuration and generating a function code based on a software development configuration template; based on the software development configuration template, performing interface and integrated configuration and generating corresponding codes; and executing the software compiling to generate a program, and verifying the software function and the running stability through a software debugging environment and a tool by the program so as to verify the usability and the correctness of the automatic generation function of the software code. According to the embodiment of the application, software development work can be simplified and standardized; the software development work efficiency is improved; reduce the error rate of manual development and modification; and the integration efficiency of the software codes is improved.

Description

Software code automatic generation method, device, equipment and readable storage medium
Technical Field
The present application belongs to the technical field of automatic generation of software codes, and in particular, to an automatic generation method and apparatus of a software code, an electronic device, and a computer-readable storage medium.
Background
The traditional software development work is shown in fig. 1, a software developer needs to perform manual function & interface development respectively, then a software integrator performs integrated code development and software integration, and the integration process involves communication between the integrator and the developer to complete final integration, so as to obtain a software program finally. If the software is changed and the similar new project is developed, the development steps need to be repeated, and the following technical problems are caused: (1) the software development work operation is complex; (2) the software development work efficiency is low; (3) the error rate of manual development and modification is high; (4) software code integration is inefficient.
In view of this, the present application is presented.
Disclosure of Invention
The embodiment of the application provides a method, a device and equipment for automatically generating a software code and a computer readable storage medium, which can simplify and standardize software development work; the software development work efficiency is improved; reduce the error rate of manual development and modification; and the integration efficiency of the software codes is improved.
In a first aspect, an embodiment of the present application provides an automatic software code generation method, including:
designing a software development configuration template according to a pre-designed software architecture;
developing an automatic code generation function based on a software development configuration template;
designing configuration and generating a function code based on a software development configuration template;
based on the software development configuration template, performing interface and integrated configuration and generating corresponding codes;
and executing the software compiling to generate a program, and verifying the software function and the running stability through a software debugging environment and a tool by the program so as to verify the usability and the correctness of the automatic generation function of the software code.
Further, the method further comprises:
under the condition that the software function needs to be changed and modified, carrying out corresponding configuration modification according to the software function configuration file configured by the software development configuration template and according to the function change;
and generating corresponding function codes based on the software development configuration file after configuration modification.
Further, the method further comprises:
and under the condition that the new project application and the subsequent project need to be changed and modified, carrying out new development and configuration by using a software development and configuration template or developing a software development and configuration file of the existing project.
Further, designing a software development configuration template according to a pre-designed software architecture, comprising:
and designing a function code & function interface code generation configuration template and an integrated code generation configuration template according to a pre-designed software architecture.
Further, based on the software development configuration template, the automatic code generation function development is carried out, and the method comprises the following steps:
and (4) performing automatic code generation function development by using a programming and scripting language based on a software development configuration template.
Further, after the configuration template is developed based on the software, the configuration is designed and the function code is generated, the method further comprises:
and verifying the code function correctness of the function code.
Further, based on the software development configuration template, performing interface and integration configuration and generating corresponding codes, including:
and based on the software development configuration template, performing interface and integration configuration to generate interface codes and integration codes, and performing automatic code deployment and compiling configuration according to a compiler.
In a second aspect, an embodiment of the present application provides an apparatus for automatically generating software codes, including:
the software development configuration template design module is used for designing a software development configuration template according to a pre-designed software architecture;
the code generation function development module is used for developing an automatic code generation function based on the software development configuration template;
the function code design configuration generation module is used for designing configuration and generating function codes based on the software development configuration template;
the interface integrated configuration module is used for carrying out interface and integrated configuration and generating corresponding codes based on the software development configuration template;
and the software compiling module is used for executing the software compiling to generate a program, and the program verifies the software function and the running stability through a software debugging environment and a tool so as to verify the usability and the correctness of the automatic generation function of the software code.
Further, the apparatus further comprises:
the software development configuration template configuration modification module is used for carrying out corresponding configuration modification according to a software function configuration file configured by using the software development configuration template and according to function modification under the condition that the software function needs to be changed and modified;
and the function code generating module is used for generating corresponding function codes based on the software development configuration file after the configuration modification.
Further, the apparatus further comprises:
and the software development configuration template development module is used for carrying out new development configuration or developing a software development configuration file of an existing project by using the software development configuration template under the condition that the new project application and the subsequent project need to be changed and modified.
Further, the software development configuration template design module is used for:
and designing a function code & function interface code generation configuration template and an integrated code generation configuration template according to a pre-designed software architecture.
Further, the code generation function development module is used for:
and (4) performing automatic code generation function development by using a programming and scripting language based on a software development configuration template.
Further, the apparatus further comprises:
and the verification module is used for verifying the code function correctness of the function code.
Further, the interface integrated configuration module is configured to:
and based on the software development configuration template, performing interface and integration configuration to generate interface codes and integration codes, and performing automatic code deployment and compiling configuration according to a compiler.
In a third aspect, an embodiment of the present application provides an electronic device, where the electronic device includes: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the method for automatic generation of software code as shown in the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the method for automatically generating software codes as shown in the first aspect is implemented.
The software code automatic generation method, the device, the equipment and the computer readable storage medium can simplify and standardize software development work; the software development work efficiency is improved; reduce the error rate of manual development and modification; and the integration efficiency of the software codes is improved.
The automatic generation method of the software code comprises the following steps: designing a software development configuration template according to a pre-designed software architecture; developing an automatic code generation function based on a software development configuration template; designing configuration and generating a function code based on a software development configuration template; based on the software development configuration template, performing interface and integrated configuration and generating corresponding codes; and executing the software compiling to generate a program, and verifying the software function and the running stability through a software debugging environment and a tool by the program so as to verify the usability and the correctness of the automatic generation function of the software code.
Therefore, the method is based on the software development configuration template, automatic code generation function development is carried out, design configuration is carried out, function codes are generated, interfaces and integrated configuration are carried out, and corresponding codes are generated, so that software development work can be simplified and standardized; the software development work efficiency is improved; reduce the error rate of manual development and modification; and the integration efficiency of the software codes is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments or the technical solutions in the prior art are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained according to these drawings by those skilled in the art without creative efforts.
FIG. 1 is a schematic diagram of a software development flow in the prior art;
FIG. 2 is a flowchart illustrating a method for automatically generating software code according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a software development process in the present application;
FIG. 4 is a flowchart illustrating a method for automatically generating software code according to an embodiment of the present application;
FIG. 5 is a schematic structural diagram of an apparatus for automatically generating software code according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Features and exemplary embodiments of various aspects of the present application will be described in detail below, and in order to make objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are intended to be illustrative only and are not intended to be limiting. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present application by illustrating examples thereof.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The traditional software development work is shown in fig. 1, a software developer needs to perform manual function & interface development respectively, then a software integrator performs integrated code development and software integration, and the integration process involves communication between the integrator and the developer to complete final integration, so as to obtain a software program finally. If the software is changed and the similar new project is developed, the development steps need to be repeated, and the following technical problems are caused: (1) the software development work operation is complex; (2) the software development work efficiency is low; (3) the error rate of manual development and modification is high; (4) software code integration is inefficient.
In order to solve the problems of the prior art, embodiments of the present application provide a method, an apparatus, a device, and a computer-readable storage medium for automatically generating a software code. First, a method for automatically generating a software code provided in an embodiment of the present application is described below.
Fig. 2 is a flowchart illustrating a method for automatically generating software codes according to an embodiment of the present application. As shown in fig. 2, the method for automatically generating software codes includes:
s201, designing a software development configuration template according to a pre-designed software architecture.
In one embodiment, designing a software development configuration template according to a pre-designed software architecture includes:
and designing a function code & function interface code generation configuration template and an integrated code generation configuration template according to a pre-designed software architecture.
And S202, developing an automatic code generation function based on the software development configuration template.
In one embodiment, automated code generation function development is performed based on a software development configuration template, comprising:
and (4) performing automatic code generation function development by using a programming and scripting language based on a software development configuration template.
And S203, designing and configuring based on the software development configuration template and generating a function code.
In one embodiment, after developing the configuration template, designing the configuration, and generating the functional code based on the software, the method further comprises: and verifying the code function correctness of the function code.
And S204, carrying out interface and integrated configuration based on the software development configuration template and generating a corresponding code.
In one embodiment, based on the software development configuration template, performing interface and integration configuration and generating corresponding code, comprising:
and based on the software development configuration template, performing interface and integration configuration to generate interface codes and integration codes, and performing automatic code deployment and compiling configuration according to a compiler.
S205, executing the software compiling to generate a program, and verifying the software function and the running stability through the software debugging environment and the tool by the program so as to verify the usability and the correctness of the automatic generation function of the software code.
In one embodiment, the method further comprises:
under the condition that the software function needs to be changed and modified, a software development configuration template is used for carrying out new development configuration or developing a software development configuration file of an existing project;
and generating corresponding function codes based on the software development configuration file after configuration modification.
In one embodiment, the method further comprises:
and under the condition that the new project application and the subsequent project need to be changed and modified, carrying out new development and configuration by using a software development and configuration template or developing a software development and configuration file of the existing project.
The method is based on a software development configuration template, automatic code generation function development is carried out, design configuration is carried out, function codes are generated, interfaces and integrated configuration are carried out, and corresponding codes are generated, so that software development work can be simplified and standardized; the software development work efficiency is improved; reduce the error rate of manual development and modification; and the integration efficiency of the software codes is improved.
In order to specifically describe the above software code automatic generation method, a specific embodiment is described below.
In order to simplify and standardize software development work, improve development efficiency, reduce repeated development work, reduce error rate, facilitate analysis and understanding of software codes, and quickly integrate the software codes, the technical means applied by the embodiment comprises: software framework technology, software development technology, script development technology, software compiling technology and standardization technology.
As shown in fig. 3 and 4, this embodiment includes the steps of:
(1) and designing a function code & function interface code generation configuration template and an integrated code generation configuration template according to the software framework.
(2) And (3) according to the template & standardization technology in the step (1), using a programming & scripting language and developing an automatic code generation function.
(3) And (3) designing and configuring different functions in the software according to the template in the step (1) and generating a function code, and verifying the correctness of the code function.
(4) And (3) carrying out interface and integrated configuration according to the template in the step (1), generating interface codes and integrated codes, and carrying out automatic code deployment and compiling configuration according to a compiler.
(5) And compiling the software to generate a program, and verifying the software function and the running stability of the program through a software debugging environment and a tool so as to verify the usability and the correctness of the automatic generation function of the software code.
(6) Subsequent development work may use the configuration template for software development.
In the embodiment, platform project software configuration template development is firstly carried out, and automatic software function development is carried out through the configuration template; the software function change modification can be configured and modified through a configuration template to generate codes; the new project application and subsequent project change are developed by using a configuration template, so that the software development work can be simplified and standardized; the working efficiency of development is improved, and repeated development work is reduced; the error rate of manual development and modification is reduced; by automatic code generation, software integration personnel can complete code development through configuration, and rapid integration of software codes is facilitated.
The technical materials applied in this embodiment include: software development tools, script development tools, configuration file editing tools, compilation tool chains, software debugging environments & tools. The final implementation effect is as follows: the software configuration tool is designed and developed through a software development tool, a script development tool and a configuration file editing tool, the software development is carried out through the software configuration tool, a software program is generated through software compiling through a compiling tool, program verification is carried out through a software debugging environment and the tool, and the software functions normally and stably run.
Fig. 5 shows a schematic structural diagram of an automatic software code generation apparatus provided in an embodiment of the present application. As shown in fig. 5, the automatic software code generation apparatus includes:
a software development configuration template design module 501, configured to design a software development configuration template according to a pre-designed software architecture;
a code generation function development module 502, configured to develop an automatic code generation function based on the software development configuration template;
a function code design configuration generation module 503, configured to design a configuration and generate a function code based on the software development configuration template;
an interface integrated configuration module 504, configured to perform interface and integrated configuration based on the software development configuration template and generate corresponding codes;
and the software compiling module 505 is used for executing a software compiling generation program, and the program verifies the software function and the running stability through a software debugging environment and a tool so as to verify the usability and the correctness of the automatic generation function of the software codes.
In one embodiment, the apparatus further comprises:
the software development configuration template configuration modification module is used for carrying out corresponding configuration modification according to a software function configuration file configured by using the software development configuration template and according to function modification under the condition that the software function needs to be changed and modified;
and the function code generation module is used for generating corresponding function codes based on the software development configuration file after configuration modification.
In one embodiment, the apparatus further comprises:
and the software development configuration template development module is used for carrying out new development configuration or developing a software development configuration file of an existing project by using the software development configuration template under the condition that the new project application and the subsequent project need to be changed and modified.
In one embodiment, the software development configuration template design module 501 is configured to:
and designing a function code & function interface code generation configuration template and an integrated code generation configuration template according to a pre-designed software architecture.
In one embodiment, the code generation function development module 502 is to:
and (4) performing automatic code generation function development by using a programming and scripting language based on a software development configuration template.
In one embodiment, the apparatus further comprises:
and the verification module is used for verifying the code function correctness of the function code.
In one embodiment, the interface integration configuration module 504 is configured to:
and based on the software development configuration template, performing interface and integration configuration to generate interface codes and integration codes, and performing automatic code deployment and compiling configuration according to a compiler.
Each module/unit in the apparatus shown in fig. 5 has a function of implementing each step in fig. 2, and can achieve the corresponding technical effect, and for brevity, the description is not repeated here.
Fig. 6 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
The electronic device may comprise a processor 601 and a memory 602 in which computer program instructions are stored.
Specifically, the processor 601 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of the embodiments of the present Application.
Memory 602 may include mass storage for data or instructions. By way of example, and not limitation, memory 602 may include a Hard Disk Drive (HDD), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, tape, or Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 602 may include removable or non-removable (or fixed) media, where appropriate. The memory 602 may be internal or external to the electronic device, where appropriate. In certain embodiments, the memory 602 may be non-volatile solid-state memory.
In one embodiment, the Memory 602 may be a Read Only Memory (ROM). In one embodiment, the ROM may be mask-programmed ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), Electrically Alterable ROM (EAROM), or flash memory, or a combination of two or more of these.
The processor 601 realizes any one of the automatic generation methods of the software codes in the above embodiments by reading and executing the computer program instructions stored in the memory 602.
In one example, the electronic device may also include a communication interface 603 and a bus 610. As shown in fig. 6, the processor 601, the memory 602, and the communication interface 603 are connected via a bus 610 to complete communication therebetween.
The communication interface 603 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiments of the present application.
The bus 610 includes hardware, software, or both to couple the components of the electronic device to one another. By way of example, and not limitation, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industrial Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industrial Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus or a combination of two or more of these. Bus 610 may include one or more buses, where appropriate. Although specific buses are described and shown in the embodiments of the application, any suitable buses or interconnects are contemplated by the application.
In addition, in combination with the automatic generation method of the software code in the foregoing embodiments, the embodiments of the present application may provide a computer-readable storage medium to implement the method. The computer readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the software code automatic generation methods in the above embodiments.
It is to be understood that the present application is not limited to the particular arrangements and instrumentality described above and shown in the attached drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present application are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications, and additions or change the order between the steps after comprehending the spirit of the present application.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the present application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
Aspects of the present application are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware for performing the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As described above, only the specific embodiments of the present application are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present application, and these modifications or substitutions should be covered within the scope of the present application.

Claims (10)

1. An automatic software code generation method, comprising:
designing a software development configuration template according to a pre-designed software architecture;
performing automatic code generation function development based on the software development configuration template;
designing configuration and generating functional codes based on the software development configuration template;
based on the software development configuration template, performing interface and integrated configuration and generating corresponding codes;
and executing the software compiling to generate a program, and verifying the software function and the running stability through a software debugging environment and a tool by the program so as to verify the usability and the correctness of the automatic generation function of the software code.
2. The method of automatic generation of software code according to claim 1, characterized in that said method further comprises:
under the condition that the software function needs to be changed and modified, carrying out corresponding configuration modification according to the software function configuration file configured by the software development configuration template and according to the function change;
and generating corresponding function codes based on the software development configuration file after configuration modification.
3. The method of automatic generation of software code according to claim 1, characterized in that said method further comprises:
and under the condition that the new project application & the subsequent project need to be changed and modified, carrying out new development and configuration or developing a software development configuration file of the existing project by using the software development configuration template.
4. The method according to claim 1, wherein the designing a software development configuration template according to a pre-designed software architecture comprises:
and designing a function code & function interface code generation configuration template and an integrated code generation configuration template according to a pre-designed software architecture.
5. The method according to claim 1, wherein the developing an automatic code generation function based on the software development configuration template comprises:
and developing an automatic code generation function by using a programming and scripting language based on the software development configuration template.
6. The method of claim 1, wherein after the designing a configuration and generating functional code based on the software development configuration template, the method further comprises:
and verifying the code function correctness of the function code.
7. The method for automatically generating software codes according to claim 1, wherein the interface and integration configuration and generating corresponding codes based on the software development configuration template comprises:
and performing interface and integration configuration based on the software development configuration template to generate interface codes and integration codes, and performing automatic code deployment and compiling configuration according to a compiler.
8. An apparatus for automatically generating software code, comprising:
the software development configuration template design module is used for designing a software development configuration template according to a pre-designed software architecture;
the code generation function development module is used for developing an automatic code generation function based on the software development configuration template;
the functional code design configuration generation module is used for designing configuration and generating functional codes based on the software development configuration template;
the interface integrated configuration module is used for carrying out interface and integrated configuration and generating corresponding codes based on the software development configuration template;
and the software compiling module is used for executing the software compiling to generate a program, and the program verifies the software function and the running stability through a software debugging environment and a tool so as to verify the usability and the correctness of the automatic generation function of the software code.
9. An electronic device, characterized in that the electronic device comprises: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the method for automatic generation of software code according to any of claims 1-7.
10. A computer-readable storage medium, having stored thereon computer program instructions, which when executed by a processor, implement the method of automatic generation of software code according to any one of claims 1-7.
CN202210379263.2A 2022-04-12 2022-04-12 Software code automatic generation method, device, equipment and readable storage medium Pending CN114840191A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210379263.2A CN114840191A (en) 2022-04-12 2022-04-12 Software code automatic generation method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210379263.2A CN114840191A (en) 2022-04-12 2022-04-12 Software code automatic generation method, device, equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN114840191A true CN114840191A (en) 2022-08-02

Family

ID=82564839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210379263.2A Pending CN114840191A (en) 2022-04-12 2022-04-12 Software code automatic generation method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114840191A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116450107A (en) * 2023-04-04 2023-07-18 北京科乐园网络科技有限公司 Method and device for secondary development of software by low-code platform and electronic equipment
CN117331565A (en) * 2023-10-09 2024-01-02 镁佳(北京)科技有限公司 Software generation method, device, computer equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116450107A (en) * 2023-04-04 2023-07-18 北京科乐园网络科技有限公司 Method and device for secondary development of software by low-code platform and electronic equipment
CN116450107B (en) * 2023-04-04 2023-12-01 北京科乐园网络科技有限公司 Method and device for secondary development of software by low-code platform and electronic equipment
CN117331565A (en) * 2023-10-09 2024-01-02 镁佳(北京)科技有限公司 Software generation method, device, computer equipment and storage medium
CN117331565B (en) * 2023-10-09 2024-05-28 镁佳(北京)科技有限公司 Software generation method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN114840191A (en) Software code automatic generation method, device, equipment and readable storage medium
CN102054100B (en) Static analysis-based method and system for detecting RTL (Resistor Transistor Logic) design errors
CN114510902B (en) Simulation result verification method, device, equipment and computer storage medium
CN115952760A (en) Method, device and equipment for simulating digital-analog circuit and computer storage medium
CN104765671A (en) Method for verifying uart module by using reusable layered verification platform
CN104850427A (en) Method and device for upgrading code
CN104346273A (en) Method and system used for debugging
CN115269439A (en) Method, device, equipment and readable storage medium for testing data processing system
CN112734980B (en) Method, device, equipment and storage medium for determining fault root cause information of vehicle
CN116090376B (en) Chip integrated verification component development method and device and computer equipment
CN115495357A (en) Generation method, generation device and generation equipment of incremental coverage report
CN115202632A (en) Matlab/Simulink-based AUTOSAR software assembly function interface development method
CN116257223A (en) Data isolation development method, device, equipment, readable storage medium and product
US20220269593A1 (en) Automatic generation of integrated test procedures using system test procedures
CN115062313A (en) Intelligent contract vulnerability detection method, device, equipment and storage medium
CN115034165A (en) Chip simulation verification method, system, equipment and storage medium
CN115113871A (en) Front-end code version information checking method, device and equipment based on data middlebox
CN103488571A (en) Method for verifying correctness of JavaScript procedure in mixed mode
CN114579093A (en) Software integration method, device and equipment for Simulink model generation codes and storage medium
CN112732322A (en) Data verification method and device, electronic equipment and computer storage medium
CN112817937A (en) Big data monitoring method and device, electronic equipment and computer storage medium
CN115185726A (en) Method, device and equipment for generating hardware-in-loop test case and storage medium
CN114519279A (en) Simulation result verification method, device, equipment and computer storage medium
CN114675822A (en) AUTOSAR software component development method, device, equipment and storage medium
CN116185831A (en) Method, apparatus, electronic device and computer readable storage medium for closed loop testing

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