Program development method and device, computer device, storage medium and product

By acquiring and integrating basic business logic data and page data from the target domain model, specific business functions are determined, and specific business logic data is generated. This solves the problem that template engine-generated code cannot meet actual needs and improves the quality of program development.

CN117149183BActive Publication Date: 2025-10-21RICHFIT INFORMATION TECH +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210564977.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-23
Publication Date
2025-10-21
Estimated Expiration
2042-05-23

AI Technical Summary

Technical Problem

In existing technologies, the basic code generated by template engines cannot meet the actual needs of the domain model, resulting in a decline in program development quality.

Method used

By acquiring basic business logic data and page data from the target domain model, we determine the specific business functions, generate specific business logic data, and integrate this data through a code engine to generate a program that meets the requirements of the domain model.

Benefits of technology

This improved the quality of program development, making the generated programs more aligned with the actual needs of the domain model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117149183B_ABST
    Figure CN117149183B_ABST
Patent Text Reader

Abstract

The application provides a program development method and device, computer equipment, a storage medium and product, and belongs to the technical field of computers. The method comprises the following steps: acquiring basic business logic data and page data of a target domain model; determining a special business function of the target domain model, wherein the special business function is a business function of the target domain model other than the basic business function; determining special business logic data based on the special business function and the basic business logic data, wherein the special business logic data is data corresponding to the special business function; integrating the special business logic data, the basic business logic data and the page data to obtain first development data of the target domain model, wherein the first development data is data required for developing the target domain model; and generating a target program of the target domain model based on the first development data. The method makes the generated program more in line with the requirements of the domain model, thereby improving the quality of the developed program.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a program development method, apparatus, computer equipment, storage medium, and product. Background Art

[0002] A domain model is a visual representation of domain concepts or real-world objects. It is used to discover important business domain concepts and establish relationships between them. Domain models organize business concepts and relationships, so business functions are typically implemented by developing programs based on domain models. When developing programs for domain models, code generated by template engines is typically used to build the programs. However, template engines only generate basic code, which may not meet the actual needs of the current domain model, thereby reducing the quality of the developed programs. Summary of the Invention

[0003] The embodiments of the present application provide a program development method, apparatus, computer equipment, storage medium, and product that can improve the quality of developed programs. The technical solution is as follows:

[0004] In one aspect, a program development method is provided, the method comprising:

[0005] Obtain basic business logic data and page data of the target domain model, wherein the basic business logic data is data corresponding to the basic business functions of the target domain model, and the page data is data of the page to be displayed of the target domain model;

[0006] Determine the exclusive business functions of the target domain model, where the exclusive business functions are the business functions of the target domain model other than the basic business functions;

[0007] Determining exclusive business logic data based on the exclusive business function and the basic business logic data, where the exclusive business logic data is data corresponding to the exclusive business function;

[0008] Integrate the exclusive business logic data, the basic business logic data, and the page data to obtain first development data of the target domain model, where the first development data is data required for developing the target domain model;

[0009] Based on the first development data, a target program of the target domain model is generated.

[0010] In some embodiments, determining the dedicated business logic data based on the dedicated business function and the basic business logic data includes:

[0011] Determine the logic code corresponding to the exclusive business function, wherein the logic code includes a calling function; set the calling interface of the calling function to the data interface of the basic business logic data to obtain the exclusive business logic data, and the calling function is used to call the basic business logic data through the calling interface; or

[0012] The basic business logic data and the exclusive business functions are input into the logic data determination model to obtain the exclusive business logic data. The logic data determination model is obtained based on the basic business logic data, exclusive business functions and exclusive business logic data, and is used to determine the exclusive business logic data of the domain model.

[0013] In some embodiments, determining the exclusive business function of the target domain model includes at least one of the following implementations:

[0014] Acquire first functional description information of the target domain model, where the first functional description information is used to describe a specific business function of the target domain model, and acquire the specific business function described by the first functional description information;

[0015] Obtain second functional description information of the target domain model, the second functional description information includes field information and relationship information of multiple charts, the field information of the chart is used to describe the function of the chart, and the relationship information is used to represent the relationship between the multiple charts; obtain a first exclusive business function and a second exclusive business function, the first exclusive business function is an exclusive business function described by the field information of the multiple charts, and the second exclusive business function is an exclusive business function for processing the relationship between the multiple charts.

[0016] In some embodiments, integrating the dedicated business logic data, the basic business logic data, and the page data to obtain the first development data of the target domain model includes:

[0017] The exclusive business logic data, the basic business logic data, and the page data are parsed respectively by a code engine to generate a first business logic code, a second business logic code, and a front-end page code for the target domain model. The code engine is used to generate code, and the first business logic code is the code corresponding to the exclusive business logic data, and the second business logic code is the code corresponding to the basic business logic data. The first business logic code, the second business logic code, and the front-end page code constitute the first development data;

[0018] The step of generating a target program of the target domain model based on the first development data includes:

[0019] The first development data is loaded and run to generate the target program.

[0020] In some embodiments, before integrating the dedicated business logic data, the basic business logic data, and the page data to obtain the first development data of the target domain model, the method further includes:

[0021] Determining target element data based on the dedicated business logic data, the basic business logic data, and the page data, the target element data including first element data and second element data, the first element data being element data where the dedicated business logic data and the page data have the same content but are in different languages, and the second element data being element data where the basic business logic data and the page data have the same content but are in different languages;

[0022] Modifying the target element data in the page data into element data in a target language;

[0023] Among them, if the target element data is the first element data, the target language is the language of the first element data in the exclusive business logic data; if the target element data is the second element data, the target language is the language of the second element data in the basic business logic data.

[0024] In some embodiments, generating a target program of the target domain model based on the first development data includes:

[0025] Acquire an operating environment engineering package for the service function to be enhanced, wherein the operating environment engineering package includes operating data of the operating environment of the service function to be enhanced;

