Application construction method and device based on integrated development platform, and electronic equipment

By using the application building method of the integrated development platform, the problems of low code reuse rate and cumbersome processes in enterprise software application development are solved, achieving efficient code generation and deployment, and improving development efficiency and system stability.

CN121092142APending Publication Date: 2025-12-09INDUSTRIAL AND COMMERCIAL BANK OF CHINA +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511260830.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-04
Publication Date
2025-12-09

AI Technical Summary

Technical Problem

Existing technologies for enterprise software application development suffer from low code reuse rates and cumbersome development processes, leading to low development efficiency. This poses a threat to business continuity and market responsiveness, especially in the fintech sector.

Method used

An application building approach based on an integrated development platform is adopted. This involves initializing the target application project, building a data model, configuring project dependencies, generating the project code framework using code generation tools, and initiating the deployment process. By combining componentization and microservice architecture, automated code generation and integrated deployment are achieved.

Benefits of technology

It significantly improved code reusability, simplified the development process, enhanced development efficiency, ensured software quality and system stability, reduced maintenance costs, and improved the collaborative efficiency of the development team.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121092142A_ABST
    Figure CN121092142A_ABST
Patent Text Reader

Abstract

The invention discloses an application construction method and device based on an integrated development platform and electronic equipment, and relates to the field of financial science and technology or other related fields, and the method comprises the steps: initializing a target application project based on an application demand in the integrated development platform, and constructing a data model corresponding to the target application project; under the root directory of the target application project, configuring a project dependency relationship based on an application demand, and adjusting the data model based on the project dependency relationship; generating a project code framework based on the data model by utilizing a code generation tool of the integrated development platform; and starting a deployment process of the integrated development platform, and performing project deployment based on the project code framework to obtain a target application instance. Through the application, the technical problem of low development efficiency caused by low code reuse rate and tedious development process in an enterprise software application development process in related technologies is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of financial technology or other related fields, and more specifically, to an application building method and apparatus, and electronic equipment based on an integrated development platform. Background Technology

[0002] In the sweeping tide of digital transformation, efficient software development capabilities are crucial to a company's success. However, enterprise software application development under the existing technology framework faces significant bottlenecks: with business expansion and a surge in projects, each team attempts to establish independent R&D processes, leading to substantial duplication of work and wasted resources; low code reuse rates and cumbersome development processes. These problems directly inhibit development efficiency, increase maintenance difficulty, and, especially in the fintech sector, pose a serious threat to business continuity and market responsiveness.

[0003] While some robust infrastructures and toolchains exist in existing technologies, they do not fully address the core pain points in enterprise application development—how to significantly improve development efficiency and modularity while ensuring code quality and system stability. The lack of unified standards for technical components and overly complex version management not only increase the barrier to entry for platforms but also limit their flexible scalability in large-scale applications.

[0004] There is currently no effective solution to the above problems. Summary of the Invention

[0005] The main purpose of this application is to provide an application building method, apparatus, and electronic device based on an integrated development platform, so as to at least solve the technical problems of low code reuse rate and cumbersome development process in enterprise software application development, which leads to low development efficiency.

[0006] To achieve the above objectives, according to one aspect of this application, an application construction method based on an integrated development platform is provided. The method includes: in the integrated development platform, initializing a target application project based on application requirements and constructing a data model corresponding to the target application project; configuring project dependencies based on the application requirements in the root directory of the target application project, and adjusting the data model based on the project dependencies, wherein the project dependencies include: platform general dependencies, core module dependencies, and business component dependencies; using the code generation tool of the integrated development platform, generating a project code framework based on the data model, wherein the project code framework includes: data entity code, data access layer code, business logic layer code, and service interface layer code; initiating the deployment process of the integrated development platform, deploying the project based on the project code framework, and obtaining a target application instance.

[0007] Furthermore, in the integrated development platform, the steps of initializing a target application project based on application requirements and constructing a data model corresponding to the target application project include: analyzing the application requirements to obtain analysis results, wherein the analysis results record the basic attribute information and functional requirement information of the target application, and the functional requirement information includes: data requirements and business logic requirements; using the project generation tool of the integrated development platform, selecting a target application template based on the basic attribute information, and creating the target application project by combining the basic attribute information and the target application template; using an entity-relationship diagram design strategy, constructing the data model based on the data requirements, the business logic requirements, and the target application project; and storing the data model in the configuration directory of the target application project.

[0008] Furthermore, the integrated development platform has pre-configured global attribute configurations and dependency management strategies. The step of configuring project dependencies based on the application requirements in the root directory of the target application project includes: identifying the dependency requirements of the target application project based on the functional requirement information indicated by the application requirements, wherein the dependency requirements at least describe the technology stack, framework, components, and corresponding implementation versions required by the project; generating a project object model in the root directory of the target application project; updating the dependency descriptions in the project object model based on the pre-configured global attribute configurations and dependency management strategies of the integrated development platform to obtain the project dependencies; and synchronizing the configured project dependencies with the pre-configured dependency management strategies using the dependency management tools of the integrated development platform.

[0009] Furthermore, the step of adjusting the data model based on project dependencies includes: identifying a first requirement of the general technology stack for the data model by analyzing the dependency descriptions corresponding to the platform's general dependencies; identifying a second requirement of the functional components in the core framework for the data model by analyzing the dependency descriptions corresponding to the core module dependencies; identifying a third requirement of the business components for the data model by analyzing the dependency descriptions corresponding to the business component dependencies; and adjusting the data model by combining the first, second, and third requirements, wherein the adjustment strategy includes at least one of the following: modifying data types, adding or deleting fields, adjusting entity relationships, or adjusting the index structure.

[0010] Furthermore, the step of generating a project code framework based on the data model using the code generation tool of the integrated development platform includes: selecting an initial framework template in the code generation tool based on the attribute structure and entity relationships of the data model; using the built-in template engine in the code generation tool to convert the data model into data entity classes, database access objects, business logic code segments, and controller code segments; and filling the data entity classes, database access objects, business logic code segments, and controller code segments into the initial framework template to obtain the project code framework.

[0011] Furthermore, the data entity class is used to reflect the data fields and field relationships in the data model; the database access object is responsible for the add, delete, query, and modify operations of all the data fields; the business logic code segment is used to execute business logic; and the controller code segment is used to receive and respond to external requests.

[0012] Furthermore, the steps of initiating the deployment process of the integrated development platform and deploying the project based on the project code framework to obtain the target application instance include: compiling the source code in the project code framework into bytecode, packaging the bytecode to obtain a project software package; applying the deployment process to deploy the project software package to the target server, and running the project software package to obtain the target application instance.

[0013] To achieve the above objectives, according to another aspect of this application, an application building apparatus based on an integrated development platform is also provided. The apparatus includes: a building unit, configured to initialize a target application project based on application requirements within the integrated development platform, and to build a data model corresponding to the target application project; a configuration unit, configured to configure project dependencies based on the application requirements in the root directory of the target application project, and to adjust the data model based on the project dependencies, wherein the project dependencies include: platform general dependencies, core module dependencies, and business component dependencies; a generation unit, configured to generate a project code framework based on the data model using the code generation tool of the integrated development platform, wherein the project code framework includes: data entity code, data access layer code, business logic layer code, and service interface layer code; and a deployment unit, configured to initiate the deployment process of the integrated development platform, deploy the project based on the project code framework, and obtain a target application instance.

