CN116301814A - Application development method, device, storage medium and program development system - Google Patents

Application development method, device, storage medium and program development system Download PDF

Info

Publication number
CN116301814A
CN116301814A CN202211534145.0A CN202211534145A CN116301814A CN 116301814 A CN116301814 A CN 116301814A CN 202211534145 A CN202211534145 A CN 202211534145A CN 116301814 A CN116301814 A CN 116301814A
Authority
CN
China
Prior art keywords
program
data
application
development
parameters
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
CN202211534145.0A
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.)
Yonyou Network Technology Co Ltd
Original Assignee
Yonyou Network 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 Yonyou Network Technology Co Ltd filed Critical Yonyou Network Technology Co Ltd
Priority to CN202211534145.0A priority Critical patent/CN116301814A/en
Publication of CN116301814A publication Critical patent/CN116301814A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/35Creation or generation of source code model driven
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding
    • G06F8/447Target code generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The invention provides a development method and device of an application program, a storage medium and a program development system. The development method of the application program is used for a program development system, the program development system comprises a program generating device and a database, and the development method of the application program comprises the following steps: acquiring target data in a database, and acquiring a data template corresponding to the target data; according to the data template, carrying out data processing on the target data to obtain program parameters; the method comprises the steps of performing data rendering on program parameters through a program generating device to obtain program codes, and establishing program documents corresponding to the program codes; a program document is a document for explaining program code.

Description