[0026] Running the operation data to obtain an operation environment of the service function to be enhanced;

[0027] In the operating environment, enhancing the service function to be enhanced to generate second development data;

[0028] A target program of the target domain model is generated based on the first development data and the second development data.

[0029] In another aspect, a program development device is provided, the device comprising:

[0030] An acquisition module is used to acquire basic business logic data and page data of a target domain model, wherein the basic business logic data is data corresponding to the basic business functions of the target domain model, and the page data is data of a page to be displayed of the target domain model;

[0031] A first determining module is configured to determine the exclusive business functions of the target domain model, where the exclusive business functions are business functions of the target domain model other than the basic business functions;

[0032] A second determining module is configured to determine exclusive business logic data based on the exclusive business function and the basic business logic data, where the exclusive business logic data is data corresponding to the exclusive business function;

[0033] an integration module, configured to integrate the exclusive business logic data, the basic business logic data, and the page data to obtain first development data of the target domain model, where the first development data is data required for developing the target domain model;

[0034] A generation module is used to generate a target program of the target domain model based on the first development data.

[0035] In some embodiments, the second determining module is configured to:

[0036] Determine the logic code corresponding to the exclusive business function, wherein the logic code includes a calling function; set the calling interface of the calling function to the data interface of the basic business logic data to obtain the exclusive business logic data, and the calling function is used to call the basic business logic data through the calling interface; or

[0037] The basic business logic data and the exclusive business functions are input into the logic data determination model to obtain the exclusive business logic data. The logic data determination model is obtained based on the basic business logic data, exclusive business functions and exclusive business logic data, and is used to determine the exclusive business logic data of the domain model.

[0038] In some embodiments, the first determining module is configured to:

[0039] Acquire first functional description information of the target domain model, where the first functional description information is used to describe a specific business function of the target domain model, and acquire the specific business function described by the first functional description information;

[0040] Obtain second functional description information of the target domain model, the second functional description information includes field information and relationship information of multiple charts, the field information of the chart is used to describe the function of the chart, and the relationship information is used to represent the relationship between the multiple charts; obtain a first exclusive business function and a second exclusive business function, the first exclusive business function is an exclusive business function described by the field information of the multiple charts, and the second exclusive business function is an exclusive business function for processing the relationship between the multiple charts.

[0041] In some embodiments, the integration module is used to:

[0042] The exclusive business logic data, the basic business logic data, and the page data are parsed respectively by a code engine to generate a first business logic code, a second business logic code, and a front-end page code for the target domain model. The code engine is used to generate code, and the first business logic code is the code corresponding to the exclusive business logic data, and the second business logic code is the code corresponding to the basic business logic data. The first business logic code, the second business logic code, and the front-end page code constitute the first development data;

[0043] The generating module is used to:

[0044] The first development data is loaded and run to generate the target program.

[0045] In some embodiments, the apparatus further comprises:

[0046] a third determining module, configured to determine target element data based on the dedicated business logic data, the basic business logic data, and the page data, the target element data including first element data and second element data, the first element data being element data where the dedicated business logic data and the page data have the same content but are in different languages, and the second element data being element data where the basic business logic data and the page data have the same content but are in different languages;

[0047] a modification module, configured to modify the target element data in the page data into element data in a target language;

[0048] Among them, if the target element data is the first element data, the target language is the language of the first element data in the exclusive business logic data; if the target element data is the second element data, the target language is the language of the second element data in the basic business logic data.

[0049] In some embodiments, the generating module is configured to:

[0050] Acquire an operating environment engineering package for the service function to be enhanced, wherein the operating environment engineering package includes operating data of the operating environment of the service function to be enhanced;

[0051] Running the operation data to obtain an operation environment of the service function to be enhanced;

[0052] In the operating environment, enhancing the service function to be enhanced to generate second development data;

[0053] A target program of the target domain model is generated based on the first development data and the second development data.

[0054] On the other hand, a computer device is provided, which includes one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and the at least one program code is loaded and executed by the one or more processors to implement the program development method described in any of the above implementation methods.

[0055] On the other hand, a computer-readable storage medium is provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to implement the program development method described in any of the above implementations.

[0056] On the other hand, a computer program product is provided, including a computer program, which implements the program development method described in any of the above implementations when executed by a processor.

[0057] An embodiment of the present application provides a program development method. Since this method determines the exclusive business logic data of the target domain model, and the exclusive business logic data is data corresponding to the exclusive business functions of the domain model, the program of the domain model is generated based on the development data obtained based on the exclusive business logic data, basic business logic data and page data, so that the generated program is more in line with the requirements of the domain model, thereby improving the quality of the developed program. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0059] Figure 1 This is a flowchart of a program development method provided by an embodiment of the present application;

[0060] Figure 2 This is a schematic diagram of page data provided by an embodiment of the present application;

[0061] Figure 3 This is a schematic diagram of a structural model provided in an embodiment of the present application;

[0062] Figure 4 This is a schematic diagram of the working mechanism of a code engine provided in an embodiment of the present application;

[0063] Figure 5This is an application principle diagram of an enhanced development component provided in an embodiment of the present application;

[0064] Figure 6 is a flowchart of another program development method provided in an embodiment of the present application;

[0065] Figure 7 This is a schematic diagram of a program development solution provided by an embodiment of the present application;

[0066] Figure 8 is a block diagram of a program development device provided in an embodiment of the present application;

[0067] Figure 9 This is a block diagram of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION

[0068] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0069] The terms "first," "second," "third," and "fourth," etc. in the specification and claims of this application and the accompanying drawings are used to distinguish different objects, not to describe a specific order. In addition, the terms "including" and "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements, but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to the process, method, product, or apparatus.

[0070] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, storage, and display, etc.), and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the metadata involved in this application was obtained with full authorization.