[0014] Furthermore, the construction unit includes: an analysis module, used to analyze the application requirements to obtain analysis results, wherein the analysis results record the basic attribute information and functional requirement information of the target application, the functional requirement information including: data requirements and business logic requirements; a creation module, used to use the project generation tool of the integrated development platform to select a target application template based on the basic attribute information, and create the target application project by combining the basic attribute information and the target application template; a construction module, used to construct the data model based on the data requirements, the business logic requirements, and the target application project using an entity relationship diagram design strategy; and a storage module, used to store the data model in the configuration directory of the target application project.

[0015] Furthermore, the integrated development platform has pre-configured global attribute settings and dependency management strategies. The configuration unit includes: a first identification module, used to identify the dependency requirements of the target application project based on the functional requirement information indicated by the application requirements, wherein the dependency requirements at least describe the technology stack, framework, components, and corresponding implementation versions required by the project; a generation module, used to generate a project object model in the root directory of the target application project; an update module, used to update the dependency descriptions in the project object model based on the pre-configured global attribute settings and dependency management strategies of the integrated development platform, thereby obtaining the project dependency relationships; and a synchronization module, used to synchronize the configured project dependency relationships with the pre-configured dependency management strategies using the dependency management tools of the integrated development platform.

[0016] Furthermore, the configuration unit further includes: a second identification module, used to identify the first requirement of the general technology stack for the data model by analyzing the dependency descriptions corresponding to the platform's general dependency relationships; a third identification module, used to identify the second requirement of the functional components in the core framework for the data model by analyzing the dependency descriptions corresponding to the core module dependency relationships; a fourth identification module, used to identify the third requirement of the business components for the data model by analyzing the dependency descriptions corresponding to the business component dependency relationships; and an adjustment module, used to adjust the data model by combining the first requirement, the second requirement, and the third requirement, wherein the adjustment strategy includes at least one of the following: modifying data type, adding or deleting fields, adjusting entity relationships, and adjusting index structure.

[0017] Further, the generation unit includes: a selection module, used to select an initial framework template in the code generation tool based on the attribute structure and entity relationships of the data model; a conversion module, used to convert the data model into data entity classes, database access objects, business logic code segments, and controller code segments using the built-in template engine in the code generation tool; and a filling module, used to fill the data entity classes, the database access objects, the business logic code segments, and the controller code segments into the initial framework template to obtain the project code framework.

[0018] Furthermore, the data entity class is used to reflect the data fields and field relationships in the data model; the database access object is responsible for the add, delete, query, and modify operations of all the data fields; the business logic code segment is used to execute business logic; and the controller code segment is used to receive and respond to external requests.

[0019] Furthermore, the deployment unit includes: a compilation module, used to compile the source code in the project code framework into bytecode, and package the bytecode to obtain a project software package; and a running module, used to apply the deployment process to deploy the project software package to the target server, and run the project software package to obtain the target application instance.

[0020] To achieve the above objectives, according to another aspect of this application, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to execute the application building method based on the integrated development platform described above.

[0021] To achieve the above objectives, according to another aspect of this application, an electronic device is also provided, including one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the application building method based on the integrated development platform described in any one of the above claims.

[0022] To achieve the above objectives, according to another aspect of this application, a computer program product is also provided, including computer instructions, wherein when the computer instructions are executed by a processor, they implement the steps of the application building method based on an integrated development platform as described in any one of the above claims.

[0023] This invention proposes an application building method based on an integrated development platform (IDE). First, within the IDE, a target application project is initialized based on application requirements, and a corresponding data model is built. Then, in the root directory of the target application project, project dependencies are configured based on application requirements, and the data model is adjusted based on these dependencies. These dependencies include platform-wide dependencies, core module dependencies, and business component dependencies. Next, the IDE's code generation tool is used to generate a project code framework based on the data model. This framework includes data entity code, data access layer code, business logic layer code, and service interface layer code. Finally, the IDE's deployment process is initiated, and the project is deployed based on the code framework to obtain the target application instance.

[0024] This invention employs a combination of componentization and microservices, utilizing automated code generation and integrated deployment processes to significantly improve code reusability and streamline the development process. This results in a substantial increase in development efficiency, ensuring software quality and system stability. Consequently, it addresses the technical problems of low code reusability and cumbersome development processes in enterprise software application development, which lead to low development efficiency.

[0025] Specifically, this invention rapidly initializes the target application project and builds a data model within the integrated development platform based on application requirements. It incorporates the platform's general dependency relationships, core module dependency relationships, and business component dependency relationships, ensuring that the project has high compatibility and scalability from the startup phase. Subsequently, with the platform's built-in code generation tool, the project code framework is automatically generated in conjunction with the data model, covering multiple key aspects such as data entity code, data access layer code, business logic layer code, and service interface layer code. This greatly reduces the workload of manual coding and improves the standardization and automation level of development.

[0026] This invention also employs a deployment process unique to integrated development platforms, which not only automates the conversion of generated project code frameworks into runnable application instances but also integrates advanced functions such as health checks and performance monitoring, ensuring the smooth startup and stable operation of application instances. Through the above implementation, this invention not only solves the long-standing problem of low development efficiency plaguing enterprises but, more importantly, opens up a new path for enterprise software development. By using component-based design and the application of automation tools, it significantly improves the collaborative efficiency of development teams and reduces maintenance costs. Attached Figure Description

[0027] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:

[0028] Figure 1 A hardware structure block diagram of a computer terminal (or mobile device) for implementing an application building method based on an integrated development platform is shown.

[0029] Figure 2 This is a flowchart of an optional application building method based on an integrated development platform according to an embodiment of the present invention;

[0030] Figure 3 This is a schematic diagram of an optional application building device based on an integrated development platform according to an embodiment of the present invention;

[0031] Figure 4 This is a structural block diagram of an electronic device that executes an application building method based on an integrated development platform according to an embodiment of the present invention. Detailed Implementation

[0032] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0033] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0034] To facilitate understanding of the present invention by those skilled in the art, some terms or nouns involved in the various embodiments of the present invention are explained below:

[0035] Microservices architecture is an architectural style that designs applications as a set of loosely coupled services, each built around a specific business function and capable of independent deployment and scaling. Microservices architecture emphasizes service independence and high cohesion; each service has its own database and configuration, and communicates and integrates via APIs to support agile development and continuous integration / continuous deployment (CI / CD).

[0036] An IDE, or Integrated Development Environment, is a software application that provides comprehensive tools and services to assist software developers in writing, testing, debugging, and managing code. An IDE integrates a code editor, debugger, build tools, and version control system. In this invention, the IDE is used as one of the development tools.