Application development method, device, storage medium and program development system
Technical Field
The present invention relates to the field of application program development technologies, and in particular, to a method, an apparatus, a storage medium, and a program development system for developing an application program.
Background
At present, a service provider encapsulates the developed data service functions into a series of APIs (Application ProgrammingInterface, application programming interfaces) to be opened for a third party developer to use, but the existing API development mode has the problems that the development steps are complicated, a program interface cannot be automatically generated according to a data structure, and the like.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems existing in the prior art or related art.
To this end, a first aspect of the present invention is to propose a development method of an application program.
A second aspect of the present invention is to provide an application development apparatus.
A third aspect of the present invention is to provide an application development apparatus.
A fourth aspect of the invention is directed to a readable storage medium.
A fifth aspect of the present invention is directed to a program development system.
In view of this, according to a first aspect of the present invention, there is provided a development method of an application program for a program development system including a program generating device and a database, the development method of the application program comprising: acquiring target data in a database, and acquiring a data template corresponding to the target data; according to the data template, carrying out data processing on the target data to obtain program parameters; the method comprises the steps of performing data rendering on program parameters through a program generating device to obtain program codes, and establishing program documents corresponding to the program codes; a program document is a document for explaining program code.
In the technical scheme, the application program development method is provided and used for a program development system, and the program development system is a computer system for developing the application program, and a program generation device and a database are deployed in the program development system, wherein the program generation device is a development device for automatically generating the application program, and the database is a warehouse for organizing, storing and managing data.
The program generating means may be embodied as generating means of an API (ApplicationProgramming Interface ), which is a call interface of an application program to an external development, and the database may be embodied as a data repository storing text data, for example.
The program development system inquires data in the database, reads target data in the database, and reads a data template corresponding to the target data, wherein the target data is data which needs to be operated and processed in the database, and the data template is a template for explaining a data structure.
The target data may be text data in a database, and the data template may be a template corresponding to a tree structure.
And the program development system performs data arrangement on the target data according to the data template, and determines the program parameters corresponding to the target data, wherein the program parameters are the data parameters for the application program.
Illustratively, the program development system may remove redundant data from the target data according to the data templates, and then convert the target data into the program parameters.
The program parameters may be, for example, interface parameters in an application programming interface.
The program parameters may be, for example, in particular entity parameters constituting a data processing service.
The program development system renders the program parameters through the program generating device to obtain program codes corresponding to the program parameters, wherein the program codes are running codes written through a computer language.
The program code may be embodied, for example, in interface code in an application programming interface.
The program code may be embodied in, for example, interface code that performs the functions of integrating text data and converting text data structures, etc.
The program development system can also generate a program document corresponding to the program code by the program generation device, and the program document is a description document introducing the function or logic of the program code.
By way of example, the program document may be embodied as an interface document that describes the specific functionality of an application programming interface.
According to the development method of the application program in the technical scheme, the program parameters corresponding to the target data are determined according to the target data and the data template in the database, the program codes corresponding to the program parameters are generated through the program generating device, the program documents corresponding to the program codes are generated, the function of automatically generating the program codes and the program documents according to the target data and the data template is realized through the program generating device, the development steps of the application program are simplified, and the development efficiency of the application program is further improved.
The development method of the application program according to the present invention may further have the following additional technical features:
in the above technical solution, according to the data template, performing data processing on the target data to obtain the program parameters, which specifically includes: according to the data template, data integration is carried out on the target data so as to obtain a data set; and performing data conversion on the data set to obtain the program parameters.
According to the development method of the application program in the technical scheme, the data set corresponding to the target data is determined according to the data template, and then the program parameters are obtained according to the data set, so that the data integrity and the data accuracy of the target data are ensured, and further the data integrity and the data accuracy of the program parameters are ensured.
In the above technical solution, the program generating device performs data rendering on the program parameters to obtain the program code, which specifically includes: acquiring a code template corresponding to the program parameter through a program generating device; and according to the code template, performing data rendering on the program parameters to obtain the program code.
According to the development method of the application program in the technical scheme, the data set corresponding to the target data is determined according to the data template, and then the program parameters are obtained according to the data set, so that the data integrity and the data accuracy of the target data are ensured, and further the data integrity and the data accuracy of the program parameters are ensured.
In the above technical solution, creating a program document corresponding to a program code specifically includes: acquiring a document model corresponding to the program code; converting the data of the program codes through a document model to obtain annotation data; and data storage is carried out on the annotation data so as to obtain the program document.
According to the development method of the application program in the technical scheme, annotation data corresponding to the program code is determined according to the document model, the annotation data is stored in the document, the program document corresponding to the program code is further obtained, the data integrity of the program document corresponding to the program code is guaranteed, meanwhile, the code readability of the program code is improved through the program document, and the executable of the program code is further improved.
In the above technical solution, the program development system includes a program debugging device, and after creating a program document corresponding to the program code, the program development system further includes: compiling the program codes through a program generating device to obtain application programs; and running the application program through the program debugging device.
According to the development method of the application program in the technical scheme, the program code is packaged into the application program through the program generation device, and then the application program is executed through the program debugging device, so that the code effectiveness of the program code is guaranteed, and meanwhile, the executable performance of the application program is guaranteed through the program debugging device.
In the above technical solution, after the application program is run, the method further includes: acquiring the operation parameters of the application program through a program debugging device; and updating the program document according to the operation parameters.
According to the development method of the application program in the technical scheme, the application program is executed through the program debugging device, the operation parameters of the application program are obtained, the content of the program document can be adjusted according to the operation parameters, the operation performance of the application program is guaranteed, and meanwhile, the data accuracy of the program document is guaranteed.
According to a second aspect of the present invention, there is provided a development device of an application program for a program development system including a program generation device and a database, the development device of the application program comprising: the acquisition module is used for acquiring target data in the database and acquiring a data template corresponding to the target data; the processing module is used for carrying out data processing on the target data according to the data template so as to obtain program parameters; the processing module is also used for generating program codes according to the program parameters through the program generating device and establishing program documents corresponding to the program codes; a program document is a document for interpreting program code.
In the technical scheme, the development device of the application program is provided and used for a program development system, and the program development system is a computer system for developing the application program, and a program generation device and a database are deployed in the program development system, wherein the program generation device is a development device for automatically generating the application program, and the database is a warehouse for organizing, storing and managing data.
The program generating means may be embodied as generating means of an API (ApplicationProgramming Interface ), which is a call interface of an application program to an external development, and the database may be embodied as a data repository storing text data, for example.
The acquisition module inquires data in the database, reads target data in the database, and reads a data template corresponding to the target data, wherein the target data is data which needs to be operated and processed in the database, and the data template is a template for explaining a data structure.
The target data may be text data in a database, and the data template may be a template corresponding to a tree structure.
The processing module performs data arrangement on the target data according to the data template, and determines program parameters corresponding to the target data, wherein the program parameters are data parameters for application programs.
Illustratively, the program development system may remove redundant data from the target data according to the data templates, and then convert the target data into the program parameters.
The program parameters may be, for example, interface parameters in an application programming interface.
The program parameters may be, for example, in particular entity parameters constituting a data processing service.
The processing module renders the program parameters through the program generating device to obtain program codes corresponding to the program parameters, wherein the program codes are running codes written through a computer language.
The program code may be embodied, for example, in interface code in an application programming interface.
The program code may be embodied in, for example, interface code that performs the functions of integrating text data and converting text data structures, etc.
The processing module can also generate a program document corresponding to the program code through the program generating device, and the program document is a description document introducing the function or logic of the program code.
By way of example, the program document may be embodied as an interface document that describes the specific functionality of an application programming interface.
According to the technical scheme, the development device of the application program determines the program parameters corresponding to the target data according to the target data and the data template in the database, generates the program codes corresponding to the program parameters through the program generation device, generates the program documents corresponding to the program codes, realizes the function of automatically generating the program codes and the program documents according to the target data and the data template through the program generation device, simplifies the development steps of the application program, and further improves the development efficiency of the application program.
According to a third aspect of the present invention, there is provided an application development apparatus comprising a processor and a memory, the memory storing a program or instructions which, when executed by the processor, implement the steps of the application development method according to any one of the above-described aspects. Therefore, the development device of the application has all the advantages of the development method of the application in any of the above-mentioned technical solutions, and will not be described in detail here.
According to a fourth aspect of the present invention, there is provided a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement a method of developing an application program as in any of the above-mentioned aspects. Therefore, the readable storage medium has all the advantages of the development method of the application program in any of the above-mentioned technical solutions, and will not be described in detail herein.
According to a fifth aspect of the present invention, there is provided a program development system comprising: the development device of the application program as defined in the above second aspect, or the development device of the application program as defined in the above third aspect, and/or the readable storage medium as defined in the above fourth aspect, and thus has all the advantageous technical effects of the development device of the application program as defined in the above second aspect, or the development device of the application program as defined in the above third aspect, and/or the readable storage medium as defined in the above fourth aspect, which are not repeated here.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the invention will become apparent and may be better understood from the following description of embodiments taken in conjunction with the accompanying drawings in which:
FIG. 1 shows one of the flow diagrams of the development method of the application program in the embodiment of the invention;
FIG. 2 is a second flow chart of the development method of the application program according to the embodiment of the invention;
FIG. 3 is a third flow chart illustrating a development method of an application program according to an embodiment of the invention;
FIG. 4 is a flow chart showing a development method of an application program in an embodiment of the invention;
FIG. 5 is a flow chart of a development method of an application program according to an embodiment of the invention;
FIG. 6 is a flowchart of a development method of an application program according to an embodiment of the invention;
FIG. 7 shows one of the block diagrams of the development apparatus of the application program in the embodiment of the present invention;
FIG. 8 shows one of the schematics of the development device of the application in the embodiment of the invention;
FIG. 9 is a second schematic diagram of an application development device in an embodiment of the invention;
Fig. 10 shows a second block diagram of the development apparatus of the application program in the embodiment of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description. It should be noted that, without conflict, the embodiments of the present invention and features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those described herein, and the scope of the invention is therefore not limited to the specific embodiments disclosed below.
The method, apparatus, storage medium and program development system for developing an application program according to the embodiments of the present application are described in detail below with reference to fig. 1 to 10 by means of specific embodiments and application scenarios thereof.
In one embodiment according to the present application, as shown in fig. 1, there is provided a development method of an application program for a program development system including a program generating device and a database, the development method of the application program including:
102, acquiring target data in a database and a data template corresponding to the target data;
104, performing data processing on the target data according to the data template to obtain program parameters;
and 106, performing data rendering on the program parameters through a program generating device to obtain program codes, and establishing a program document corresponding to the program codes.
In this embodiment, a development method of an application program is provided for a program development system, and it should be noted that the program development system is a computer system for developing an application program, and a program generating device and a database are disposed in the program development system, where the program generating device is a development device for automatically generating an application program, and the database is a repository for organizing, storing and managing data.
The program generating means may be embodied as generating means of an API (ApplicationProgramming Interface ), which is a call interface of an application program to an external development, and the database may be embodied as a data repository storing text data, for example.
The program development system inquires data in the database, reads target data in the database, and reads a data template corresponding to the target data, wherein the target data is data which needs to be operated and processed in the database, and the data template is a template for explaining a data structure.
The target data may be text data in a database, and the data template may be a template corresponding to a tree structure.
And the program development system performs data arrangement on the target data according to the data template, and determines the program parameters corresponding to the target data, wherein the program parameters are the data parameters for the application program.
Illustratively, the program development system may remove redundant data from the target data according to the data templates, and then convert the target data into the program parameters.
The program parameters may be, for example, interface parameters in an application programming interface.
The program parameters may be, for example, in particular entity parameters constituting a data processing service.
The program development system renders the program parameters through the program generating device to obtain program codes corresponding to the program parameters, wherein the program codes are running codes written through a computer language.
The program code may be embodied, for example, in interface code in an application programming interface.
The program code may be embodied in, for example, interface code that performs the functions of integrating text data and converting text data structures, etc.
The program development system can also generate a program document corresponding to the program code by the program generation device, and the program document is a description document introducing the function or logic of the program code.
By way of example, the program document may be embodied as an interface document that describes the specific functionality of an application programming interface.
According to the development method of the application program in the embodiment, program parameters corresponding to the target data are determined according to the target data and the data template in the database, program codes corresponding to the program parameters are generated through the program generating device, program documents corresponding to the program codes are generated, the function of automatically generating the program codes and the program documents according to the target data and the data template is achieved through the program generating device, development steps of the application program are simplified, and further development efficiency of the application program is improved.
In one embodiment according to the present application, as shown in fig. 2, a development method of an application program is provided, where the development method of the application program includes:
step 202, obtaining target data in a database and obtaining a data template corresponding to the target data;
step 204, according to the data template, data integration is performed on the target data to obtain a data set;
step 206, performing data conversion on the data set to obtain program parameters;
step 208, performing data rendering on the program parameters through the program generating device to obtain program codes, and establishing a program document corresponding to the program codes.
In this embodiment, the program development system integrates the target data into a data set according to the data template, wherein the data set is a data set containing the target data.
For example, the data template may be a template corresponding to a tree structure, and the program development system may integrate the target data into a data set of the tree structure according to the data template.
The program development system converts the data set into data parameters which can be used for the application program, and further obtains program parameters corresponding to the data set.
By way of example, the program parameters may be embodied as string-type data parameters, and the program development system may convert the text-type data sets into string-type program parameters.
According to the development method of the application program in the embodiment, the data set corresponding to the target data is determined according to the data template, and then the program parameters are obtained according to the data set, so that the data integrity and the data accuracy of the target data are ensured, and further the data integrity and the data accuracy of the program parameters are ensured.
In one embodiment according to the present application, as shown in fig. 3, a development method of an application program is provided, where the development method of the application program includes:
Step 302, acquiring target data in a database, and acquiring a data template corresponding to the target data;
step 304, performing data processing on the target data according to the data template to obtain program parameters;
step 306, obtaining a code template corresponding to the program parameters through a program generating device;
step 308, performing data rendering on the program parameters according to the code template to obtain program codes;
in step 310, a program document corresponding to the program code is created.
In this embodiment, the program development system obtains a code template inside the program generating device, and renders the program parameters through the program generating device according to the code template, and generates a program code corresponding to the program parameters, wherein the code template is a reference format template corresponding to the program code.
For example, the code template may be stored inside the program generating apparatus.
The code template may be specifically a code reference template corresponding to an interface code for implementing functions such as integrating text data and converting text data structures, and the program development system renders the program parameters into program codes capable of implementing functions such as integrating text data and converting text data structures according to the code template.
According to the development method of the application program in the embodiment, the data set corresponding to the target data is determined according to the data template, and then the program parameters are obtained according to the data set, so that the data integrity and the data accuracy of the target data are ensured, and further the data integrity and the data accuracy of the program parameters are ensured.
In one embodiment according to the present application, as shown in fig. 4, a development method of an application program is provided, where the development method of the application program includes:
step 402, obtaining target data in a database, and obtaining a data template corresponding to the target data;
step 404, performing data processing on the target data according to the data template to obtain program parameters;
step 406, performing data rendering on the program parameters through the program generating device to obtain program codes;
step 408, obtaining a document model corresponding to the program code;
step 410, converting the data of the program code through the document model to obtain annotation data;
at step 412, the annotation data is data saved to obtain the program document.
In this embodiment, the program development system obtains, inside the program generating apparatus, a document model corresponding to the program code, wherein the document model is a reference model of an explanatory document of the program code.
The document model may be embodied as a reference model corresponding to annotations in the program code, for example.
For example, the document model may be stored inside the program generating apparatus.
The program development system generates annotation data corresponding to the program code through a program generation device according to the document model, wherein the annotation data is text data for explaining and explaining the program code.
The annotation data may be embodied, for example, as line annotations in the program code, which are annotations added to each line of code in the program code.
The program development system saves the annotation data in a document, thereby forming a program document.
The program document may be embodied, for example, in a line annotated document in which program code is stored.
According to the development method of the application program in the embodiment, annotation data corresponding to the program code is determined according to the document model, and then the annotation data is stored in the document, so that the program document corresponding to the program code is obtained, the data integrity of the program document corresponding to the program code is guaranteed, meanwhile, the code readability of the program code is improved through the program document, and the executable of the program code is further improved.
In one embodiment according to the present application, as shown in fig. 5, a development method of an application program is provided, where the development method of the application program includes:
step 502, obtaining target data in a database, and obtaining a data template corresponding to the target data;
step 504, performing data processing on the target data according to the data template to obtain program parameters;
step 506, performing data rendering on the program parameters through the program generating device to obtain program codes, and establishing a program document corresponding to the program codes;
step 508, compiling the program code by the program generating device to obtain an application program;
step 510, running the application program through the program debugging device.
In this embodiment, the program development system compiles the program code by the program generating means, and packages the program code as an application program.
The program code may be embodied as an interface code in an application programming interface, the application program may be embodied as an interface program in an application programming interface, and the program development system may package the interface code into the interface program by the program generating means.
The program development system also comprises a program debugging device which is a device for running and adjusting the program.
The program development system executes the application program through the program debugging device, so that the application program is kept in an operating state.
The application program may be a program for converting a format of a picture, and the program development system may run the application program through the program debugging device to continuously convert the format of the picture.
The development method of the application program in the embodiment packages the program code into the application program through the program generating device, and then executes the application program through the program debugging device, so that the code effectiveness of the program code is ensured, and meanwhile, the executable performance of the application program is ensured through the program debugging device.
In one embodiment according to the present application, as shown in fig. 6, a development method of an application program is provided, where the development method of the application program includes:
step 602, obtaining target data in a database, and obtaining a data template corresponding to the target data;
step 604, performing data processing on the target data according to the data template to obtain program parameters;
step 606, performing data rendering on the program parameters through the program generating device to obtain program codes, and establishing a program document corresponding to the program codes;
Step 608, compiling the program code by the program generating device to obtain an application program;
step 610, running the application program through the program debugging device;
step 612, obtaining the operation parameters of the application program through the program debugging device;
at step 614, the program document is updated according to the operating parameters.
In this embodiment, during the running process of the application program, the program development system can obtain the running parameter of the application program through the program debugging device, where the running parameter is the parameter data output by the application program during the running process.
The application program may be a program converting a picture format, the operation parameter may be a format of an output picture of the application program, and the program development system may operate the application program through the program debugging device and acquire the operation parameter of the application program.
The program development system can modify the content in the program document according to the operation parameters of the application program.
By way of example, the application may be embodied as a program that converts a picture format, the operating parameters may be embodied as a format in which the application outputs a picture, and the program development system may update notes in the program document regarding the output aspect based on the operating parameters.
The development method of the application program in the embodiment executes the application program through the program debugging device, obtains the operation parameters of the application program, can adjust the content of the program document according to the operation parameters, ensures the operation performance of the application program, and simultaneously ensures the data accuracy of the program document.
In one embodiment according to the present application, as shown in fig. 7, there is provided a development device of an application program for a program development system including a program generation device and a database, the development device 700 of the application program including:
the acquiring module 702 is configured to acquire target data in a database, and acquire a data template corresponding to the target data;
a processing module 704, configured to perform data processing on the target data according to the data template, so as to obtain a program parameter;
the processing module 704 is further configured to generate, by the program generating device, program codes according to the program parameters, and establish a program document corresponding to the program codes; a program document is a document for interpreting program code.
In this embodiment, a development device for an application program is provided for a program development system, and it should be noted that the program development system is a computer system for developing an application program, and a program generating device and a database are disposed in the program development system, where the program generating device is a development device for automatically generating an application program, and the database is a repository for organizing, storing and managing data.
The program generating means may be embodied as generating means of an API (ApplicationProgramming Interface ), which is a call interface of an application program to an external development, and the database may be embodied as a data repository storing text data, for example.
The obtaining module 702 queries data in the database, reads target data in the database, and reads a data template corresponding to the target data, wherein the target data is data needing operation processing in the database, and the data template is a template for explaining a data structure.
The target data may be text data in a database, and the data template may be a template corresponding to a tree structure.
The processing module 704 performs data sorting on the target data according to the data template, and determines a program parameter corresponding to the target data, where the program parameter is a data parameter for an application program.
Illustratively, the program development system may remove redundant data from the target data according to the data templates, and then convert the target data into the program parameters.
The program parameters may be, for example, interface parameters in an application programming interface.
The program parameters may be, for example, in particular entity parameters constituting a data processing service.
The processing module 704 renders the program parameters through the program generating device to obtain program codes corresponding to the program parameters, wherein the program codes are running codes written through a computer language.
The program code may be embodied, for example, in interface code in an application programming interface.
The program code may be embodied in, for example, interface code that performs the functions of integrating text data and converting text data structures, etc.
The processing module 704 can also generate a program document corresponding to the program code by the program generating device, and it should be noted that the program document is a description document introducing the function or logic of the program code.
By way of example, the program document may be embodied as an interface document that describes the specific functionality of an application programming interface.
Illustratively, as shown in fig. 8, the data template may be specifically a data model 802 in fig. 8, the program generating apparatus may specifically include an interface generator 806 and an interface document generator 808 in fig. 8, the program development system may further include a data collator 804 in fig. 8, the processing module 704 may convert the target data into program parameters through the data collator 804, generate program codes corresponding to the program parameters through the interface generator 806, and generate a program document corresponding to the program codes through the interface document generator 808.
As shown in fig. 9, the program development system may specifically include levels such as a front end UI (interface), a presentation layer, a service layer, a data conversion layer, a database, and an operating environment, and the program generating device may be specifically disposed in the service layer of the program development system, and the processing module 704 may implement the function of generating the interface code by using the program generating device, and generate the program code corresponding to the program parameter.
It should be noted that, the front end UI may be developed by technologies such as Html (a markup language), CSS (cascading style sheet), jQuery (a programming language framework), and include data such as pictures, where the presentation layer may implement functions such as template engine rendering and Ajax interaction, where the Ajax interaction specifically includes POST (push) requests and Get (submit) requests, the service layer may implement functions such as interface design page, openapi (development interface) security setting, interface code generation, and system log generation, the data conversion layer may correlate database data and vo (view model) data, and translate information such as primary keys, and the service layer and the data conversion layer may output log records, the processing module 704 may perform authority control on the presentation layer, the service layer, and the data conversion layer, where the database may specifically include MSSQL (a database server), mySQL (a database management system), and orace (a database management system) and the like, and may be a third party or a cloud host may operate in a third party environment.
The development device 700 of the application program in this embodiment determines the program parameters corresponding to the target data according to the target data and the data template in the database, generates the program codes corresponding to the program parameters by the program generation device, and generates the program documents corresponding to the program codes, and by the program generation device, the function of automatically generating the program codes and the program documents according to the target data and the data template is realized, so that the development steps of the application program are simplified, and the development efficiency of the application program is further improved.
In one embodiment according to the present application, there is provided an application development apparatus, the application development apparatus 700 including:
the processing module 704 is configured to perform data integration on the target data according to the data template to obtain a data set;
the processing module 704 is further configured to perform data conversion on the data set to obtain a program parameter.
The development device 700 of the application program in this embodiment determines a data set corresponding to the target data according to the data template, and further obtains the program parameters according to the data set, so as to ensure the data integrity and the data accuracy of the target data, and further ensure the data integrity and the data accuracy of the program parameters.
In one embodiment according to the present application, there is provided an application development apparatus, the application development apparatus 700 including:
a processing module 704, configured to obtain, by using a program generating device, a code template corresponding to a program parameter;
the processing module 704 is further configured to perform data rendering on the program parameters according to the code template to obtain the program code.
The development device 700 of the application program in this embodiment determines a data set corresponding to the target data according to the data template, and further obtains the program parameters according to the data set, so as to ensure the data integrity and the data accuracy of the target data, and further ensure the data integrity and the data accuracy of the program parameters.
In one embodiment according to the present application, there is provided an application development apparatus, the application development apparatus 700 including:
a processing module 704, configured to obtain a document model corresponding to the program code;
the processing module 704 is further configured to perform data conversion on the program code through the document model to obtain annotation data;
the processing module 704 is further configured to save the annotation data to obtain a program document.
The development device 700 of the application program in this embodiment determines annotation data corresponding to the program code according to the document model, and then stores the annotation data in the document, so as to obtain the program document corresponding to the program code, ensure the data integrity of the program document corresponding to the program code, and meanwhile, through the program document, promote the code readability of the program code, so as to promote the executable of the program code.
In one embodiment according to the present application, there is provided an application development apparatus, the application development apparatus 700 including:
a processing module 704, configured to compile the program code by using the program generating device to obtain an application program;
the processing module 704 is further configured to run an application program through the program debugging device.
Illustratively, as shown in fig. 8, the program debugging apparatus may specifically include an interface debugger 810 in fig. 8, and the processing module 704 may run an application program through the interface debugger 810.
For example, as shown in fig. 9, the program debugging device may be specifically deployed in the service layer in fig. 9, and the processing module 704 may implement functions such as debugging function expansion through the program debugging device.
The development device 700 of the application program in this embodiment encapsulates the program code into the application program through the program generating device, and then executes the application program through the program debugging device, so that the code effectiveness of the program code is ensured, and meanwhile, the executable performance of the application program is ensured through the program debugging device.
In one embodiment according to the present application, there is provided an application development apparatus, the application development apparatus 700 including:
A processing module 704, configured to obtain, by using a program debugging device, an operation parameter of an application program;
the processing module 704 is further configured to update the program document according to the operation parameter.
The development device 700 of the application program in the embodiment executes the application program through the program debugging device, obtains the operation parameters of the application program, can adjust the content of the program document according to the operation parameters, ensures the operation performance of the application program, and simultaneously ensures the data accuracy of the program document.
In an embodiment according to the present application, as shown in fig. 10, an application development device is provided, where an application development device 1000 includes a processor 1002 and a memory 1004, and a program or an instruction is stored in the memory 1004, where the program or the instruction is executed by the processor 1002 to implement steps of the application development method in any of the above-mentioned aspects. Therefore, the development device of the application has all the advantages of the development method of the application in any of the above-mentioned technical solutions, and will not be described in detail here.
In an embodiment according to the present application, a readable storage medium is provided, on which a program is stored, which when executed by a processor, implements the development method of an application program in any of the above embodiments, and thus has all the advantageous technical effects of the development method of an application program in any of the above embodiments.
Among them, readable storage media such as Read-only memory (ROM), random access memory (RandomAccessMemory, RAM), magnetic disk or optical disk, and the like.
In one embodiment according to the present application, a program development system is presented, comprising: the development device of the application program in any of the above embodiments and/or the readable storage medium in any of the above embodiments has all the beneficial technical effects of the development device of the application program in any of the above embodiments and/or the readable storage medium in any of the above embodiments, and will not be described in detail herein.
It is to be understood that in the claims, specification and drawings of the present invention, the term "plurality" means two or more, and unless otherwise explicitly defined, the orientation or positional relationship indicated by the terms "upper", "lower", etc. are based on the orientation or positional relationship shown in the drawings, only for the convenience of describing the present invention and making the description process easier, and not for the purpose of indicating or implying that the apparatus or element in question must have the particular orientation described, be constructed and operated in the particular orientation, so that these descriptions should not be construed as limiting the present invention; the terms "connected," "mounted," "secured," and the like are to be construed broadly, and may be, for example, a fixed connection between a plurality of objects, a removable connection between a plurality of objects, or an integral connection; the objects may be directly connected to each other or indirectly connected to each other through an intermediate medium. The specific meaning of the terms in the present invention can be understood in detail from the above data by those of ordinary skill in the art.
In the claims, specification, and drawings of the present invention, the descriptions of terms "one embodiment," "some embodiments," "particular embodiments," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In the claims, specification and drawings of the present invention, the schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A development method of an application program, characterized by being used for a program development system including a program generating device and a database, the development method of the application program comprising:
Acquiring target data in the database, and acquiring a data template corresponding to the target data;
according to the data template, carrying out data processing on the target data to obtain program parameters;
the program generating device is used for carrying out data rendering on the program parameters to obtain program codes, and a program document corresponding to the program codes is established; the program document is a document for explaining the program code.
2. The method for developing an application program according to claim 1, wherein the data processing is performed on the target data according to the data template to obtain program parameters, and specifically includes:
according to the data template, data integration is carried out on the target data so as to obtain a data set;
and performing data conversion on the data set to obtain the program parameters.
3. The method for developing an application program according to claim 1, wherein the data rendering of the program parameters by the program generating device is performed to obtain program codes, and specifically includes:
acquiring a code template corresponding to the program parameter through the program generating device;
And carrying out data rendering on the program parameters according to the code template to obtain the program codes.
4. The method for developing an application program according to claim 1, wherein the creating the program document corresponding to the program code specifically includes:
acquiring a document model corresponding to the program code;
performing data conversion on the program codes through the document model to obtain annotation data;
and data storage is carried out on the annotation data so as to obtain the program document.
5. The method according to any one of claims 1 to 4, wherein the program development system includes a program debugging device, and the program development system further includes, after creating the program document corresponding to the program code:
compiling the program codes through the program generating device to obtain application programs;
and running the application program through the program debugging device.
6. The method for developing an application program according to claim 5, further comprising, after the running of the application program:
acquiring the operation parameters of the application program through the program debugging device;
And updating the program document according to the operation parameters.
7. An application development device for a program development system including a program generation device and a database, the application development device comprising:
the acquisition module is used for acquiring target data in the database and acquiring a data template corresponding to the target data;
the processing module is used for carrying out data processing on the target data according to the data template so as to obtain program parameters;
the processing module is also used for generating program codes according to the program parameters through the program generating device and establishing program documents corresponding to the program codes; the program document is a document for interpreting the program code.
8. An application development device, comprising:
a processor;
a memory in which a program or instructions are stored, the processor implementing the steps of the development method of an application program as claimed in any one of claims 1 to 6 when the program or instructions in the memory are run.
9. A readable storage medium, characterized in that a program or instructions is stored on the readable storage medium, which when executed by a processor, realizes the steps of the development method of an application program according to any one of claims 1 to 6.
10. A program development system, comprising:
the application development device according to claim 7 or 8; and/or
The readable storage medium of claim 9.
CN202211534145.0A 2022-12-02 2022-12-02 Application development method, device, storage medium and program development system Pending CN116301814A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211534145.0A CN116301814A (en) 2022-12-02 2022-12-02 Application development method, device, storage medium and program development system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211534145.0A CN116301814A (en) 2022-12-02 2022-12-02 Application development method, device, storage medium and program development system