[0071] Figure 1 : is a flowchart of a program development method provided in an embodiment of the present application, the method comprising:

[0072] 101. The computer device obtains basic business logic data and page data of the target domain model.

[0073] Among them, the basic business logic data is the data corresponding to the basic business functions of the target domain model; optionally, the computer device obtains the basic business logic data from the program visualization design system of the domain model, and the basic business logic data in the program visualization design system is the business logic data common to multiple domain models.

[0074] The page data is the data of the target domain model to be displayed page; optionally, the page data includes page type information, page area information, page form control information and page function component information. Figure 2 , Figure 2 A schematic diagram of page data provided for an embodiment of the present application. The page type information includes at least one of a page type and a modal page type. Any page type is composed of different page areas; optionally, the page area information includes at least one of a query area, an operation area, a display area, and a paging area. Any page area can be used to place required form controls and functional components; optionally, the page form control information includes at least one of a text control, a date control, a tree control, a selection control, a list control, and a graphic control, and the page functional component information includes at least one of an import component, an export component, an upload component, a download component, a clear component, and a reset component.

[0075] It should be noted that the display status of the form controls and functional components on the page area is determined by the page configuration information; the page configuration information includes the length, width, font, color and arrangement order of the form controls and functional components.

[0076] 102. The computer device determines the exclusive business functions of the target domain model.

[0077] Among them, the exclusive business functions are business functions of the target domain model other than the basic business functions; in some embodiments, the computer device determines the exclusive business functions of the target domain model, including at least one of the following implementation methods.

[0078] In one implementation, a computer device obtains first functional description information of a target domain model, where the first functional description information is used to describe a specific business function of the target domain model, and obtains the specific business function described by the first functional description information.

[0079] The first functional description information, namely the module information of the target domain model, is used to describe the exclusive business functions of the target domain model. In this implementation, since the first functional description information is used to describe the exclusive business functions of the target domain model, the exclusive business functions described by the first functional description information are then obtained, thereby improving the efficiency and specificity of obtaining the exclusive business functions.

[0080] In another implementation, the computer device obtains second functional description information of the target domain model, the second functional description information includes field information and relationship information of multiple charts, the field information of the chart is used to describe the function of the chart, and the relationship information is used to represent the relationship between multiple charts; the computer device obtains a first exclusive business function and a second exclusive business function, the first exclusive business function is an exclusive business function described by the field information of multiple charts, and the second exclusive business function is an exclusive business function for processing the relationship between multiple charts.

[0081] A chart is a chart corresponding to any business in the target domain model, such as a personnel information table, an attendance table, or a payroll table. Relationship information is used to represent the relationships between multiple charts, such as the relationship between the attendance table and the payroll table. Furthermore, the second dedicated function is a dedicated business function for handling the relationship between the payroll table and the attendance table. In this implementation, by incorporating the dedicated business functions described by the field information of multiple charts and the dedicated business function for handling the relationships between multiple charts as the dedicated business functions of the target domain model, the business functionality of the target domain model is further enriched.

[0082] 103. The computer device determines the exclusive business logic data based on the exclusive business functions and basic business logic data.

[0083] The dedicated business logic data is data corresponding to the dedicated business function. In some embodiments, the computer device determines the dedicated business logic data based on the dedicated business function and the basic business logic data, including the following two implementation methods.

[0084] In one implementation, a computer device determines logic code corresponding to a dedicated business function, the logic code including a calling function; sets the calling function's calling interface to the data interface of the underlying business logic data to obtain the dedicated business logic data; and the calling function is used to call the underlying business logic data via the calling interface. In this implementation, by setting the calling function's calling interface to the data interface of the underlying business logic data, it is facilitated to call the underlying business logic data based on the dedicated business function to obtain the dedicated business logic data.

[0085] In another implementation, the computer device inputs the basic business logic data and exclusive business functions into the logic data determination model to obtain exclusive business logic data. The logic data determination model is obtained based on the basic business logic data, exclusive business functions and exclusive business logic data, and is used to determine the exclusive business logic data of the domain model.

[0086] The logical data determination model is the structural model. The structural model is defined based on the field information, chart information, relationship information, and module information of the target domain model, which facilitates the determination of the exclusive business functions of the target domain model. Figure 3 , Figure 3 A schematic diagram of a structural model definition provided in an embodiment of the present application; optionally, after defining the structural model, the computer device deploys the exclusive business functions in the structural model, thereby facilitating the subsequent conversion of the basic business logic data through the structural model to obtain the exclusive business logic data. In some embodiments, the computer device converts the format of the basic business logic data and the obtained exclusive business logic data into JSON (JavaScript Object Notation) format or XML (Extensible Markup Language) format through the structural model and saves them, thereby facilitating the subsequent code engine to parse the business content in the exclusive business logic data, generate database tables, and generate the back-end business logic standard code, which includes the first business logic code and the second business logic code.

[0087] In this implementation, by setting a logical data determination model, it is convenient to quickly obtain exclusive business logic data based on the logical data determination model, that is, the efficiency of obtaining exclusive business logic data is improved.

[0088] 104. The computer device determines the target element data based on the exclusive business logic data, the basic business logic data and the page data.

[0089] Among them, the target element data includes first element data and second element data. The first element data is element data with the same content as the page data but in a different language, and the second element data is element data with the same content as the basic business logic data but in a different language.

[0090] It should be noted that the page data (corresponding page model) in the embodiment of the present application is obtained by the computer device based on the data in the database table structure of the target domain model; that is, the computer device first obtains the back-end business logic code including the basic business logic code and the database table structure; then the computer device obtains the back-end business logic code including the basic business logic code, the database table structure and the exclusive business logic code based on the exclusive business function of the target domain model, and then maps the structural model to map the data in the database table structure to the page model, so that the front-end data in the page model corresponds to the data in the database table structure. For example, if the database table structure includes the data name, then it corresponds to the name. If the database table structure includes 10 data, the data of the page model can only be selected from these 10 data according to the business logic needs. After the page attributes are configured, the code engine is used to parse and generate it, and finally the front-end page code of the target domain model is obtained.