[0037] CI / CD, Continuous Integration / Continuous Deployment, is a software development practice in which code changes are frequently integrated into a shared repository, their quality is verified through automated build and testing processes, and then automatically deployed to production or other phases of the development process. CI / CD is a core component of modern software development processes, facilitating rapid feedback and faster deployment of new features. In this invention, the integrated development platform supports the CI / CD process, ensuring code quality and accelerating the development cycle.

[0038] It should be noted that the application building method and apparatus based on the integrated development platform in this application can be used in the financial technology field for rapid response and agile development of complex business needs, and can also be used in any field other than the financial technology field for rapid response and agile development of complex business needs. This application does not limit the application field of the application building method and apparatus based on the integrated development platform.

[0039] It should be noted that all relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, and displayed data) involved in this application are information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, storage, processing, transmission, provision, disclosure, use, and handling of such data comply with the laws, regulations, and standards of the relevant regions, necessary confidentiality measures have been taken, and they do not violate public order and good morals. Corresponding access points are provided for users to choose to authorize or refuse access. For example, this system has interfaces with relevant users or organizations. Before obtaining relevant information, a request to obtain the information needs to be sent to the aforementioned user or organization through the interface, and the relevant information is obtained only after receiving consent from the aforementioned user or organization.

[0040] The information collection (e.g., user voice, video, and text collection) and analysis operations involved in this application have provided users with corresponding operation entry points during execution, allowing users to choose to agree to or reject the automated decision results; if the user chooses to reject, the process will proceed to the expert decision-making process.

[0041] The following embodiments of the present invention can be applied to various systems / applications / devices that require rapid implementation of business logic and efficient expansion of system functions, enabling the realization of an enterprise-level software development platform based on componentization and microservice architecture. The present invention uses an integrated development platform to quickly respond to business requirements and perform agile development, then automatically generates code frameworks and integrates deployment processes, thereby improving code reusability and development efficiency while ensuring software quality and system stability.

[0042] This invention utilizes a component-based design to encapsulate commonly used business logic and tools into independent, reusable modules. This allows developers to focus on implementing core business logic without having to build basic functionalities from scratch. The microservice architecture ensures that each service can be deployed and scaled independently, enhancing the system's resilience and maintainability. The integrated development platform's code generation tools and deployment processes further simplify the entire process from requirements analysis to application deployment, significantly improving development efficiency, reducing error rates, and ensuring rapid iteration and high-quality delivery of software products.

[0043] The present invention will now be described in detail with reference to various embodiments.

[0044] Example 1

[0045] According to an embodiment of the present invention, an embodiment of an application building method based on an integrated development platform is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0046] The application building method based on an integrated development platform provided in Embodiment 1 of the present invention can be executed on a mobile terminal, computer terminal, or similar computing device. Figure 1 A hardware structure block diagram of a computer terminal (or mobile device) for implementing an application building method based on an integrated development platform is shown. Figure 1As shown, the computer terminal 10 (or mobile device) may include one or more processors 102 (shown as 102a, 102b, ..., 102n in the figure) 102 (processor 102 may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of a BUS bus), a network interface, a power supply, and / or a camera. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, computer terminal 10 may also include... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0047] It should be noted that the aforementioned one or more processors 102 and / or other data processing circuits are generally referred to herein as "data processing circuits". These data processing circuits may be embodied, in whole or in part, in software, hardware, firmware, or any other combination thereof. Furthermore, the data processing circuits may be a single, independent processing module, or may be integrated, in whole or in part, into any other element within the computer terminal 10 (or mobile device). As involved in the embodiments of this application, the data processing circuits serve as a processor control mechanism (e.g., selection of a variable resistor termination path connected to an interface).

[0048] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the application building method based on the integrated development platform in this embodiment. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, thereby realizing the above-mentioned application building method based on the integrated development platform. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0049] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of the computer terminal 10. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module, used for wireless communication with the Internet.

[0050] The display can be, for example, a touchscreen liquid crystal display (LCD) that allows the user to interact with the user interface of the computer terminal 10 (or mobile device).

[0051] Under the above operating environment, the present invention provides, as follows: Figure 2 The application building method shown is based on an integrated development platform. The main body of this method is the development platform system. It combines microservice architecture and component-based development technology to build software applications in the financial technology field. In particular, it solves the problems of low code reuse, cumbersome development process and insufficient system stability in enterprise application development. By using automated code generation tools and integrated deployment processes, it achieves the goal of improving code reuse and development efficiency, while ensuring software quality and system stability.

[0052] The embodiments of the present invention will now be described in detail with reference to each specific step.

[0053] Figure 2 This is a flowchart of an optional application building method based on an integrated development platform according to an embodiment of the present invention, such as... Figure 2 As shown, the method includes the following steps:

[0054] Step S201: In the integrated development platform, initialize the target application project based on the application requirements and build the data model corresponding to the target application project.

[0055] Specifically, an integrated development platform (IDE) is a comprehensive software development tool that integrates various development tools and services, such as code editors, compilers, debuggers, version control systems, build tools, and testing frameworks, aiming to provide a unified and efficient development environment. In this embodiment of the invention, the IDE can respond to application requirements, quickly initialize projects, and support automated data model building, simplifying pre-development preparation and improving overall development efficiency and code quality.

[0056] Application requirements refer to the expectations and requirements of users or business teams regarding software functionality, performance, security, and other aspects during the software development process. In this embodiment of the invention, application requirements are the foundation for driving the initialization and data model construction of the integrated development platform. The platform can customize and generate corresponding project structures and initial code according to different business scenarios and functional requirements, ensuring the relevance and effectiveness of the development work.

[0057] Initializing the target application project refers to the process within an integrated development platform (IDE) that, based on user-inputted application requirements, quickly generates a software project framework, including the project's directory structure, basic code, and configuration files, through automated scripts or a wizard-style interface. This process eliminates the complexity of manually creating projects and setting up environments, shortens pre-development preparation time, and allows development teams to more quickly engage in actual code writing and business logic implementation.

[0058] Building a data model is a crucial step in the early stages of software development, involving defining the database structure, such as tables, fields, and relationships, based on application requirements. In this embodiment of the invention, data model building is no longer limited to manual design but is automated through an integrated development platform. The platform can automatically generate corresponding database design documents based on application requirements, and even directly generate database table structures and related object-relational mapping code, greatly improving development efficiency and code consistency.

[0059] To improve development efficiency and ensure code quality, optionally, in the application building method based on an integrated development platform provided in this embodiment of the invention, the steps of initializing a target application project based on application requirements and building a data model corresponding to the target application project in the integrated development platform include: analyzing application requirements to obtain analysis results, wherein the analysis results record the basic attribute information and functional requirement information of the target application, and the functional requirement information includes: data requirements and business logic requirements; using the project generation tool of the integrated development platform, selecting a target application template based on the basic attribute information, and creating a target application project by combining the basic attribute information and the target application template; adopting an entity-relationship diagram design strategy to build a data model based on data requirements, business logic requirements, and the target application project; and storing the data model in the configuration directory of the target application project.