Publications (1)

Publication Number Publication Date
CN116301814A true CN116301814A (en) 2023-06-23

Family

ID=86822770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211534145.0A Pending CN116301814A (en) 2022-12-02 2022-12-02 Application development method, device, storage medium and program development system

Country Status (1)

Country Link
CN (1) CN116301814A (en)

Similar Documents

Publication Publication Date Title
CN111241454B (en) Method, system and device for generating webpage codes
Rodriguez-Echeverria et al. Towards a language server protocol infrastructure for graphical modeling
JP5197688B2 (en) Integrated environment generator
KR101795844B1 (en) Runtime system
CN105022630B (en) A kind of assembly management system and assembly management method
US20040158820A1 (en) System for generating an application framework and components
US20060265469A1 (en) XML based scripting framework, and methods of providing automated interactions with remote systems
CN108595171B (en) Object model generation method, device, equipment and storage medium
US20090328016A1 (en) Generalized expression trees
CN111506314B (en) Project development method, device, server and medium
CN118245050B (en) Front end frame assembly automatic conversion method, system, electronic device and storage medium
KR101552914B1 (en) Web server application framework web application processing method using the framework and computer readable medium processing the method
CN115390846A (en) Compiling construction method and device, electronic equipment and storage medium
CN114756213A (en) Automatic code generation method and device for intelligent control system
Schippers et al. Leveraging UML profiles to generate plugins from visual model transformations
US20220075796A1 (en) Architecture for data map converters
Zhang et al. Automated extraction of grammar optimization rule configurations for metamodel-grammar co-evolution
JP2006011756A (en) Program converting program, program converting device and program converting method
Schauerhuber et al. Bridging WebML to model-driven engineering: from document type definitions to meta object facility
CN116595967A (en) Natural language rule writing method based on text and related device
CN116301814A (en) Application development method, device, storage medium and program development system
Prinz et al. A model-based standard for SDL
JP4942144B2 (en) Information processing apparatus, control method therefor, program, and storage medium
CN113961238A (en) Object conversion method and device, electronic equipment and storage medium
Grieshofer Cloud Foundry Config File Generation Using JetBrains MPS and DSLs

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication