CN117873486A - Front-end and back-end code automatic generation method, device, equipment and storage medium - Google Patents
Front-end and back-end code automatic generation method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN117873486A CN117873486A CN202410050389.4A CN202410050389A CN117873486A CN 117873486 A CN117873486 A CN 117873486A CN 202410050389 A CN202410050389 A CN 202410050389A CN 117873486 A CN117873486 A CN 117873486A
- Authority
- CN
- China
- Prior art keywords
- end code
- development
- code
- interface
- document
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 238000011161 development Methods 0.000 claims abstract description 228
- 238000013499 data model Methods 0.000 claims abstract description 36
- 238000004458 analytical method Methods 0.000 claims description 5
- 238000007726 management method Methods 0.000 abstract description 28
- 238000005516 engineering process Methods 0.000 abstract description 18
- 238000012827 research and development Methods 0.000 abstract description 8
- 230000008569 process Effects 0.000 description 10
- 238000012545 processing Methods 0.000 description 10
- 238000012360 testing method Methods 0.000 description 7
- 238000013473 artificial intelligence Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000010606 normalization Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 235000019800 disodium phosphate Nutrition 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000003058 natural language processing Methods 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000013515 script Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/44—Encoding
- G06F8/447—Target code generation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/33—Intelligent editors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/42—Syntactic analysis
- G06F8/427—Parsing
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 discloses a front-end and back-end code automatic generation method, device, equipment and storage medium, and belongs to the technical field of research and development management and the field of financial science and technology. The method comprises the steps of obtaining a pre-defined front-end interface specification document, inputting the front-end interface specification document and the back-end interface specification document into a preset interface specification editing tool to obtain an interface data model, wherein the interface data model comprises a front-end code generating tool and a back-end code generating tool, obtaining a development requirement document, analyzing the development requirement document to obtain a front-end development requirement and a back-end development requirement, inputting the front-end development requirement into the front-end code generating tool to generate a front-end code, inputting the back-end development requirement into the back-end code generating tool to generate a back-end code. The application also relates to the technical field of blockchain, and development requirement documents are stored on blockchain nodes. The method and the device can automatically generate the front and back end codes, improve the consistency of the front and back end codes and reduce errors caused by manually writing the codes.
Description
Technical Field
The application belongs to the technical field of research and development management and the field of financial science and technology, and particularly relates to a front-end and back-end code automatic generation method, device, equipment and storage medium.
Background
When the project development is carried out, the front end and the back end are often required to be cooperated for development, after the front end interface inputs data, the back end service is required to be called, the input data is packaged into a request message, and then the request message is displayed in the interface according to a back end return message.
In the front-end and back-end code development process, many problems may occur, for example, in order to improve the front-end and back-end collaborative development efficiency, the front-end and back-end development is usually separated, but how to define a clear data interface in advance may cause interface normalization problem, resulting in reduced development efficiency and difficult interface test. Particularly, in the case of a complex business management system, for example, an insurance business management system, the insurance business management system includes a plurality of management modules such as product management, application management, policy management, claim management, risk management, etc., and a manager needs to complete operations such as product updating, application rule updating, etc., where these operations need to possibly involve development of new front-end and back-end codes, many repeated or similar interfaces and pages exist in the development process of the front-end and back-end of the management system, and repeated development consumes a great deal of manpower, and it is also difficult to ensure that a set of standard and elegant interfaces is generated because the styles of developers are different.
Disclosure of Invention
The embodiment of the application aims to provide a front-end and back-end code automatic generation method, a device, computer equipment and a storage medium, so as to solve the problem that the interface normalization cannot be guaranteed in the existing front-end and back-end development scheme, and the development efficiency is reduced and the interface test is difficult.
In order to solve the above technical problems, the embodiments of the present application provide an automatic front-end and back-end code generating method, which adopts the following technical scheme:
a front-end and back-end code automatic generation method comprises the following steps:
acquiring a predefined front-back interface specification document, wherein front-back interface parameters and back-back interface parameters are defined in the front-back interface specification document;
inputting the front-end interface specification document and the back-end interface specification document into a preset interface specification editing tool to obtain an interface data model, wherein the interface data model comprises a front-end code generating tool and a back-end code generating tool;
acquiring a development requirement document, and analyzing the development requirement document to obtain a front-end development requirement and a back-end development requirement;
inputting the front-end development requirements to the front-end code generation tool to generate a front-end code;
and inputting the back-end development requirements to the back-end code generation tool to generate back-end codes.
Further, the inputting the front and rear interface specification document into a preset interface specification editing tool to obtain an interface data model specifically includes:
analyzing the front-back interface specification document to obtain the front-back interface parameters and the back-back interface parameters;
acquiring a parameter editor of the interface specification editing tool;
inputting the front-end interface parameters into the parameter editor, and operating the interface specification editing tool to obtain the front-end code generating tool;
and inputting the back-end interface parameters into the parameter editor, and operating the interface specification editing tool to obtain the back-end code generating tool.
Further, the inputting the front-end development requirement to the front-end code generating tool generates a front-end code, which specifically includes:
analyzing the front-end development requirements, acquiring front-end requirement parameters, and determining a front-end development framework;
searching a code template matched with the front-end development framework in the front-end code generation tool to obtain a front-end code template;
and importing the front-end demand parameters into the front-end code template to obtain the front-end code.
Further, the importing the front-end requirement parameter into the front-end code template to obtain the front-end code specifically includes:
Identifying each data field to be embedded of the front-end code template;
matching each front-end demand parameter with each data field to be embedded of the front-end code template to obtain a field parameter matching result of the front-end code;
sequentially importing the front-end demand parameters into the front-end code template according to the field parameter matching result of the front-end code to obtain a front-end element control code;
and embedding the front-end element control code into the front-end development framework to obtain the front-end code.
Further, the step of inputting the back-end development requirement to the back-end code generating tool to generate a back-end code specifically includes:
analyzing the back-end development requirements, acquiring back-end requirement parameters, and determining a back-end development framework;
searching a code template matched with the back-end development framework in the back-end code generation tool to obtain a back-end code template;
and importing the front-end demand parameters into the back-end code template to obtain the back-end code.
Further, the importing the front-end requirement parameter into the back-end code template to obtain the back-end code specifically includes:
Identifying each data field to be embedded of the back-end code template;
matching each back-end demand parameter with each data field to be embedded of the back-end code template to obtain a field parameter matching result of the back-end code;
and sequentially importing the back-end demand parameters into the back-end code template according to the field parameter matching result of the front-end code to obtain the back-end code.
Further, before the development requirement document is obtained and parsed to obtain the front-end development requirement and the back-end development requirement, the method further includes:
acquiring an information uploading instruction, generating a development requirement configuration template, and displaying the development requirement configuration template on a client interface;
responding to the information uploading instruction, and acquiring development requirement information filled in the development requirement configuration template by a user;
and integrating the development requirement information to obtain the development requirement document.
In order to solve the above technical problems, the embodiments of the present application further provide an apparatus for automatically generating front-end and back-end codes, which adopts the following technical scheme:
a front-end and back-end code automatic generation method comprises the following steps:
Acquiring a predefined front-back interface specification document, wherein front-back interface parameters and back-back interface parameters are defined in the front-back interface specification document;
inputting the front-end interface specification document and the back-end interface specification document into a preset interface specification editing tool to obtain an interface data model, wherein the interface data model comprises a front-end code generating tool and a back-end code generating tool;
acquiring a development requirement document, and analyzing the development requirement document to obtain a front-end development requirement and a back-end development requirement;
inputting the front-end development requirement to a front-end code generation tool to generate a front-end code;
the back-end development requirements are input to a back-end code generation tool to generate back-end code.
In order to solve the above technical problems, the embodiments of the present application further provide a computer device, which adopts the following technical schemes:
a computer device comprising a memory having stored therein computer readable instructions which when executed by a processor implement the steps of the front-end code automatic generation method of any of the preceding claims.
In order to solve the above technical problems, embodiments of the present application further provide a computer readable storage medium, which adopts the following technical solutions:
A computer readable storage medium having stored thereon computer readable instructions which when executed by a processor implement the steps of the front-end code automatic generation method of any of the preceding claims.
Compared with the prior art, the embodiment of the application has the following main beneficial effects:
the application discloses a front-end and back-end code automatic generation method, device, equipment and storage medium, and belongs to the technical field of research and development management and the field of financial science and technology. The method comprises the steps of obtaining a front-end interface specification document and a back-end interface specification document which are defined in advance, inputting the front-end interface specification document and the back-end interface specification document into a preset interface specification editing tool to obtain an interface data model, wherein the interface data model comprises a front-end code generating tool and a back-end code generating tool, obtaining a development requirement document, analyzing the development requirement document to obtain a front-end development requirement and a back-end development requirement, inputting the front-end development requirement into the front-end code generating tool to generate a front-end code, and inputting the back-end development requirement into the back-end code generating tool to generate a back-end code. According to the method, the code generation tool is constructed through the interface specification document and the interface specification editing tool, front and rear end codes are automatically generated through the development requirement document and the code generation tool, repeated labor is reduced, meanwhile, the consistency of the codes is improved, and errors caused by manually writing the codes are reduced.
Drawings
For a clearer description of the solution in the present application, a brief description will be given below of the drawings that are needed in the description of the embodiments of the present application, it being obvious that the drawings in the following description are some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 illustrates an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 illustrates a flow chart of one embodiment of a front-end code auto-generation method according to the present application;
FIG. 3 is a schematic diagram illustrating one embodiment of a front-end code automatic generation apparatus according to the present application;
fig. 4 shows a schematic structural diagram of one embodiment of a computer device according to the present application.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the applications herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having" and any variations thereof in the description and claims of the present application and in the description of the figures above are intended to cover non-exclusive inclusions. The terms first, second and the like in the description and in the claims or in the above-described figures, are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
In order to better understand the technical solutions of the present application, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various communication client applications, such as a web browser application, a shopping class application, a search class application, an instant messaging tool, a mailbox client, social platform software, etc., may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablet computers, electronic book readers, MP3 players (Moving Picture Experts Group Audio Layer III, dynamic video expert compression standard audio plane 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video expert compression standard audio plane 4) players, laptop and desktop computers, and the like.
The server 105 may be a server that provides various services, such as a background server that provides support for pages displayed on the terminal devices 101, 102, 103, and may be a stand-alone server, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
It should be noted that, the method for automatically generating front-end and back-end codes provided in the embodiments of the present application is generally executed by a server, and accordingly, the device for automatically generating front-end and back-end codes is generally disposed in the server.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow chart of one embodiment of a method for automatically generating front-end and back-end codes according to the present application is shown. The embodiment of the application can acquire and process the related data based on the artificial intelligence technology. Among these, artificial intelligence (Artificial Intelligence, AI) is the theory, method, technique and application system that uses a digital computer or a digital computer-controlled machine to simulate, extend and extend human intelligence, sense the environment, acquire knowledge and use knowledge to obtain optimal results.
Artificial intelligence infrastructure technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and other directions.
In the front-end and back-end code development process, many problems may occur, for example, in order to improve the front-end and back-end collaborative development efficiency, the front-end and back-end development is usually separated, but how to define a clear data interface in advance may cause interface normalization problem, resulting in reduced development efficiency and difficult interface test. The lack of explicit interface definitions may lead to inconsistent understanding of the interface by the front-end team and the back-end team, may create inconsistent data formats, field naming, parameter conventions, etc., and further may lead to confusion in code logic, and is difficult to maintain and expand. Under the condition that clear interface definition is not available, front-end and back-end developers can spend a large amount of time to communicate, adjust and repair interface problems, so that development progress is delayed, meanwhile, accurate interface documents and specifications are lacking, a tester is difficult to accurately judge expected behaviors of an interface, and conditions of missing or misdetection can be caused, so that software quality is reduced.
Taking an insurance service management system as an example, the insurance service management system comprises a plurality of management modules such as product management, application management, policy management, claim management, risk management and the like, management personnel need to finish operations such as product updating, application rule updating and the like every day, the operations need to possibly involve development of new front and back end codes, many repeated or similar interfaces and pages thereof exist in the development process of the front and back ends of the management system, if the interfaces and specifications are not accurate, inconsistent problems exist when the developers realize the interfaces, development styles and code quality also have differences, meanwhile, a tester can not accurately judge expected behaviors of the interfaces, and the conditions of missing or mistesting are possibly caused, so that the quality of software is reduced, and potential problems and errors are possibly caused.
In view of the above problems and challenges, it is contemplated that an interface specification tool and a code generation tool may be employed to address these issues. By defining accurate interface specifications and documents, the problems of repeated development and inconsistency can be avoided, the accuracy of testing can be improved, and by using a code generation tool, interface codes meeting specifications and standards can be automatically generated, so that the development efficiency and consistency are improved.
In order to solve the technical problems, the application discloses a front-end and back-end code automatic generation method, a device, equipment and a storage medium, which belong to the technical field of research and development management and the technical field of finance technology.
The front-end and back-end code automatic generation method comprises the following steps:
s201, a predefined front-end interface and back-end interface specification document is obtained, wherein front-end interface parameters and back-end interface parameters are defined in the front-end and back-end interface specification document.
In the above embodiment, the predefined front-end interface and back-end interface specification documents are obtained, the documents contain the definition of the front-end interface parameters and the back-end interface parameters, and the parameter requirements and the usage modes of the front-end interface and the back-end interface can be determined by obtaining the front-end interface and back-end interface specification documents, so that accurate guidance is provided for the development and the test of the front-end interface and the back-end interface. The front-end and back-end interface specification document contains front-end and back-end interface definitions, including URL, request method, parameters, return results, etc., and may be written in a format such as Markdown, JSON, YAML.
Front-end interface parameters refer to parameters that need to be provided when a front-end application (e.g., web page, mobile application) sends a request to the back-end, and typically include data entered by the user, the type of request, the path of the request, etc. The back-end interface parameters refer to parameters that need to be parsed and processed when the back-end server receives the front-end request, and the back-end interface parameters generally include data sent by the front-end, request types, request paths, and the like.
S202, inputting the front-end interface specification document and the back-end interface specification document into a preset interface specification editing tool to obtain an interface data model, wherein the interface data model comprises a front-end code generating tool and a back-end code generating tool.
In the above embodiment, a preset interface specification editing tool, for example Swagger, postman, is determined, and a front-end interface specification document is input to the interface specification editing tool to obtain an interface data model, where the interface data model includes a front-end code generating tool and a back-end code generating tool, the front-end code generating tool is used to generate a front-end code, and the back-end code generating tool is used to generate a back-end code.
In a specific embodiment of the present application, swagger is used as an interface specification editing tool, and is a popular API document and specification tool, and the Swagger describes the interface by writing a normalized API document, and then can automatically generate front-end and back-end codes and an interface test tool.
Further, the front-back interface specification document is input to a preset interface specification editing tool to obtain an interface data model, which specifically comprises:
analyzing the front-back interface specification document to obtain front-back interface parameters and back-back interface parameters;
acquiring a parameter editor of an interface specification editing tool;
inputting the front-end interface parameters into a parameter editor, and operating an interface specification editing tool to obtain a front-end code generating tool;
and inputting the back-end interface parameters into a parameter editor, and operating an interface specification editing tool to obtain a back-end code generating tool.
In the above embodiment, the front-back interface specification document is parsed to obtain the front-back interface parameters and the back-back interface parameters, and then the parameter editor of the interface specification editing tool is obtained, so that some common interface specification editing tools, such as Swagger, postman, can be selected, or can be developed by itself according to specific requirements. And according to the selected interface specification editing tool, knowing the using method and the supported interface specification format, inputting the front-end interface parameters into the parameter editor, operating the interface specification editing tool to obtain a front-end code generating tool, inputting the back-end interface parameters into the parameter editor, and operating the interface specification editing tool to obtain a back-end code generating tool.
When the interface specification editing tool is operated, whether the imported interface specification document accords with the expectation is confirmed, whether the definition and the parameters of the interface are correct is checked, and necessary modification and adjustment are carried out. The interface data model is formatted and processed to be suitable for a subsequent code generation tool, and scripts or tools can be used for further processing and converting the data model to meet the input requirements of the front-end code generation tool and the back-end code generation tool.
In the above embodiment, the application obtains the interface data model by inputting the front-end and back-end interface specification document into the preset interface specification editing tool, where the interface data model includes a front-end code generating tool for generating the front-end code and a back-end code generating tool for generating the back-end code.
S203, acquiring a development requirement document, and analyzing the development requirement document to obtain a front-end development requirement and a back-end development requirement.
In the above embodiment, the development requirement document is acquired, and the development requirement document is parsed to obtain the front-end development requirement and the back-end development requirement. In order to acquire specific front-end and back-end development requirements, the development requirement document needs to be analyzed, and the development requirements comprise requirements of front-end interface design, back-end business logic and the like.
S204, inputting the front-end development requirement into a front-end code generation tool to generate a front-end code.
In the above embodiment, according to the front-end development requirements, the front-end development requirements are input into the front-end code generation tool to generate the corresponding front-end code, and the front-end code includes HTML, CSS, javaScript and other forms.
Further, the front-end development requirement is input into a front-end code generating tool to generate the front-end code, which specifically comprises:
analyzing front-end development requirements, acquiring front-end requirement parameters, and determining a front-end development framework;
searching a code template matched with the front-end development framework in a front-end code generation tool to obtain a front-end code template;
and leading the front-end demand parameters into a front-end code template to obtain a front-end code.
In the above embodiment, the front-end development requirements are analyzed to obtain the front-end requirement parameters, and the front-end requirement parameters, such as input data, request types, request paths, and the like, and the front-end development framework, such as React, angular, vue, is determined according to the front-end requirement parameters, so that the generated code can be ensured to be matched with the technical stack and development environment of the team.
The front-end code generation tool is used for generating corresponding codes according to the front-end development framework, and front-end code templates matched with the front-end development framework are searched in the front-end code generation tool and comprise code fragments such as definition of a front-end interface, request sending, result processing and the like. Leading the front-end demand parameters into a front-end code template, replacing corresponding variables or placeholders, and generating the front-end codes meeting the requirements. After the front-end demand parameters are imported, codes meeting the front-end development demands are obtained, and the front-end codes can be directly integrated into the front-end project and used for realizing the request and the data processing logic of the front-end interface.
In the embodiment, the front-end development efficiency and consistency are improved, and the workload of manually writing repeated codes is reduced. Meanwhile, because the code template is generated according to the front-end development framework, the generated code can be ensured to be consistent with the technical stack and development specification of the team, and the quality and maintainability of the code are improved.
Further, the front-end demand parameters are imported into a front-end code template to obtain a front-end code, which specifically comprises:
identifying each data field to be embedded of the front-end code template;
matching each front-end demand parameter with each data field to be embedded of the front-end code template to obtain a field parameter matching result of the front-end code;
leading the front-end demand parameters into a front-end code template in sequence according to the field parameter matching result of the front-end code to obtain a front-end element control code;
and embedding the front-end element control code into a front-end development framework to obtain a front-end code.
In the above embodiment, the front-end code template needs to be analyzed first to identify the data fields to be embedded therein, which are represented by specific marks or placeholders, such as { fieldName1}, which represent the portions that need to be replaced according to the front-end requirement parameters. According to the front-end demand parameters and the data fields to be embedded of the front-end code template, matching is carried out one by one, for each data field to be embedded, the corresponding front-end demand parameters need to be found, the matching result can be a mapping relation, and the data fields to be embedded and the corresponding front-end demand parameters are associated.
And according to the field parameter matching result, leading the front-end demand parameters into a front-end code template in sequence, and replacing each data field to be embedded by using the corresponding front-end demand parameters, so that a front-end element control code can be obtained, wherein the data field is replaced by a specific front-end demand parameter value. According to the specification and the requirements of the front-end development framework, the front-end element control codes are embedded into corresponding positions, so that final front-end codes are obtained, and the front-end codes can be integrated into a front-end project for development and testing.
In the embodiment, the front-end demand parameters can be matched with the front-end code template and imported, the front-end code meeting the demand is generated, the front-end development efficiency can be improved, and the workload of manually writing the repeated code is reduced.
S205, inputting the back-end development requirement to a back-end code generation tool to generate back-end codes.
In the above embodiment, according to the back-end development requirements, the back-end development requirements are input into the back-end code generation tool to generate the corresponding back-end code, and the back-end code includes database operations, business logic processing, and the like.
Further, the back-end development requirement is input into a back-end code generating tool to generate back-end codes, which specifically comprises:
Analyzing the back-end development requirements, acquiring back-end requirement parameters, and determining a back-end development framework;
searching a code template matched with the back-end development framework in a back-end code generation tool to obtain a back-end code template;
and leading the front-end demand parameters into a back-end code template to obtain a back-end code.
In the above embodiment, the back-end development requirement needs to be parsed first to obtain the back-end requirement parameters therein. These parameters typically include database table structures, interface definitions, business logic, and the like. At the same time, a back-end development framework, such as Java Spring, python Django, etc., needs to be determined, and the selection of the back-end development framework is generally based on the technical stack and project requirements of the team.
According to the determined back-end development framework, the code templates matched with the back-end development framework are searched in a back-end code generation tool, the code templates are predefined, and according to different back-end development frameworks and requirement scenes, corresponding templates are provided, and the code template boards generally comprise common back-end development functions and structures, such as database operation, interface definition, business logic and the like.
And importing the parameters into the template according to the acquired back-end demand parameters and the back-end code template, and replacing each data field to be embedded with the corresponding back-end demand parameters to obtain the back-end code meeting the back-end development demand.
In the embodiment, the back-end development requirement can be input into the back-end code generation tool to generate the back-end code meeting the requirement, so that the development efficiency can be improved, and the workload of manually writing the repeated code is reduced. Meanwhile, the back-end code is generated according to the back-end development framework and the demand parameters, so that the generated code can be ensured to be consistent with the technical stack and development specifications of the team, and the quality and maintainability of the code are improved.
Further, the front-end demand parameters are imported into a back-end code template to obtain a back-end code, which specifically comprises:
identifying each data field to be embedded of the back-end code template;
matching each back-end demand parameter with each data field to be embedded of the back-end code template to obtain a field parameter matching result of the back-end code;
and sequentially importing the back-end demand parameters into a back-end code template according to the field parameter matching result of the front-end code to obtain the back-end code.
In the above embodiment, the back-end code template is analyzed to identify data fields therein that are typically represented by specific labels or placeholders, such as { fieldName2}, by identifying these fields, it is possible to determine which back-end requirements parameters need to be imported into the back-end code template.
For each back-end requirement parameter, the back-end requirement parameter needs to be matched with each data field to be embedded of the back-end code template, the matching process can be judged according to the field name, the type or other conditions, the matching result can be a mapping relation, and the back-end requirement parameter is associated with the corresponding data field to be embedded.
And according to the field parameter matching result, sequentially importing the back-end requirement parameters into a back-end code template, and replacing each data field to be embedded with the corresponding back-end requirement parameters to obtain a back-end code. Wherein the data field to be embedded in the back-end code template has been replaced by a specific back-end requirement parameter value.
In the embodiment, the method and the device can match and import the back-end requirement parameters and the back-end code template to generate the back-end code meeting the requirement, improve the development efficiency of the back-end and reduce the workload of manually writing the repeated code.
Further, before acquiring the development requirement document and analyzing the development requirement document to obtain the front-end development requirement and the back-end development requirement, the method further comprises:
acquiring an information uploading instruction, generating a development requirement configuration template, and displaying the development requirement configuration template on a client interface;
Responding to the information uploading instruction, and acquiring development requirement information filled in a development requirement configuration template by a user;
and integrating the development requirement information to obtain a development requirement document.
In the above embodiments, the information upload instruction is obtained, which is typically a request initiated by a client or other system, and the upload instruction may include request parameters for obtaining development requirements, such as project names, function requirements, interface designs, and the like. According to the acquired information uploading instruction, a development requirement configuration template can be generated, the template is usually a form or an interface and is used for displaying various fields and options of development requirements, the development requirement configuration template is displayed on a client interface, and a user can fill in development requirement information.
After the development requirement information is filled in the development requirement configuration template by the user, the development requirement information filled in by the user is uploaded to the back end by responding to the information uploading instruction, so that the back end can acquire the development requirement parameters filled in by the user. After the development requirement information filled in by the user is acquired, the information is integrated to obtain a final development requirement document, and the development requirement document can contain front-end development requirements, back-end development requirements and other relevant information.
Through the process, the information required by the development requirement document can be acquired, the development requirement information filled in by the user is integrated into the document, the development requirement document can be ensured to accurately reflect the requirements and requirements of the user, and a basis is provided for subsequent development work. Meanwhile, the development requirement configuration template is displayed on the client interface, so that a user can fill in development requirement information conveniently, and user experience and participation are improved.
In the above embodiment, the application discloses a front-end and back-end code automatic generation method, which belongs to the technical field of research and development management and the technical field of finance and technology. The method comprises the steps of obtaining a front-end interface specification document and a back-end interface specification document which are defined in advance, inputting the front-end interface specification document and the back-end interface specification document into a preset interface specification editing tool to obtain an interface data model, wherein the interface data model comprises a front-end code generating tool and a back-end code generating tool, obtaining a development requirement document, analyzing the development requirement document to obtain a front-end development requirement and a back-end development requirement, inputting the front-end development requirement into the front-end code generating tool to generate a front-end code, and inputting the back-end development requirement into the back-end code generating tool to generate a back-end code. According to the method, the code generation tool is constructed through the interface specification document and the interface specification editing tool, front and rear end codes are automatically generated through the development requirement document and the code generation tool, repeated labor is reduced, meanwhile, the consistency of the codes is improved, and errors caused by manually writing the codes are reduced.
In this embodiment, the electronic device (for example, the server shown in fig. 1) on which the front-end and back-end code automatic generation method operates may receive the instruction or acquire the data through a wired connection manner or a wireless connection manner. It should be noted that the wireless connection may include, but is not limited to, 3G/4G connections, wiFi connections, bluetooth connections, wiMAX connections, zigbee connections, UWB (ultra wideband) connections, and other now known or later developed wireless connection means.
It is emphasized that to further ensure the privacy and security of the development requirement document, the development requirement document may also be stored in a blockchain node.
The blockchain referred to in the application is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The Blockchain (Blockchain), which is essentially a decentralised database, is a string of data blocks that are generated by cryptographic means in association, each data block containing a batch of information of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
Those skilled in the art will appreciate that implementing all or part of the processes of the methods of the embodiments described above may be accomplished by way of computer readable instructions, stored on a computer readable storage medium, which when executed may comprise processes of embodiments of the methods described above. The storage medium may be a nonvolatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a random access Memory (Random Access Memory, RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
With further reference to fig. 3, as an implementation of the method shown in fig. 2, the application provides an embodiment of an apparatus for automatically generating front-end and back-end codes, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 3, the front-end and back-end code automatic generation apparatus 300 according to the present embodiment includes:
the interface specification document module 301 is configured to obtain a predefined front-end interface specification document, where front-end interface parameters and back-end interface parameters are defined in the front-end interface specification document;
the interface data model module 302 is configured to input the front-end interface specification document and the back-end interface specification document into a preset interface specification editing tool to obtain an interface data model, where the interface data model includes a front-end code generating tool and a back-end code generating tool;
the requirement document analysis module 303 is configured to obtain a development requirement document, and analyze the development requirement document to obtain a front-end development requirement and a back-end development requirement;
the front-end code generation module 304 is configured to input a front-end development requirement to a front-end code generation tool to generate a front-end code;
the back-end code generation module 305 is configured to input back-end development requirements to a back-end code generation tool, and generate back-end code.
Further, the interface data model module 302 specifically includes:
the standard document analysis unit is used for analyzing the front-end interface standard document and the rear-end interface standard document to acquire front-end interface parameters and rear-end interface parameters;
an editor acquisition unit for acquiring a parameter editor of the interface specification editing tool;
the front end interface parameter input unit is used for inputting the front end interface parameter into the parameter editor and running the interface specification editing tool to obtain a front end code generating tool;
and the back-end interface parameter input unit is used for inputting the back-end interface parameter into the parameter editor and running the interface specification editing tool to obtain a back-end code generating tool.
Further, the front-end code generation module 304 specifically includes:
the front-end demand analysis unit is used for analyzing the front-end development demand, acquiring front-end demand parameters and determining a front-end development framework;
the front-end code template matching unit is used for searching a code template matched with the front-end development framework in the front-end code generating tool to obtain a front-end code template;
the front-end code generating unit is used for importing the front-end demand parameters into the front-end code template to obtain the front-end code.
Further, the front-end code generating unit specifically includes:
The first field to be embedded identification subunit is used for identifying each data field to be embedded of the front-end code template;
the field parameter matching subunit is used for matching each front-end demand parameter with each data field to be embedded of the front-end code template to obtain a field parameter matching result of the front-end code;
the front-end demand parameter importing subunit is used for sequentially importing the front-end demand parameters into a front-end code template according to a field parameter matching result of the front-end code to obtain a front-end element control code;
and the front-end code generation subunit is used for embedding the front-end element control code into the front-end development framework to obtain the front-end code.
Further, the back-end development requirement is input into a back-end code generating tool to generate back-end codes, which specifically comprises:
the back-end demand analysis unit is used for analyzing back-end development demands, acquiring back-end demand parameters and determining a back-end development framework;
the back-end code template matching unit is used for searching a code template matched with the back-end development framework in the back-end code generating tool to obtain a back-end code template;
and the back-end code generating unit is used for importing the front-end demand parameters into a back-end code template to obtain a back-end code.
Further, the back-end code generating unit specifically includes:
the second field identification subunit is used for identifying each data field to be embedded of the back-end code template;
the back-end demand parameter importing subunit is used for matching each back-end demand parameter with each data field to be embedded of the back-end code template to obtain a field parameter matching result of the back-end code;
and the back-end code generation subunit is used for sequentially importing back-end demand parameters into a back-end code template according to the field parameter matching result of the front-end code to obtain the back-end code.
Further, the front-end and back-end code automatic generation apparatus 300 further includes:
the demand configuration template module is used for acquiring the information uploading instruction, generating a development demand configuration template and displaying the development demand configuration template on the client interface;
the demand information acquisition module is used for responding to the information uploading instruction and acquiring development demand information filled in the development demand configuration template by a user;
and the demand information integration module is used for integrating the development demand information to obtain a development demand document.
In the above embodiment, the application discloses an automatic front-end and back-end code generating device, which belongs to the technical field of research and development management and the technical field of finance and technology. The method comprises the steps of obtaining a front-end interface specification document and a back-end interface specification document which are defined in advance, inputting the front-end interface specification document and the back-end interface specification document into a preset interface specification editing tool to obtain an interface data model, wherein the interface data model comprises a front-end code generating tool and a back-end code generating tool, obtaining a development requirement document, analyzing the development requirement document to obtain a front-end development requirement and a back-end development requirement, inputting the front-end development requirement into the front-end code generating tool to generate a front-end code, and inputting the back-end development requirement into the back-end code generating tool to generate a back-end code. According to the method, the code generation tool is constructed through the interface specification document and the interface specification editing tool, front and rear end codes are automatically generated through the development requirement document and the code generation tool, repeated labor is reduced, meanwhile, the consistency of the codes is improved, and errors caused by manually writing the codes are reduced.
In order to solve the technical problems, the embodiment of the application also provides computer equipment. Referring specifically to fig. 4, fig. 4 is a basic structural block diagram of a computer device according to the present embodiment.
The computer device 4 comprises a memory 41, a processor 42, a network interface 43 communicatively connected to each other via a system bus. It should be noted that only computer device 4 having components 41-43 is shown in the figures, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may be implemented instead. It will be appreciated by those skilled in the art that the computer device herein is a device capable of automatically performing numerical calculations and/or information processing in accordance with predetermined or stored instructions, the hardware of which includes, but is not limited to, microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASICs), programmable gate arrays (fields-Programmable Gate Array, FPGAs), digital processors (Digital Signal Processor, DSPs), embedded devices, etc.
The computer equipment can be a desktop computer, a notebook computer, a palm computer, a cloud server and other computing equipment. The computer equipment can perform man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch pad or voice control equipment and the like.
The memory 41 includes at least one type of readable storage medium including flash memory, hard disk, multimedia card, card memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), programmable Read Only Memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the storage 41 may be an internal storage unit of the computer device 4, such as a hard disk or a memory of the computer device 4. In other embodiments, the memory 41 may also be an external storage device of the computer device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card) or the like, which are provided on the computer device 4. Of course, the memory 41 may also comprise both an internal memory unit of the computer device 4 and an external memory device. In this embodiment, the memory 41 is generally used to store an operating system and various application software installed on the computer device 4, such as computer readable instructions of an automatic generation method of front-end and back-end codes. Further, the memory 41 may be used to temporarily store various types of data that have been output or are to be output.
The processor 42 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 42 is typically used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is configured to execute computer readable instructions stored in the memory 41 or process data, for example, computer readable instructions for executing the method for automatically generating front-end and back-end codes.
The network interface 43 may comprise a wireless network interface or a wired network interface, which network interface 43 is typically used for establishing a communication connection between the computer device 4 and other electronic devices.
In the above embodiments, the application discloses a computer device, which belongs to the technical field of research and development management and the field of financial technology. The method comprises the steps of obtaining a front-end interface specification document and a back-end interface specification document which are defined in advance, inputting the front-end interface specification document and the back-end interface specification document into a preset interface specification editing tool to obtain an interface data model, wherein the interface data model comprises a front-end code generating tool and a back-end code generating tool, obtaining a development requirement document, analyzing the development requirement document to obtain a front-end development requirement and a back-end development requirement, inputting the front-end development requirement into the front-end code generating tool to generate a front-end code, and inputting the back-end development requirement into the back-end code generating tool to generate a back-end code. According to the method, the code generation tool is constructed through the interface specification document and the interface specification editing tool, front and rear end codes are automatically generated through the development requirement document and the code generation tool, repeated labor is reduced, meanwhile, the consistency of the codes is improved, and errors caused by manually writing the codes are reduced.
The present application also provides another embodiment, namely, a computer-readable storage medium, where computer-readable instructions are stored, where the computer-readable instructions are executable by at least one processor, so that the at least one processor performs the steps of the method for automatically generating front-end and back-end codes as described above.
In the above embodiments, the application discloses a computer readable storage medium, which belongs to the technical field of research and development management and the field of financial science and technology. The method comprises the steps of obtaining a front-end interface specification document and a back-end interface specification document which are defined in advance, inputting the front-end interface specification document and the back-end interface specification document into a preset interface specification editing tool to obtain an interface data model, wherein the interface data model comprises a front-end code generating tool and a back-end code generating tool, obtaining a development requirement document, analyzing the development requirement document to obtain a front-end development requirement and a back-end development requirement, inputting the front-end development requirement into the front-end code generating tool to generate a front-end code, and inputting the back-end development requirement into the back-end code generating tool to generate a back-end code. According to the method, the code generation tool is constructed through the interface specification document and the interface specification editing tool, front and rear end codes are automatically generated through the development requirement document and the code generation tool, repeated labor is reduced, meanwhile, the consistency of the codes is improved, and errors caused by manually writing the codes are reduced.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The subject application is operational with numerous general purpose or special purpose computer system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
It is apparent that the embodiments described above are only some embodiments of the present application, but not all embodiments, the preferred embodiments of the present application are given in the drawings, but not limiting the patent scope of the present application. This application may be embodied in many different forms, but rather, embodiments are provided in order to provide a more thorough understanding of the present disclosure. Although the present application has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described in the foregoing, or equivalents may be substituted for elements thereof. All equivalent structures made by the specification and the drawings of the application are directly or indirectly applied to other related technical fields, and are also within the protection scope of the application.
Claims (10)
1. The front-end and back-end code automatic generation method is characterized by comprising the following steps of:
acquiring a predefined front-back interface specification document, wherein front-back interface parameters and back-back interface parameters are defined in the front-back interface specification document;
inputting the front-end interface specification document and the back-end interface specification document into a preset interface specification editing tool to obtain an interface data model, wherein the interface data model comprises a front-end code generating tool and a back-end code generating tool;
Acquiring a development requirement document, and analyzing the development requirement document to obtain a front-end development requirement and a back-end development requirement;
inputting the front-end development requirements to the front-end code generation tool to generate a front-end code;
and inputting the back-end development requirements to the back-end code generation tool to generate back-end codes.
2. The method for automatically generating front-end and back-end codes according to claim 1, wherein the step of inputting the front-end interface specification document into a preset interface specification editing tool to obtain an interface data model specifically comprises the steps of:
analyzing the front-back interface specification document to obtain the front-back interface parameters and the back-back interface parameters;
acquiring a parameter editor of the interface specification editing tool;
inputting the front-end interface parameters into the parameter editor, and operating the interface specification editing tool to obtain the front-end code generating tool;
and inputting the back-end interface parameters into the parameter editor, and operating the interface specification editing tool to obtain the back-end code generating tool.
3. The method for automatically generating front-end and back-end codes according to claim 1, wherein said inputting the front-end development requirements to the front-end code generating tool generates front-end codes, specifically comprising:
Analyzing the front-end development requirements, acquiring front-end requirement parameters, and determining a front-end development framework;
searching a code template matched with the front-end development framework in the front-end code generation tool to obtain a front-end code template;
and importing the front-end demand parameters into the front-end code template to obtain the front-end code.
4. The method for automatically generating a front-end and back-end code according to claim 3, wherein said importing the front-end requirement parameter into the front-end code template to obtain the front-end code specifically comprises:
identifying each data field to be embedded of the front-end code template;
matching each front-end demand parameter with each data field to be embedded of the front-end code template to obtain a field parameter matching result of the front-end code;
sequentially importing the front-end demand parameters into the front-end code template according to the field parameter matching result of the front-end code to obtain a front-end element control code;
and embedding the front-end element control code into the front-end development framework to obtain the front-end code.
5. The method for automatically generating a back-end code according to claim 1, wherein the step of inputting the back-end development requirement to the back-end code generating tool to generate a back-end code specifically comprises:
Analyzing the back-end development requirements, acquiring back-end requirement parameters, and determining a back-end development framework;
searching a code template matched with the back-end development framework in the back-end code generation tool to obtain a back-end code template;
and importing the front-end demand parameters into the back-end code template to obtain the back-end code.
6. The method for automatically generating a back-end code according to claim 5, wherein said importing the front-end requirement parameter into the back-end code template to obtain the back-end code specifically comprises:
identifying each data field to be embedded of the back-end code template;
matching each back-end demand parameter with each data field to be embedded of the back-end code template to obtain a field parameter matching result of the back-end code;
and sequentially importing the back-end demand parameters into the back-end code template according to the field parameter matching result of the front-end code to obtain the back-end code.
7. The method for automatically generating front-end and back-end codes according to any one of claims 1 to 6, further comprising, before the acquiring the development requirement document and parsing the development requirement document to obtain the front-end development requirement and the back-end development requirement:
Acquiring an information uploading instruction, generating a development requirement configuration template, and displaying the development requirement configuration template on a client interface;
responding to the information uploading instruction, and acquiring development requirement information filled in the development requirement configuration template by a user;
and integrating the development requirement information to obtain the development requirement document.
8. An apparatus for automatically generating front-end and back-end codes, comprising:
the interface specification document module is used for acquiring a predefined front-back interface specification document, wherein front-back interface parameters and back-back interface parameters are defined in the front-back interface specification document;
the interface data model module is used for inputting the front-end interface specification document and the back-end interface specification document into a preset interface specification editing tool to obtain an interface data model, wherein the interface data model comprises a front-end code generating tool and a back-end code generating tool;
the demand document analysis module is used for acquiring a development demand document, and analyzing the development demand document to obtain a front-end development demand and a back-end development demand;
the front-end code generation module is used for inputting the front-end development requirements to the front-end code generation tool to generate a front-end code;
And the back-end code generation module is used for inputting the back-end development requirements to the back-end code generation tool to generate back-end codes.
9. A computer device comprising a memory and a processor, the memory having stored therein computer readable instructions which when executed by the processor implement the steps of the front-end code auto-generation method of any of claims 1 to 7.
10. A computer readable storage medium having stored thereon computer readable instructions which when executed by a processor implement the steps of the front-end code automatic generation method of any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410050389.4A CN117873486A (en) | 2024-01-12 | 2024-01-12 | Front-end and back-end code automatic generation method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410050389.4A CN117873486A (en) | 2024-01-12 | 2024-01-12 | Front-end and back-end code automatic generation method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117873486A true CN117873486A (en) | 2024-04-12 |
Family
ID=90592932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410050389.4A Pending CN117873486A (en) | 2024-01-12 | 2024-01-12 | Front-end and back-end code automatic generation method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117873486A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118312158A (en) * | 2024-06-11 | 2024-07-09 | 广东汉佳信息技术有限公司 | Code generation method and device based on template and electronic equipment |
-
2024
- 2024-01-12 CN CN202410050389.4A patent/CN117873486A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118312158A (en) * | 2024-06-11 | 2024-07-09 | 广东汉佳信息技术有限公司 | Code generation method and device based on template and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN117873486A (en) | Front-end and back-end code automatic generation method, device, equipment and storage medium | |
CN112783482B (en) | Visual form generation method, device, equipment and storage medium | |
CN117033249A (en) | Test case generation method and device, computer equipment and storage medium | |
CN114035793A (en) | Page generation method, page generation device, equipment and storage medium | |
CN116453125A (en) | Data input method, device, equipment and storage medium based on artificial intelligence | |
CN115712422A (en) | Form page generation method and device, computer equipment and storage medium | |
CN115794437A (en) | Calling method and device of microservice, computer equipment and storage medium | |
CN113836235B (en) | Data processing method based on data center and related equipment thereof | |
CN117234505A (en) | Interactive page generation method, device, equipment and storage medium thereof | |
CN116974929A (en) | Automatic test tool construction method, automatic test method and related equipment thereof | |
CN114968741B (en) | Performance test method, system, equipment and medium based on scene platformization | |
CN116383787A (en) | Page creation method, page creation device, computer equipment and storage medium | |
CN116450723A (en) | Data extraction method, device, computer equipment and storage medium | |
CN114968725A (en) | Task dependency relationship correction method and device, computer equipment and storage medium | |
CN115309649A (en) | Test case generation method and device, computer equipment and storage medium | |
CN117421233A (en) | Annotation-based code generation method, annotation-based code generation device, computer equipment and storage medium | |
CN116360796A (en) | Optimization method and device of sql script, computer equipment and storage medium | |
CN117492752A (en) | Page dynamic configuration method and device, computer equipment and storage medium | |
CN116738084A (en) | Buried data processing method, buried data processing device, computer equipment and storage medium | |
CN116661763A (en) | Front-end and back-end development management method and device, computer equipment and storage medium | |
CN114969482A (en) | Method for automatically completing request by online configuration interface and related equipment thereof | |
CN116541417A (en) | Batch data processing method, device, computer equipment and storage medium | |
CN118295908A (en) | Commodity data processing method, commodity data processing device, computer equipment and storage medium | |
CN116737437A (en) | Data analysis method, device, computer equipment and storage medium | |
CN117421207A (en) | Intelligent evaluation influence point test method, intelligent evaluation influence point test device, computer equipment and storage medium |
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 |