[0060] It should be noted that the analysis results are detailed specifications obtained after preliminary analysis of application requirements. They include basic attribute information of the target application, such as application name, version, and development language, as well as functional requirements, specifically covering key points such as data requirements and business logic requirements.

[0061] Project generation tools are integrated development platforms (IDEs) that automate the generation of project skeletons. Based on basic attribute and functional requirements information from analysis results, they can quickly construct the basic project structure, including directory structure, basic code files, and configuration files. Project generation tools significantly reduce the time spent manually setting up project templates in the early stages.

[0062] Based on basic attribute information (such as application type, programming language, framework, etc.), the project generation tool can intelligently select a suitable project template as the starting point for development. The template pre-sets a common project structure, code style guide, and basic functions, ensuring that the creation of new projects follows enterprise-level development standards while reducing repetitive work in the early stages of development.

[0063] Creating a target application project is the process of combining information from the analysis results with a selected project template to generate a specific application project. This typically includes importing template code, automatically generating configuration files, and setting project dependencies, enabling developers to begin their work in a predefined, requirement-compliant environment, which significantly improves development efficiency and code consistency.

[0064] Another point to note is that an Entity-Relationship Diagram (ER diagram) is a graphical representation method used for database design. It clearly shows the relationships between data entities, such as one-to-one, one-to-many, or many-to-many relationships. In this application, the ER diagram design strategy is a process of automatically generating the database structure and related ORM (Object-Relational Mapping) code based on data requirements and business logic requirements. This ensures that the data model design conforms to the business logic while accelerating the database design and code generation steps.

[0065] Building a data model refers to designing and implementing the data structure and database table definitions for the software application, as well as the code framework for interacting with the database, based on application requirements. In this embodiment of the invention, the construction of the data model combines entity-relationship diagram design strategies and automated code generation to improve development efficiency, reduce errors and redundancy in handwritten code, and ensure tight coupling between the data model and business logic.

[0066] The configuration directory is used in a project to store various configuration files, such as database connection configurations, service port configurations, and security configurations. In this embodiment of the invention, storing the data model in the configuration directory means storing the database design and related configuration information in a highly readable file format, which is convenient for developers to call and modify, and also facilitates subsequent build tools to read this information to achieve automated deployment or testing.

[0067] Step S202: In the root directory of the target application project, configure the project dependencies based on the application requirements, and adjust the data model based on the project dependencies. The project dependencies include: platform general dependencies, core module dependencies, and business component dependencies.

[0068] Specifically, the root directory is the highest-level directory of a project or program, typically containing the project's main entry point, global configuration files, and all submodules or subprojects. In this embodiment of the invention, the root directory of the target application project is the starting point of the entire application, containing build configuration files such as pom.xml or build.gradle, used to specify all project dependencies and configure project-level settings.

[0069] Project dependencies refer to a project's dependence on other projects, libraries, or frameworks, which are necessary for the project's compilation, operation, or testing. In this embodiment of the invention, the platform-wide dependencies are dependencies that any application might need, such as logging frameworks and testing frameworks, ensuring the application's basic runtime environment. Core module dependencies are the microkernel part of the development platform, including unified message formats, exception handling, log management, and security mechanisms, providing core runtime support for the application. Business component dependencies allow the application to select and import different business components from the component library based on its specific business needs, such as tenant management, function management, and scheduled tasks, providing support and extensibility for business logic.

[0070] Configuring project dependencies in the root directory of a software project ensures that the project's build and run can accurately find the required libraries and modules, and also facilitates the sharing and understanding of the project's technology stack among team members.

[0071] Adjustments to the data model are based on changes in project dependencies, especially the introduction of dependencies on business components. When the application needs to interact with new components or perform more functions, the data model may need to be extended or modified to accommodate the new components and their associated data requirements. For example, introducing a tenant management component may require adding a tenant ID field to the data model to ensure data isolation by tenant. Adjusting the data model ensures that the application can seamlessly integrate new features while maintaining the rationality and consistency of the database design.

[0072] To improve project maintainability and scalability, optionally, in the application building method based on an integrated development platform provided in this embodiment of the invention, the integrated development platform has pre-set global attribute configuration and dependency management strategies. The step of configuring project dependencies based on application requirements in the root directory of the target application project includes: identifying the dependency requirements of the target application project based on the functional requirement information indicated by the application requirements, wherein the dependency requirements at least describe the technology stack, framework, components, and corresponding implementation versions required by the project; generating a project object model in the root directory of the target application project; updating the dependency descriptions in the project object model based on the pre-set global attribute configuration and dependency management strategies of the integrated development platform to obtain project dependencies; and synchronizing the configured project dependencies with the pre-set dependency management strategies using the dependency management tools of the integrated development platform.

[0073] It's important to note that dependency identification is the process of analyzing the functional requirements indicated by the application requirements to determine the technology stack, frameworks, components, and their corresponding versions needed by the target application project. This identification often relies on the intelligent assistant built into the integrated development platform or the requirement parsing algorithm, which can scan the requirement document to automatically identify specific dependencies required by the project, such as web frameworks, database connection pools, and security frameworks.

[0074] The Project Object Model (POM) is the core configuration file of a Maven project, containing project information, dependencies, build instructions, and more. Generating a POM in the root directory of the target application project means creating a model representing the complete state of the project, used to guide subsequent project builds and dependency management. In this embodiment of the invention, POM generation is automated; automatically generating a dependency list based on identified dependency requirements reduces errors and time consumption associated with manual configuration.

[0075] The integrated development platform comes pre-configured with a set of global attribute configurations (such as project build version, default dependency version, etc.) and dependency management strategies (such as how to handle conflicts between versions, when to update dependencies, etc.) to provide a unified standard and framework for project dependency management. This ensures that all projects follow a consistent build environment and dependency management rules, thereby reducing the differences between projects and the difficulty of maintenance.

[0076] Updating dependency descriptions refers to modifying or adding dependency descriptions, such as version numbers and dependency scopes, in the generated project object model based on pre-defined global attribute configurations and dependency management strategies. This process includes automated version synchronization, dependency scope adjustments, and automatic handling of dependency conflicts, ensuring the accuracy and consistency of project dependencies.

[0077] Dependency management tools are integrated development platforms (IDEs) that automatically handle project dependencies. They parse the project object model, automatically download required libraries and frameworks, manage the dependency tree, resolve version conflicts, and keep synchronized with pre-defined global property configurations and dependency policies. The existence of dependency management tools simplifies the developer's build process and ensures the reliability of project builds.

[0078] Synchronizing project dependencies with provisioned strategies refers to automatically adjusting project dependencies during dependency management to conform to the pre-configured settings of the integrated development platform. This step ensures the correctness of project dependencies, avoiding build failures or runtime errors caused by version incompatibility or obsolescence. Synchronization may be performed automatically during each build or deployment, or it may be accomplished by triggering dependency update events.