[0091] 105. The computer device modifies the target element data in the page data into element data in the target language.

[0092] It should be noted that if the target element data is the first element data, the target language is the language of the first element data in the exclusive business logic data; if the target element data is the second element data, the target language is the language of the second element data in the basic business logic data.

[0093] In this embodiment, by converting the target element data (i.e., model parameters, referring to the attribute parameters of the page model) of the page data, the association of the page data with the exclusive business logic data and the basic business logic data is achieved, thereby facilitating the subsequent code engine to generate the front-end page code based on the page data, and facilitating the code engine to load the page content to present the business form page.

[0094] In some embodiments, after executing step 103, the computer device saves the basic business logic data and the dedicated business logic data in a development library for subsequent generation of back-end logic code, i.e., the first logic code and the second logic code. After executing step 105, i.e., after the computer device modifies the target element data in the page data into element data in the target language, the computer device saves the modified page data as a page model in the development library for subsequent generation of front-end page code.

[0095] 106. The computer device integrates the exclusive business logic data, the basic business logic data, and the page data to obtain the first development data of the target domain model.

[0096] The first development data is data required to develop the target domain model. In some embodiments, the computer device integrates the exclusive business logic data, the basic business logic data, and the page data to obtain the first development data of the target domain model, including the following steps:

[0097] The computer device uses a code engine to parse the exclusive business logic data, basic business logic data and page data respectively, and generates the first business logic code, second business logic code and front-end page code of the target domain model. The code engine is used to generate code, and the first business logic code is the code corresponding to the exclusive business logic data, and the second business logic code is the code corresponding to the basic business logic data. The first business logic code, the second business logic code and the front-end page code constitute the first development data.

[0098] In some embodiments, the computer device parses the exclusive business logic data, basic business logic data and page data through a code engine to generate the first business logic code, the second business logic code and the front-end page code of the target domain model.

[0099] In an embodiment of the present application, the computer device is based on a code engine and ultimately obtains first development data (i.e., target level code) driven by a domain model, which includes data of a three-layer structure of back-end business logic code, database table structure, and front-end page code.

[0100] See also Figure 4 , Figure 4 A schematic diagram of the working mechanism of a code engine provided in an embodiment of the present application. Among them, the working mechanism of the engine coder is divided into the front end and the back end. The working mechanism of the back end is that the computer device first parses the structural model through the code engine, and generates database tables and temporary business logic codes in sequence. The temporary business logic code includes temporary Java (a programming language) codes corresponding to the exclusive business logic data and the basic business logic data respectively; then the computer device compiles the temporary business logic code through the code engine, generates binary Class (a code) code, and obtains the first business logic code and the second business logic code. Among them, the binary Class code is a code structure such as Entity.class (entity class), Controller.class (controller class), Service.class (service class) and Repository.class (storage class), which depends on the development framework adopted and is not specifically limited here. Finally, the computer device generates the first business logic code and the second business logic code, that is, after generating the Class code, it saves it in the project directory of the target domain model and the JVM (Java Virtual Machine, java virtual machine, a memory library) so that the first business logic code and the second business logic code can be quickly obtained later. It should be noted that the computer device executes the front-end working mechanism after executing the back-end working mechanism. The front-end working mechanism is that the computer device first maps the data in the structural model database table structure to the page model, and then parses the page model in the development library through the code engine to generate the front-end page code.

[0101] 107. The computer device generates a target program of the target domain model based on the first development data.

[0102] The computer device loads and runs the first development data to generate a target program. Figure 4 After the computer generates the front-end page code and back-end business logic code, it completes the entire program code based on the target domain model. The computer uses the code engine to load the page code, render the page style, and access the back-end data through the service interface, and then runs the target program based on the page style.

[0103] Optionally, after generating the target program, the computer device displays the business form content in the browser. The business form content is generated by running the basic business logic code and the exclusive business logic code based on the page style, so as to be able to preview the display effect of the target program.

[0104] In some embodiments, if certain business functions in the target domain model require enhanced development, the computer device generates a target program of the target domain model based on the first development data, including the following steps:

[0105] The computer device obtains an operating environment engineering package for the business function to be enhanced, which includes operating data of the operating environment of the business function to be enhanced; the computer device runs the operating data to obtain the operating environment of the business function to be enhanced; the computer device enhances the business function to be enhanced in the operating environment to generate second development data; the computer device generates a target program of the target domain model based on the first development data and the second development data.

[0106] In one implementation, a computer device implements enhanced development of business functions through enhanced development components. The enhanced development components are deployed on the server and client in an online visual development environment, respectively, and are used to implement data transmission between the server and the client. Figure 5 , Figure 5 An application principle diagram of an enhanced development component provided in an embodiment of the present application. The server obtains the runtime environment engineering package of the business function to be enhanced through the enhanced development component and transmits it to the client of the enhanced development component. After the client obtains the runtime environment engineering package of the business function to be enhanced, it opens the runtime environment engineering package in the local environment, runs the runtime data of the runtime environment included in the runtime environment engineering package, and obtains the runtime environment of the business function to be enhanced. Then, in the runtime environment, the business function to be enhanced is functionally enhanced to generate second development data. Optionally, the enhanced component transmits the second development data back to the server in the form of a Jar (a computer file format) package, and then integrates the second development data into the project project of the target domain model, so as to generate the target program of the target domain model through the first development data and the second development data in the project project.