[0079] Optionally, in the application building method based on an integrated development platform provided in this embodiment of the invention, the step of adjusting the data model based on project dependencies includes: identifying the first requirement of the general technology stack for the data model by analyzing the dependency descriptions corresponding to the platform's general dependencies; identifying the second requirement of the functional components in the core framework for the data model by analyzing the dependency descriptions corresponding to the core module dependencies; identifying the third requirement of the business components for the data model by analyzing the dependency descriptions corresponding to the business component dependencies; and adjusting the data model by combining the first, second, and third requirements, wherein the adjustment strategy includes at least one of the following: modifying data types, adding or deleting fields, adjusting entity relationships, and adjusting index structures.

[0080] It should be noted that the first requirement refers to the requirements of the general technology stack on the data model, which stem from its pre-defined specifications for data processing, storage, and transmission. For example, it may require the data model to include specific annotations to support ORM (Object-Relational Mapping) mechanisms, or it may require compatibility of certain data types with the database, such as using Timestamp or Date types to handle dates and times.

[0081] The second requirement refers to the specific requirements that functional components within the core framework (such as unified message format, exception handling, log management, etc.) impose on the data model to ensure that the components can function properly. For example, the log management component may require the data model to include log levels, log information fields, etc., in order to collect and process application logs at runtime.

[0082] The third requirement refers to the specific requirements that business components (such as authentication and authorization, distributed caching, scheduled tasks, etc.) have on their data models based on their functional implementation. For example, authentication and authorization components may require the data model to include fields such as user ID, password, and role, as well as corresponding indexes and foreign key relationships, in order to support efficient user authentication and access control.

[0083] In the adjustment strategy, modifying data type refers to changing the data type of a field to meet the needs of the technology stack or framework; adding or deleting fields refers to adding or removing fields in the data model according to the needs of functional components; adjusting entity relationships refers to modifying the association between entities, such as adding foreign key constraints, adjusting one-to-one or one-to-many relationships, etc., to adapt to the functions of business components; adjusting index structure refers to optimizing the database index structure to ensure efficient data query and component performance.

[0084] Step S203: Using the code generation tool of the integrated development platform, generate a project code framework based on the data model. The project code framework includes: data entity code, data access layer code, business logic layer code, and service interface layer code.

[0085] Specifically, a code generation tool is a software development aid that can automatically generate code based on a given template and input data. In this embodiment of the invention, it refers to a tool built into an integrated development platform, used to generate a project code framework based on a data model. By parsing the data model (such as a database table structure), it automatically generates a code framework that conforms to the application architecture, including preliminary implementations of various code layers, greatly improving development efficiency and reducing repetitive work.

[0086] The project code framework refers to the basic skeleton of the entire application, containing the application's layered structure and the initial versions of the code at each layer. In this embodiment of the invention, the project code framework comprises four main layers:

[0087] Data entity code represents Java classes or other programming language classes of database tables, equipped with ORM (Object-Relational Mapping) annotations, and can directly interact with the database; data access layer code provides interfaces for operating the underlying database, such as adding, deleting, modifying, and querying data, and often exists in the form of DAO (Data Access Object) or Repository; business logic layer code is used to implement the core business logic of the application, such as handling business processes, data validation, and calling other services, and is located between the data access layer and the service interface layer; service interface layer code is responsible for the application's external interfaces, such as RESTful APIs, SOAP services, etc., and is the direct channel for the application to interact with external systems or users.

[0088] Optionally, in the application building method based on an integrated development platform provided in this embodiment of the invention, the step of generating a project code framework based on a data model using the code generation tool of the integrated development platform includes: selecting an initial framework template in the code generation tool based on the attribute structure and entity relationships of the data model; using the built-in template engine in the code generation tool to convert the data model into data entity classes, database access objects, business logic code segments, and controller code segments; and filling the data entity classes, database access objects, business logic code segments, and controller code segments into the initial framework template to obtain the project code framework.

[0089] It should be noted that the attribute structure and entity relationships of a data model are a way to describe the application data structure, typically including entities (such as users, orders, products, etc.) and their attributes (such as username, order ID, product price, etc.), as well as the relationships between entities (such as one-to-many, many-to-many, etc.). In this embodiment of the invention, the data model is used to guide the code generation tool in generating a matching project code framework.

[0090] Selecting an initial framework template refers to choosing a code architecture template that meets the project's requirements before code generation. The template may include the project's directory structure, code file naming conventions, and a basic framework of classes and methods. After selecting a template, the code generation tool will generate specific code based on this template and the data model.

[0091] The built-in template engine in a code generation tool is part of the tool used to convert data models into code. Based on a selected framework template and data model, it dynamically generates code that meets project requirements. Template engines typically support variable substitution and conditional logic, enabling the generation of complex and customized code structures.

[0092] The data model is transformed into concrete code segments, including data entity classes, database access objects (DAOs), business logic code, and controller code. This process is completed by code generation tools, ensuring consistency between the code and the data model, reducing the amount of manual coding work, and improving development efficiency.

[0093] Optionally, in the application building method based on the integrated development platform provided in the embodiments of the present invention, the data entity class is used to reflect the data fields and field relationships in the data model; the database access object is responsible for the add, delete, query and modify operations of all data fields; the business logic code segment is used to execute business logic; and the controller code segment is used to receive and respond to external requests.

[0094] It's important to note that data entity classes are a crucial component of the data model, encapsulating information about each table or collection in the database. In Java, an entity class is typically a POJO (Plain Old Java Object) containing entity attributes (corresponding to database fields), a constructor, and getter and setter methods. For example, in an e-commerce application, an order entity class might contain attributes such as order ID, order time, total amount, and buyer ID, along with methods for manipulating these attributes.

[0095] The Database Access Object (DAO) is responsible for database interactions, including CRUD (Create, Read, Query, Update) operations. In development platforms, the DAO layer is typically implemented using frameworks such as Spring Data JPA or MyBatis. These frameworks provide rich query APIs and CRUD (Create, Read, Update, Delete) operation templates, simplifying the writing of database operation code. The DAO object not only executes SQL statements but also processes the result sets returned by the database, converting them into instances of data entity classes.

[0096] The business logic code segment is the "brain" of an application; it determines how the application responds to requests from users or external systems. This part of the code handles complex calculations, data processing, calls to other services, transaction management, and other business logic. For example, in an online banking system, the transfer business logic code segment might include steps such as verifying the user's balance, deducting funds from the sender's account, adding funds to the recipient's account, and recording transaction history.

[0097] The controller code segment is located at the outermost layer of the application. It is responsible for receiving HTTP requests, parsing request parameters, calling business logic code segments to process business logic, and then returning the results to the client in the form of an HTTP response.

[0098] Step S204: Start the deployment process of the integrated development platform, deploy the project based on the project code framework, and obtain the target application instance.

[0099] Specifically, the deployment process of an integrated development platform (IDE) is a combination of automated and semi-automated steps designed to transform the developed project code framework into a target application instance running in a production environment. This process typically includes code building, integration testing, packaging, deployment to a server or container, application startup, and runtime monitoring.

[0100] Specifically: code building refers to using build tools such as Maven to compile the source code according to the configuration in the POM file, execute unit tests, and package it into an executable package in JAR or WAR format; integration testing refers to automatically executing integration test scripts to verify the interaction logic between different components and ensure that the overall application functions normally; configuration loading refers to automatically loading the application's configuration files before deployment, including runtime configurations such as data sources, service ports, and log levels; containerized deployment refers to packaging the application into a Docker image, which facilitates consistent deployment across different cloud environments or physical servers; application startup refers to starting the application instance through management scripts or container orchestration tools, listening on a specified port, and starting to receive network requests; runtime monitoring refers to automatically connecting to the platform's monitoring system after deployment to collect application runtime metrics such as CPU utilization, memory usage, and request response time to ensure stable application operation.

[0101] Optionally, in the application building method based on the integrated development platform provided in the embodiments of the present invention, the steps of initiating the deployment process of the integrated development platform, deploying the project based on the project code framework, and obtaining the target application instance include: compiling the source code in the project code framework into bytecode, and packaging the bytecode to obtain the project software package; the application deployment process deploys the project software package to the target server and runs the project software package to obtain the target application instance.

[0102] It's important to note that compiling source code into bytecode is a crucial step in the software deployment process, especially for Java applications. The compilation process transforms source code into bytecode, an intermediate code between source code and machine code that can run on a virtual machine. In Java, this process is typically performed by the Javac compiler, generating bytecode files ending in .class, which can be interpreted and executed by the JVM (Java Virtual Machine).

[0103] A project package is a collection of compiled bytecode and related resources (such as configuration files and static resources), serving as the carrier for application deployment. In Java applications, the package may be a JAR (Java Archive) or WAR (Web Application Archive) file. A JAR file contains all the classes and dependent libraries required for the application to run, while a WAR file, primarily used for web applications, contains the web application's directory structure and related files.

[0104] Through steps S201 to S204 above, the target application project can be initialized based on application requirements in the integrated development platform, and the corresponding data model can be built. Then, in the root directory of the target application project, the project dependencies can be configured based on application requirements, and the data model can be adjusted based on the project dependencies. The project dependencies include: platform general dependencies, core module dependencies, and business component dependencies. Then, the code generation tool of the integrated development platform is used to generate the project code framework based on the data model. The project code framework includes: data entity code, data access layer code, business logic layer code, and service interface layer code. Finally, the deployment process of the integrated development platform is started, and the project is deployed based on the project code framework to obtain the target application instance.

[0105] In this embodiment of the invention, a combination of componentization and microservices is adopted. By using automated code generation and integrated deployment processes, the goal of significantly improving code reusability and simplifying the development process is achieved. This results in significantly improving development efficiency, ensuring software quality and system stability, and thus solving the technical problems of low code reusability and cumbersome development processes in enterprise software application development, which lead to low development efficiency.

[0106] Specifically, in the integrated development platform, the present invention rapidly initializes the target application project and builds a data model based on application requirements, incorporating the configuration of platform general dependencies, core module dependencies, and business component dependencies, ensuring that the project has high compatibility and scalability from the start-up stage. Subsequently, with the help of the platform's built-in code generation tool, the project code framework is automatically generated in combination with the data model, covering multiple key aspects such as data entity code, data access layer code, business logic layer code, and service interface layer code, which greatly reduces the workload of manual coding and improves the standardization and automation level of development.

[0107] This invention also employs a deployment process unique to integrated development platforms, which not only automates the conversion of generated project code frameworks into runnable application instances but also integrates advanced functions such as health checks and performance monitoring, ensuring the smooth startup and stable operation of application instances. Through the above implementation, this invention not only solves the long-standing problem of low development efficiency plaguing enterprises but, more importantly, opens up a new path for enterprise software development. By using component-based design and the application of automation tools, it significantly improves the collaborative efficiency of development teams and reduces maintenance costs.

[0108] The invention will now be described in conjunction with another alternative embodiment.

[0109] Example 2

[0110] This invention also provides an application building apparatus based on an integrated development platform. It should be noted that the application building apparatus based on an integrated development platform in this invention includes multiple implementation units, which can be used to execute the application building method based on an integrated development platform provided in Embodiment 1 above. Each implementation unit corresponds to each implementation step in Embodiment 1 above.

[0111] Figure 3 This is a schematic diagram of an optional application building apparatus based on an integrated development platform according to an embodiment of the present invention, such as... Figure 3 As shown, the device may include: a construction unit 31, a configuration unit 32, a generation unit 33, and a deployment unit 34.

[0112] Among them, the construction unit 31 is used to initialize the target application project based on application requirements and construct the data model corresponding to the target application project in the integrated development platform.

[0113] Configuration unit 32 is used to configure project dependencies based on application requirements in the root directory of the target application project, and to adjust the data model based on the project dependencies. The project dependencies include: platform general dependencies, core module dependencies, and business component dependencies.

[0114] The generation unit 33 is used to generate a project code framework based on the data model using the code generation tool of the integrated development platform. The project code framework includes: data entity code, data access layer code, business logic layer code, and service interface layer code.

[0115] Deployment unit 34 is used to initiate the deployment process of the integrated development platform, deploy the project based on the project code framework, and obtain the target application instance.

[0116] The aforementioned application building device based on the integrated development platform can first initialize the target application project in the integrated development platform based on application requirements through the building unit 31, and build the corresponding data model of the target application project. Then, through the configuration unit 32, the project dependencies are configured in the root directory of the target application project based on application requirements, and the data model is adjusted based on the project dependencies. The project dependencies include: platform general dependencies, core module dependencies, and business component dependencies. Then, through the generation unit 33, the code generation tool of the integrated development platform is used to generate the project code framework based on the data model. The project code framework includes: data entity code, data access layer code, business logic layer code, and service interface layer code. Finally, through the deployment unit 34, the deployment process of the integrated development platform is started, and the project is deployed based on the project code framework to obtain the target application instance.

[0117] In this embodiment of the invention, a combination of componentization and microservices is adopted. By using automated code generation and integrated deployment processes, the goal of significantly improving code reusability and streamlining the development process is achieved. This results in significantly improving development efficiency and ensuring software quality and system stability. In turn, it solves the technical problems of low code reusability and cumbersome development processes in enterprise software application development, which lead to low development efficiency.

[0118] Specifically, in the integrated development platform, the present invention rapidly initializes the target application project and builds a data model based on application requirements, incorporating the configuration of platform general dependencies, core module dependencies, and business component dependencies, ensuring that the project has high compatibility and scalability from the start-up stage. Subsequently, with the help of the platform's built-in code generation tool, the project code framework is automatically generated in combination with the data model, covering multiple key aspects such as data entity code, data access layer code, business logic layer code, and service interface layer code, which greatly reduces the workload of manual coding and improves the standardization and automation level of development.