[0107] Among them, the client performs business enhancement on the business function to be enhanced, based on the back-end code implementation of the business function to be enhanced, that is, the second development data is the business logic code; after the client generates the second development data, that is, after compiling the business logic code in the client environment, it is necessary to debug and test the business logic code, and then package the business logic code into a Jar package for easy transmission back to the server; optionally, the code in the Jar package is a Class code.

[0108] In this embodiment, the computer device realizes the data communication channel between the server and the client online and offline through the enhanced development component, which solves the code integration problem between the standard code generated by the online visual development and the business code of the offline enhanced business function; and through the enhanced development component, the visual development process of the domain model is realized in the online environment, which makes up for the current insufficiency and defects of the integrated development environment (IDE) functions of the mainstream code development tools that cannot be integrated or used.

[0109] In the embodiment of the present application, the database tables, codes, interfaces, pages and Jar packages generated by the computer device through the code engine are all dynamically parsed, loaded and run based on the actual business function requirements of the target domain model. It belongs to the low-code agile development model, which makes the generation of target programs more efficient.

[0110] See also Figure 6 , Figure 6 A flowchart of a program development method provided for an embodiment of the present application; the development process is divided into back-end development and front-end development, the back-end development is used to generate the back-end logic code of the domain model, and the front-end development is used to generate the front-end page code. For back-end development, the computer device first converts the basic business logic data of the domain model through the structural model based on the demand analysis of the domain model, that is, the exclusive business functions, to obtain the exclusive business logic data and database table structure of the domain model, and saves it in the development library. For front-end development, the computer device maps the structural model through the code engine to obtain the page model, and saves it in the development library. Finally, the computer device uses the code engine to parse the data saved in the development library, generate the front-end page code and the first logic code and the second logic code of the back-end, load these codes and run them, generate the program of the domain model, that is, generate the business system corresponding to the domain model. Among them, the computer equipment also enhances the development of the business functions to be enhanced in the program of the domain model through enhanced development components, including online development process and offline development process; the online development process refers to the back-end business logic code and the operating environment engineering package of the business functions to be enhanced generated online by the code engine, and the operating environment engineering package is sent to the client. The offline development process refers to development in the client environment, generating the enhanced development Jar package, and then integrating it into the operating environment engineering package of the domain model through the code engine to realize the enhanced development of the business functions to be enhanced.

[0111] See also Figure 7 , Figure 7A schematic diagram of a program development solution provided in an embodiment of the present application; the solution consists of a model layer, a code engine layer, and a component layer. Starting from the basic business logic data in the domain model of the model layer, the exclusive business logic data is obtained through the structural model based on the exclusive business functions and basic business logic data, and the page model is obtained by modifying the target element data in the page data. The code engine layer generates the front-end page code, back-end logic code, and service orchestration code through the code engine. Among them, the computer device generates database tables, generates temporary Java code, compiles and saves the class code through the code engine, and loads the class code into the project directory and JVM. The front-end page code is then generated through the code engine, and the back-end logic code and front-end page code are loaded. After rendering the page style, the page content of the program is presented. In this solution, the domain model is divided into different service nodes through service orchestration, forming different orchestration relationships, determining the relationship calls between different service nodes, and generating corresponding interface code to call different service nodes for different service requirements. The component layer is used to enhance the business functions to be enhanced in the domain model and is composed of a server and a client. The server obtains the operating environment engineering package of the business function to be enhanced and transmits it to the client. The client writes, debugs, tests and packages the business function to be enhanced to obtain a Jar package, and transmits the generated Jar package back to the server, which is integrated into the operating environment engineering package of the domain model.

[0112] In an embodiment of the present application, a program of a domain model is generated by development data obtained based on exclusive business logic data, basic business logic data and page data, so that the performance and quality of the generated program depend on the definition of the structural model and the page model. This definition has the advantages of being on-demand, flexible, simple and convenient; and, through the code engine, an online visual design and development model is provided for service orchestration, which reduces the development difficulty and enables non-technical personnel to master and develop the program development method.

[0113] An embodiment of the present application provides a program development method. Since this method determines the exclusive business logic data of the target domain model, and the exclusive business logic data is data corresponding to the exclusive business functions of the domain model, the program of the domain model is generated based on the development data obtained based on the exclusive business logic data, basic business logic data and page data, so that the generated program is more in line with the requirements of the domain model, thereby improving the quality of the developed program.

[0114] See also Figure 8 , Figure 8 A program development device provided in an embodiment of the present application includes:

[0115] Acquisition module 801 is used to acquire basic business logic data and page data of the target domain model. The basic business logic data is data corresponding to the basic business functions of the target domain model, and the page data is data of the target domain model page to be displayed;

[0116] The first determination module 802 is used to determine the exclusive business functions of the target domain model, where the exclusive business functions are the business functions of the target domain model other than the basic business functions;

[0117] The second determining module 803 is configured to determine the exclusive business logic data based on the exclusive business function and the basic business logic data, where the exclusive business logic data is data corresponding to the exclusive business function;

[0118] Integration module 804 is used to integrate the exclusive business logic data, basic business logic data and page data to obtain first development data of the target domain model, where the first development data is data required for developing the target domain model;

[0119] The generating module 805 is configured to generate a target program of the target domain model based on the first development data.

[0120] In some embodiments, the second determining module 803 is configured to:

[0121] Determine the logic code corresponding to the exclusive business function, the logic code includes a calling function; set the calling interface of the calling function to the data interface of the basic business logic data to obtain the exclusive business logic data, and the calling function is used to call the basic business logic data through the calling interface; or,

[0122] The basic business logic data and exclusive business functions are input into the logic data determination model to obtain exclusive business logic data. The logic data determination model is obtained based on the basic business logic data, exclusive business functions and exclusive business logic data, and is used to determine the exclusive business logic data of the domain model.

[0123] In some embodiments, the first determining module 802 is configured to:

[0124] Obtain first functional description information of the target domain model, where the first functional description information is used to describe the exclusive business function of the target domain model, and obtain the exclusive business function described by the first functional description information;

[0125] Obtain the second functional description information of the target domain model, the second functional description information includes field information and relationship information of multiple charts, the field information of the chart is used to describe the function of the chart, and the relationship information is used to represent the relationship between multiple charts; obtain the first exclusive business function and the second exclusive business function, the first exclusive business function is the exclusive business function described by the field information of multiple charts, and the second exclusive business function is the exclusive business function for processing the relationship between multiple charts.

[0126] In some embodiments, the integration module 804 is configured to:

[0127] The exclusive business logic data, basic business logic data and page data are parsed respectively by the code engine to generate the first business logic code, the second business logic code and the front-end page code of the target domain model. The code engine is used to generate the code, and the first business logic code is the code corresponding to the exclusive business logic data, and the second business logic code is the code corresponding to the basic business logic data. The first business logic code, the second business logic code and the front-end page code constitute the first development data;

[0128] The generating module 805 is used to:

[0129] The first development data is loaded and run to generate a target program.

[0130] In some embodiments, the apparatus further comprises:

[0131] a third determination module, configured to determine target element data based on the dedicated business logic data, the basic business logic data, and the page data, the target element data including first element data and second element data, the first element data being element data having the same content as the dedicated business logic data and the page data but in a different language, and the second element data being element data having the same content as the basic business logic data and the page data but in a different language;

[0132] A modification module, used for modifying target element data in the page data into element data in a target language;

[0133] Among them, if the target element data is the first element data, the target language is the language of the first element data in the exclusive business logic data; if the target element data is the second element data, the target language is the language of the second element data in the basic business logic data.

[0134] In some embodiments, the generating module 805 is configured to:

[0135] Obtaining an operating environment engineering package for the business function to be enhanced, wherein the operating environment engineering package includes operating data of the operating environment for the business function to be enhanced;

[0136] Run the operation data to obtain the operating environment of the business function to be enhanced;

[0137] In the operating environment, the business function to be enhanced is enhanced to generate second development data;

[0138] A target program of a target domain model is generated based on the first development data and the second development data.

[0139] An embodiment of the present application provides a program development device, which determines the exclusive business logic data of the target domain model, and the exclusive business logic data is data corresponding to the exclusive business functions of the domain model. Then, development data obtained based on the exclusive business logic data, basic business logic data and page data is used to generate a program for the domain model, so that the generated program better meets the requirements of the domain model, thereby improving the quality of the developed program.

[0140] In some embodiments, the computer device is configured as a terminal; Figure 9 The following is a block diagram of the structure of a terminal 900 provided in an embodiment of the present application. Terminal 900 may be a portable mobile terminal, such as a smartphone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer, or a desktop computer. Terminal 900 may also be referred to as user equipment, a portable terminal, a laptop terminal, a desktop terminal, or other similar names.

[0141] Typically, the terminal 900 includes a processor 901 and a memory 902 .

[0142] The processor 901 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 901 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 901 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 901 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 901 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0143] The memory 902 may include one or more computer-readable storage media, which may be non-transitory. The memory 902 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 902 is used to store at least one program code, which is executed by the processor 901 to implement the program development method provided in the method embodiment of the present application.

[0144] In some embodiments, terminal 900 may optionally include a peripheral device interface 903 and at least one peripheral device. The processor 901, memory 902, and peripheral device interface 903 may be connected via a bus or signal lines. Each peripheral device may be connected to peripheral device interface 903 via a bus, signal lines, or circuit boards. Specifically, the peripheral device may include at least one of a radio frequency circuit 904, a display screen 905, a camera assembly 906, an audio circuit 907, a positioning assembly 908, and a power supply 909.

[0145] The peripheral device interface 903 can be used to connect at least one I / O (Input / Output)-related peripheral device to the processor 901 and the memory 902. In some embodiments, the processor 901, the memory 902, and the peripheral device interface 903 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 901, the memory 902, and the peripheral device interface 903 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0146] The RF circuit 904 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 904 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 904 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the RF circuit 904 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The RF circuit 904 can communicate with other terminals via at least one wireless communication protocol. Such wireless communication protocols include, but are not limited to, the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 904 may also include circuits related to Near Field Communication (NFC), which is not limited in this application.

[0147] Display screen 905 is used to display a user interface (UI). This UI may include graphics, text, charts, videos, or any combination thereof. When display screen 905 is a touchscreen display, it is also capable of collecting touch signals on or above the surface of display screen 905. These touch signals can be input as control signals to processor 901 for processing. Display screen 905 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there can be a single display screen 905, located on the front panel of terminal 900. In other embodiments, there can be at least two display screens 905, located on different surfaces of terminal 900 or in a foldable design. In still other embodiments, display screen 905 can be a flexible display, located on a curved or foldable surface of terminal 900. Display screen 905 can also be configured as a non-rectangular, irregular shape, also known as a special-shaped screen. Display screen 905 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0148] The camera assembly 906 is used to capture images or videos. Optionally, the camera assembly 906 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 906 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0149] The audio circuit 907 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals to be input into the processor 901 for processing, or input into the radio frequency circuit 904 to achieve voice communication. For the purpose of stereo sound collection or noise reduction, there may be multiple microphones, each located in different parts of the terminal 900. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert electrical signals from the processor 901 or the radio frequency circuit 904 into sound waves. The speaker may be a traditional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 907 may also include a headphone jack.

[0150] Positioning component 908 is used to locate the current geographic location of terminal 900 to implement navigation or LBS (Location Based Service). Positioning component 908 can be a positioning component based on the US GPS (Global Positioning System), China's Beidou system, or Russia's Galileo system.