[0119] This invention also employs a deployment process unique to integrated development platforms, which not only automates the conversion of generated project code frameworks into runnable application instances but also integrates advanced functions such as health checks and performance monitoring, ensuring the smooth startup and stable operation of application instances. Through the above implementation, this invention not only solves the long-standing problem of low development efficiency plaguing enterprises but, more importantly, opens up a new path for enterprise software development. By using component-based design and the application of automation tools, it significantly improves the collaborative efficiency of development teams and reduces maintenance costs.

[0120] Furthermore, the construction unit includes: an analysis module, used to analyze application requirements and obtain analysis results, wherein the analysis results record the basic attribute information and functional requirement information of the target application, including data requirements and business logic requirements; a creation module, used to use the project generation tool of the integrated development platform to select a target application template based on the basic attribute information, and to create a target application project by combining the basic attribute information and the target application template; a construction module, used to use an entity-relationship diagram design strategy to build a data model based on data requirements, business logic requirements, and the target application project; and a storage module, used to store the data model in the configuration directory of the target application project.

[0121] Furthermore, the integrated development platform has pre-configured global attribute settings and dependency management strategies. The configuration unit includes: a first identification module, used to identify the dependency requirements of the target application project based on the functional requirement information indicated by the application requirements, wherein the dependency requirements at least describe the technology stack, framework, components, and corresponding implementation versions required by the project; a generation module, used to generate a project object model in the root directory of the target application project; an update module, used to update the dependency descriptions in the project object model based on the pre-configured global attribute settings and dependency management strategies of the integrated development platform to obtain the project dependency relationships; and a synchronization module, used to synchronize the configured project dependency relationships with the pre-configured dependency management strategies using the dependency management tools of the integrated development platform.

[0122] Furthermore, the configuration unit also includes: a second identification module, used to identify the first requirement of the general technology stack for the data model by analyzing the dependency descriptions corresponding to the general platform dependencies; a third identification module, used to identify the second requirement of the functional components in the core framework for the data model by analyzing the dependency descriptions corresponding to the core module dependencies; a fourth identification module, used to identify the third requirement of the business components for the data model by analyzing the dependency descriptions corresponding to the business component dependencies; and an adjustment module, used to adjust the data model by combining the first, second, and third requirements, wherein the adjustment strategy includes at least one of the following: modifying data type, adding or deleting fields, adjusting entity relationships, and adjusting index structure.

[0123] Furthermore, the generation unit includes: a selection module, used to select an initial framework template in the code generation tool based on the attribute structure and entity relationships of the data model; a transformation module, used to convert the data model into data entity classes, database access objects, business logic code segments, and controller code segments using the built-in template engine in the code generation tool; and a population module, used to populate the data entity classes, database access objects, business logic code segments, and controller code segments into the initial framework template to obtain the project code framework.

[0124] Furthermore, the data entity class is used to reflect the data fields and field relationships in the data model; the database access object is responsible for adding, deleting, querying, and modifying all data fields; the business logic code segment is used to execute business logic; and the controller code segment is used to receive and respond to external requests.

[0125] Furthermore, the deployment unit includes: a compilation module, used to compile the source code in the project code framework into bytecode, and package the bytecode to obtain a project software package; and a runtime module, used in the application deployment process to deploy the project software package to the target server and run the project software package to obtain a target application instance.

[0126] It should be noted that the aforementioned construction unit 31, configuration unit 32, generation unit 33, and deployment unit 34 correspond to steps S201 to S204 in Embodiment 1. The instances and application scenarios implemented by the aforementioned units and corresponding steps are the same, but are not limited to the content disclosed in Embodiment 1. It should be noted that the aforementioned modules or units may be hardware or software components stored in memory (e.g., memory 104) and processed by one or more processors (e.g., processors 102a, 102b, ..., 102n). The aforementioned modules or units may also be part of a device and can run in the computer terminal 10 provided in Embodiment 1.

[0127] The invention will now be described in conjunction with another alternative embodiment.

[0128] Example 3

[0129] The present invention can also provide an electronic device. Figure 4 This is a structural block diagram of an electronic device that executes an application building method based on an integrated development platform according to an embodiment of the present invention, such as... Figure 4 As shown, the electronic device may include: one or more ( Figure 4 (Only one is shown) processor 402, memory 404, memory controller, and peripheral interface, wherein the peripheral interface is connected to the radio frequency module, audio module and display.

[0130] The memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the application building method and apparatus based on the integrated development platform in this application embodiment. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, thereby realizing the aforementioned application building method based on the integrated development platform. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory remotely located relative to the processor, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0131] The processor can access information and applications stored in memory via a transmission device to execute the following steps: In the integrated development platform, initialize the target application project based on application requirements and construct the corresponding data model for the target application project; In the root directory of the target application project, configure project dependencies based on application requirements and adjust the data model based on project dependencies, where project dependencies include: platform general dependencies, core module dependencies, and business component dependencies; Using the code generation tool of the integrated development platform, generate a project code framework based on the data model, where the project code framework includes: data entity code, data access layer code, business logic layer code, and service interface layer code; Start the deployment process of the integrated development platform, deploy the project based on the project code framework, and obtain the target application instance.

[0132] The processor can also access information and applications stored in memory via a transmission device to perform the following steps: analyze application requirements to obtain analysis results, wherein the analysis results record the basic attribute information and functional requirement information of the target application, including data requirements and business logic requirements; use the project generation tool of the integrated development platform to select a target application template based on the basic attribute information, and create a target application project by combining the basic attribute information and the target application template; adopt an entity-relationship diagram design strategy to build a data model based on data requirements, business logic requirements, and the target application project; and store the data model in the configuration directory of the target application project.

[0133] The processor can also access information and applications stored in memory via a transmission device to perform the following steps: identify the dependency requirements of the target application project based on the functional requirement information indicated by the application requirements, wherein the dependency requirements at least describe the technology stack, framework, components and corresponding implementation versions required by the project; generate a project object model in the root directory of the target application project; update the dependency descriptions in the project object model based on the global attribute configuration and dependency management strategy pre-set by the integrated development platform to obtain the project dependency relationship; and synchronize the configured project dependency relationship with the pre-set dependency management strategy using the dependency management tool of the integrated development platform.

[0134] The processor can also invoke information and applications stored in memory via a transmission device to perform the following steps: by analyzing the dependency descriptions corresponding to the platform's general dependencies, identify the first requirement of the general technology stack for the data model; by analyzing the dependency descriptions corresponding to the core module dependencies, identify the second requirement of the functional components in the core framework for the data model; by analyzing the dependency descriptions corresponding to the business component dependencies, identify the third requirement of the business components for the data model; and adjust the data model by combining the first, second, and third requirements, wherein the adjustment strategy includes at least one of the following: modifying data types, adding or deleting fields, adjusting entity relationships, or adjusting the index structure.

[0135] The processor can also invoke information and applications stored in the memory via the transmission device to perform the following steps: based on the attribute structure and entity relationships of the data model, select an initial framework template in the code generation tool; use the built-in template engine in the code generation tool to convert the data model into data entity classes, database access objects, business logic code segments, and controller code segments; populate the data entity classes, database access objects, business logic code segments, and controller code segments into the initial framework template to obtain the project code framework.

[0136] The processor can also access information and applications stored in memory via a transmission device to perform the following steps: compiling the source code in the project code framework into bytecode, and packaging the bytecode to obtain a project software package; the application deployment process deploys the project software package to the target server and runs the project software package to obtain a target application instance.

[0137] This invention provides an application building scheme based on an integrated development platform. By combining componentization and microservices, and through automated code generation and integrated deployment processes, it significantly improves code reusability and streamlines the development process. This results in significantly improved development efficiency, ensured software quality and system stability, and solves the technical problems of low code reusability, cumbersome development processes, and low development efficiency in enterprise software application development.

[0138] Those skilled in the art will understand that Figure 4 The structure shown is for illustrative purposes only. Electronic devices can also be smartphones, tablets, handheld computers, mobile internet devices (MIDs), PADs, and other terminal devices. Figure 4 This does not limit the structure of the aforementioned electronic device. For example, electronic devices may also include components that are more... Figure 4 The more or fewer components shown (such as network interfaces, display devices, etc.), or having the same Figure 4The different configurations shown.

[0139] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0140] The invention will now be described in conjunction with another alternative embodiment.

[0141] Example 4

[0142] This invention also provides a computer-readable storage medium. Optionally, in this invention, the computer-readable storage medium can be used to store the program code executed by the application building method based on the integrated development platform provided in Embodiment 1.

[0143] Optionally, in this embodiment of the invention, the storage medium may be located in any computer terminal in a group of computer terminals in a computer network, or in any mobile terminal in a group of mobile terminals.

[0144] This invention also provides a computer program product, which, when executed on a data processing device, is suitable for executing the application building method steps based on an integrated development platform: In the integrated development platform, a target application project is initialized based on application requirements, and a data model corresponding to the target application project is constructed; in the root directory of the target application project, project dependencies are configured based on application requirements, and the data model is adjusted based on these dependencies, wherein the project dependencies include: platform general dependencies, core module dependencies, and business component dependencies; using the code generation tool of the integrated development platform, a project code framework is generated based on the data model, wherein the project code framework includes: data entity code, data access layer code, business logic layer code, and service interface layer code; the deployment process of the integrated development platform is initiated, and the project is deployed based on the project code framework to obtain a target application instance.

[0145] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0146] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0147] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.

[0148] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0149] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0150] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.

[0151] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. An application building method based on an integrated development platform, characterized in that, include: In the integrated development platform, the target application project is initialized based on application requirements, and the data model corresponding to the target application project is constructed. In the root directory of the target application project, configure project dependencies based on the application requirements, and adjust the data model based on the project dependencies. The project dependencies include: platform general dependencies, core module dependencies, and business component dependencies. Using the code generation tool of the integrated development platform, a project code framework is generated based on the data model. The project code framework includes: data entity code, data access layer code, business logic layer code, and service interface layer code. Initiate the deployment process of the integrated development platform, deploy the project based on the project code framework, and obtain the target application instance.

2. The application construction method according to claim 1, characterized in that, In an integrated development platform, the steps of initializing a target application project based on application requirements and constructing the corresponding data model for the target application project include: The analysis results are obtained by analyzing the application requirements. The analysis results record the basic attribute information and functional requirement information of the target application. The functional requirement information includes data requirements and business logic requirements. Using the project generation tool of the integrated development platform, a target application template is selected based on the basic attribute information, and the target application project is created by combining the basic attribute information and the target application template; The data model is constructed based on the data requirements, the business logic requirements, and the target application project using an entity relationship diagram design strategy. The data model is stored in the configuration directory of the target application project.

3. The application construction method according to claim 1, characterized in that, The integrated development platform has pre-defined global attribute configurations and dependency management strategies. The steps for configuring project dependencies based on application requirements in the root directory of the target application project include: Based on the functional requirement information indicated by the application requirements, the dependency requirements of the target application project are identified, wherein the dependency requirements at least describe the technology stack, framework, components and corresponding implementation versions required by the project; Generate a project object model in the root directory of the target application project; Based on the global attribute configuration and dependency management strategy pre-set in the integrated development platform, the dependency description is updated in the project object model to obtain the project dependency relationship; The dependency management tool of the integrated development platform is used to synchronize the configured project dependencies with the pre-defined dependency management strategy.

4. The application construction method according to claim 3, characterized in that, The steps for adjusting the data model based on project dependencies include: By analyzing the dependency descriptions corresponding to the platform's general dependencies, the first requirement of the general technology stack for the data model is identified. By analyzing the dependency descriptions corresponding to the core module dependencies, the second requirement of the functional components in the core framework for the data model is identified. By analyzing the dependency descriptions corresponding to the business component dependencies, the third requirement of the business component for the data model is identified; The data model is adjusted in combination with the first requirement, the second requirement, and the third requirement, wherein the adjustment strategy includes at least one of the following: modifying the data type, adding or deleting fields, adjusting entity relationships, and adjusting the index structure.

5. The application construction method according to claim 1, characterized in that, The steps of generating a project code framework based on the data model using the code generation tool of the integrated development platform include: Based on the attribute structure and entity relationships of the data model, an initial framework template is selected in the code generation tool; Using the built-in template engine in the code generation tool, the data model is converted into data entity classes, database access objects, business logic code segments, and controller code segments; The data entity class, the database access object, the business logic code segment, and the controller code segment are filled into the initial framework template to obtain the project code framework.

6. The application construction method according to claim 5, characterized in that, The data entity class is used to reflect the data fields and field relationships in the data model; the database access object is responsible for the add, delete, query, and modify operations of all the data fields; the business logic code segment is used to execute business logic; and the controller code segment is used to receive and respond to external requests.

7. The application construction method according to claim 1, characterized in that, The steps of initiating the deployment process of the integrated development platform, deploying the project based on the project code framework, and obtaining the target application instance include: Compile the source code in the project code framework into bytecode, and package the bytecode to obtain the project software package; The project software package is deployed to the target server using the deployment process described above, and the project software package is run to obtain the target application instance.

8. An application building device based on an integrated development platform, characterized in that, include: The building unit is used to initialize a target application project based on application requirements and build the data model corresponding to the target application project in the integrated development platform. The configuration unit is used to configure project dependencies based on the application requirements in the root directory of the target application project, and to adjust the data model based on the project dependencies. The project dependencies include: platform general dependencies, core module dependencies, and business component dependencies. The generation unit is used to generate a project code framework based on the data model using the code generation tool of the integrated development platform. The project code framework includes: data entity code, data access layer code, business logic layer code, and service interface layer code. The deployment unit is used to initiate the deployment process of the integrated development platform, deploy the project based on the project code framework, and obtain the target application instance.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform the application building method based on an integrated development platform as described in any one of claims 1 to 7.

10. An electronic device, characterized in that, It includes one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the application building method based on an integrated development platform as described in any one of claims 1 to 7.

11. A computer program product, characterized in that, It includes computer instructions, wherein when executed by a processor, the computer instructions implement the steps of the application building method based on an integrated development platform as described in any one of claims 1 to 7.