[0151] Power supply 909 is used to power various components in terminal 900. Power supply 909 can be AC ​​power, DC power, a disposable battery, or a rechargeable battery. When power supply 909 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, while a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0152] In some embodiments, the terminal 900 further includes one or more sensors 190 , including but not limited to: an acceleration sensor 911 , a gyroscope sensor 912 , a pressure sensor 913 , a fingerprint sensor 914 , an optical sensor 915 , and a proximity sensor 916 .

[0153] The accelerometer 911 can detect the magnitude of acceleration along the three coordinate axes of the coordinate system established by the terminal 900. For example, the accelerometer 911 can be used to detect the components of gravity acceleration along the three coordinate axes. The processor 901 can control the display screen 905 to display the user interface in a landscape or portrait view based on the gravity acceleration signal collected by the accelerometer 911. The accelerometer 911 can also be used to collect game or user motion data.

[0154] The gyroscope sensor 912 can detect the orientation and rotation angle of the terminal 900. It can work with the accelerometer 911 to collect the user's 3D movements on the terminal 900. Based on the data collected by the gyroscope sensor 912, the processor 901 can implement the following functions: motion sensing (for example, changing the UI based on the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0155] The pressure sensor 913 can be set on the side frame of the terminal 900 and / or the lower layer of the display screen 905. When the pressure sensor 913 is set on the side frame of the terminal 900, it can detect the user's grip signal of the terminal 900, and the processor 901 performs left and right hand recognition or shortcut operations based on the grip signal collected by the pressure sensor 913. When the pressure sensor 913 is set on the lower layer of the display screen 905, the processor 901 controls the operable controls on the UI interface based on the user's pressure operation on the display screen 905. The operable controls include at least one of a button control, a scroll bar control, a chart control, and a menu control.

[0156] The fingerprint sensor 914 is used to collect the user's fingerprint. The processor 901 identifies the user's identity based on the fingerprint collected by the fingerprint sensor 914, or the fingerprint sensor 914 identifies the user's identity based on the collected fingerprint. When the user's identity is identified as a trusted identity, the processor 901 authorizes the user to perform relevant sensitive operations, such as unlocking the screen, viewing encrypted information, downloading software, making payments, and changing settings. The fingerprint sensor 914 can be set on the front, back, or side of the terminal 900. When a physical button or manufacturer logo is provided on the terminal 900, the fingerprint sensor 914 can be integrated with the physical button or manufacturer logo.

[0157] The optical sensor 915 is used to detect ambient light intensity. In one embodiment, the processor 901 can control the display brightness of the display screen 905 based on the ambient light intensity detected by the optical sensor 915. Specifically, when the ambient light intensity is high, the display brightness of the display screen 905 is increased; when the ambient light intensity is low, the display brightness of the display screen 905 is decreased. In another embodiment, the processor 901 can also dynamically adjust the shooting parameters of the camera assembly 906 based on the ambient light intensity detected by the optical sensor 915.

[0158] Proximity sensor 916, also known as a distance sensor, is typically located on the front panel of terminal 900. Proximity sensor 916 is used to detect the distance between the user and the front of terminal 900. In one embodiment, when proximity sensor 916 detects that the distance between the user and the front of terminal 900 is gradually decreasing, processor 901 controls display screen 905 to switch from the screen-on state to the screen-off state. When proximity sensor 916 detects that the distance between the user and the front of terminal 900 is gradually increasing, processor 901 controls display screen 905 to switch from the screen-off state to the screen-on state.

[0159] Those skilled in the art will understand that Figure 9 The structure shown in the figure does not constitute a limitation on the terminal 900, and the terminal 900 may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.

[0160] An embodiment of the present application also provides a computer-readable storage medium, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to implement the program development method of any of the above implementation methods.

[0161] An embodiment of the present application further provides a computer program product, including a computer program, which implements the program development method of any of the above implementation methods when the computer program is executed by a processor.

[0162] In some embodiments, the computer program product involved in the embodiments of the present application can be deployed and executed on a computer device, or on multiple computer devices located at one location, or on multiple computer devices distributed at multiple locations and interconnected through a communication network. Multiple computer devices distributed at multiple locations and interconnected through a communication network can constitute a blockchain system.

[0163] The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application.

Claims

1. A program development method, characterized in that: The method comprises: Obtain basic business logic data and page data of the target domain model, wherein the basic business logic data is data corresponding to the basic business functions of the target domain model, and the page data is data of the page to be displayed of the target domain model; Determine the exclusive business functions of the target domain model, where the exclusive business functions are the business functions of the target domain model other than the basic business functions; Inputting the basic business logic data and the dedicated business function into a structural model, converting the basic business logic data through the structural model to obtain dedicated business logic data, wherein the dedicated business logic data is data corresponding to the dedicated business function, wherein the structural model is defined based on the field information, chart information, relationship information, and module information of the target domain model. After the structural model is defined, the dedicated business function is deployed in the structural model; Determining target element data based on the dedicated business logic data, the basic business logic data, and the page data, the target element data including first element data and second element data, the first element data being element data where the dedicated business logic data and the page data have the same content but are in different languages, and the second element data being element data where the basic business logic data and the page data have the same content but are in different languages; Modifying the target element data in the page data into element data in a target language, and saving the modified page data as a page model in a development library; Parsing the structural model through a code engine to sequentially generate database tables and temporary business logic codes, wherein the temporary business logic codes include temporary Java codes corresponding to the exclusive business logic data and the basic business logic data respectively; Compile the temporary business logic code through the code engine to generate binary Class code to obtain a first business logic code and a second business logic code, where the first business logic code is a code corresponding to the exclusive business logic data, and the second business logic code is a code corresponding to the basic business logic data; Mapping the data in the structural model database table structure to the page model, parsing the page model in the development library through the code engine to generate front-end page code; The first business logic code, the second business logic code and the front-end page code are combined into first development data, where the first development data is data required for developing the target domain model; Based on the first development data, a target program of the target domain model is generated.

2. The method according to claim 1, characterized in that The method further comprises: Determine the logic code corresponding to the exclusive business function, wherein the logic code includes a calling function; set the calling interface of the calling function to the data interface of the basic business logic data to obtain the exclusive business logic data, and the calling function is used to call the basic business logic data through the calling interface.

3. The method according to claim 1, characterized in that Determining the exclusive business function of the target domain model includes at least one of the following implementation methods: Acquire first functional description information of the target domain model, where the first functional description information is used to describe a specific business function of the target domain model, and acquire the specific business function described by the first functional description information; Acquire second functional description information of the target domain model, where the second functional description information includes field information and relationship information of a plurality of charts, where the field information of the chart is used to describe the function of the chart, and the relationship information is used to represent the relationship between the plurality of charts; A first exclusive business function and a second exclusive business function are obtained, where the first exclusive business function is an exclusive business function described by the field information of the plurality of charts, and the second exclusive business function is an exclusive business function for processing the relationship between the plurality of charts.

4. The method according to claim 1, wherein The step of generating a target program of the target domain model based on the first development data includes: The first development data is loaded and run to generate the target program.

5. The method according to claim 1, wherein If the target element data is the first element data, the target language is the language of the first element data in the exclusive business logic data; if the target element data is the second element data, the target language is the language of the second element data in the basic business logic data.

6. The method according to claim 1, characterized in that The step of generating a target program of the target domain model based on the first development data includes: Acquire an operating environment engineering package for the service function to be enhanced, wherein the operating environment engineering package includes operating data of the operating environment of the service function to be enhanced; Running the operation data to obtain an operation environment of the service function to be enhanced; In the operating environment, enhancing the service function to be enhanced to generate second development data; A target program of the target domain model is generated based on the first development data and the second development data.

7. A program development device, characterized in that: The device comprises: An acquisition module is used to acquire basic business logic data and page data of a target domain model, wherein the basic business logic data is data corresponding to the basic business functions of the target domain model, and the page data is data of a page to be displayed of the target domain model; A first determining module is configured to determine the exclusive business functions of the target domain model, where the exclusive business functions are business functions of the target domain model other than the basic business functions; A second determination module is configured to input the basic business logic data and the dedicated business function into a structural model, convert the basic business logic data through the structural model to obtain dedicated business logic data, where the dedicated business logic data is data corresponding to the dedicated business function, the structural model being defined based on field information, chart information, relationship information, and module information of the target domain model, and after the structural model is defined, the dedicated business function is deployed in the structural model; a third determining module, configured to determine target element data based on the dedicated business logic data, the basic business logic data, and the page data, the target element data including first element data and second element data, the first element data being element data where the dedicated business logic data and the page data have the same content but are in different languages, and the second element data being element data where the basic business logic data and the page data have the same content but are in different languages; a modification module, configured to modify the target element data in the page data into element data in a target language, and save the modified page data as a page model in a development library; An integration module is used to parse the structural model through a code engine, and generate database tables and temporary business logic codes in sequence, wherein the temporary business logic codes include temporary Java codes corresponding to the exclusive business logic data and the basic business logic data respectively; compile the temporary business logic code through the code engine to generate binary Class codes to obtain first business logic codes and second business logic codes, wherein the first business logic code is the code corresponding to the exclusive business logic data, and the second business logic code is the code corresponding to the basic business logic data; map the data in the structural model database table structure to the page model, parse the page model in the development library through the code engine, and generate front-end page code; the first business logic code, the second business logic code, and the front-end page code constitute the first development data, wherein the first development data is the data required for developing the target domain model; A generation module is used to generate a target program of the target domain model based on the first development data.

8. The device according to claim 7, characterized in that The second determining module is configured to: Determine the logic code corresponding to the exclusive business function, wherein the logic code includes a calling function; set the calling interface of the calling function to the data interface of the basic business logic data to obtain the exclusive business logic data, and the calling function is used to call the basic business logic data through the calling interface.

9. The device according to claim 7, characterized in that The first determining module is configured to: Acquire first functional description information of the target domain model, where the first functional description information is used to describe a specific business function of the target domain model, and acquire the specific business function described by the first functional description information; Acquire second functional description information of the target domain model, where the second functional description information includes field information and relationship information of a plurality of charts, where the field information of the chart is used to describe the function of the chart, and the relationship information is used to represent the relationship between the plurality of charts; A first exclusive business function and a second exclusive business function are obtained, where the first exclusive business function is an exclusive business function described by the field information of the plurality of charts, and the second exclusive business function is an exclusive business function for processing the relationship between the plurality of charts.

10. The device according to claim 7, characterized in that The generating module is used to: The first development data is loaded and run to generate the target program.

11. The device according to claim 7, characterized in that If the target element data is the first element data, the target language is the language of the first element data in the exclusive business logic data; if the target element data is the second element data, the target language is the language of the second element data in the basic business logic data.

12. The device according to claim 7, characterized in that The generating module is used to: Acquire an operating environment engineering package for the service function to be enhanced, wherein the operating environment engineering package includes operating data of the operating environment of the service function to be enhanced; Running the operation data to obtain an operation environment of the service function to be enhanced; In the operating environment, enhancing the service function to be enhanced to generate second development data; A target program of the target domain model is generated based on the first development data and the second development data.

13. A computer device, characterized in that: The computer device includes one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and the at least one program code is loaded and executed by the one or more processors to implement the program development method according to any one of claims 1 to 6.

14. A computer-readable storage medium, characterized in that The storage medium stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the program development method according to any one of claims 1 to 6.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the program development method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Method and device for creating interface elements, storage medium and mobile terminal

    CN108804100A

  • A code automatic generation method and a code generator

    CN109359112A

  • Method and device for realizing service enhancement

    CN110895468A

  • Application program generation method, device and system

    CN112114804A