CN118312143A - Construction method and device of application development framework, computer equipment and storage medium - Google Patents

Construction method and device of application development framework, computer equipment and storage medium Download PDF

Info

Publication number
CN118312143A
CN118312143A CN202410410582.4A CN202410410582A CN118312143A CN 118312143 A CN118312143 A CN 118312143A CN 202410410582 A CN202410410582 A CN 202410410582A CN 118312143 A CN118312143 A CN 118312143A
Authority
CN
China
Prior art keywords
target
development framework
application development
service
model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410410582.4A
Other languages
Chinese (zh)
Inventor
李伟彬
林琳
王佩仙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Kingdee Tianyanyun Computing Co ltd
Original Assignee
Shenzhen Kingdee Tianyanyun Computing Co ltd
Filing date
Publication date
Application filed by Shenzhen Kingdee Tianyanyun Computing Co ltd filed Critical Shenzhen Kingdee Tianyanyun Computing Co ltd
Publication of CN118312143A publication Critical patent/CN118312143A/en
Pending legal-status Critical Current

Links

Abstract

The present application relates to a method, an apparatus, a computer device, a storage medium, and a computer program product for constructing an application development framework. The method comprises the following steps: acquiring service requirements; acquiring a development framework model, inputting service requirements into the development framework model, and determining a target application development framework corresponding to the service requirements through the development framework model; determining configuration information of a target application development framework through a development framework model to obtain a configured target application development framework; determining a target object corresponding to the business requirement through a development framework model, wherein the target object is suitable for a configured target application development framework; determining a target method corresponding to the business requirement through a development framework model, wherein the target method is matched with a configured target application development framework and a target object; and generating a target response corresponding to the service requirement through a target method. The method can be used for efficiently and accurately constructing and configuring the application development framework.

Description

Construction method and device of application development framework, computer equipment and storage medium
Technical Field
The present application relates to the field of artificial intelligence technology, and in particular, to a method, an apparatus, a computer device, a storage medium, and a computer program product for constructing an application development framework.
Background
In the application development process, on one hand, based on the application development frame to be selected, due to the limitation of the self business scene design, the corresponding application development frame is selected only in a single-layer and subjective manner according to business requirements, so that the applicability of the application development frame is limited.
On the other hand, based on the selected application development framework, due to the limitation of the configuration logic, the predefined configuration content needs to be selected and configured according to fixed flow and rules, so that the flexibility of the application development framework is limited.
Disclosure of Invention
In view of the foregoing, it is desirable to provide an application development framework construction method, apparatus, computer device, computer-readable storage medium, and computer program product that are capable of adaptively constructing an application development framework and flexibly configuring the constructed application development framework.
In a first aspect, the present application provides a method for constructing an application development framework, including:
Acquiring service requirements;
acquiring a development framework model, inputting the service requirement into the development framework model, and determining a target application development framework corresponding to the service requirement through the development framework model;
determining configuration information of the target application development framework through the development framework model to obtain a configured target application development framework;
determining a target object corresponding to the service requirement through the development framework model, wherein the target object is applicable to the configured target application development framework;
Determining a target method corresponding to the service requirement through the development framework model, wherein the target method is matched with the configured target application development framework and the target object;
And generating a target response corresponding to the service requirement through the target method.
In one embodiment, after the acquiring the service requirement, the method further includes: identifying a service field corresponding to the service requirement; determining a domain-specific language corresponding to the business domain; wherein the domain-specific language represents a language designed according to concepts and rules in the corresponding business domain; and mapping the information in the service requirement to concepts and grammar structures in the domain-specific language to obtain the service requirement described based on the domain-specific language.
In one embodiment, the determining, by the development framework model, a target application development framework corresponding to the service requirement includes: obtaining at least one candidate application development framework corresponding to the service requirement through the development framework model, wherein different candidate application development frameworks are provided with corresponding evaluation results based on preset evaluation indexes; and determining the target application development frames in the different candidate application development frames according to the evaluation results corresponding to the different candidate application development frames.
In one embodiment, before the acquiring and developing the frame model, the method further includes: acquiring a plurality of historical service demands of the same target type, and an application development framework, configuration information, a target object and a target method respectively corresponding to the plurality of historical service demands; the historical business demands represent business demands acquired at historical moments, and the historical business demands of the same target type represent business demands comprising matched business logic; determining the logic association relationship among the application development framework, the configuration information, the target object and the target method corresponding to the same historical service requirement, and integrating the logic association relationship corresponding to the historical service requirements respectively; and determining model parameters corresponding to the development framework model when the development framework is configured for the service demands belonging to the target type based on the integrated logic association relation.
In one embodiment, after determining the model parameters corresponding to the development framework model when the development framework model performs development framework configuration for the service requirements belonging to the target type, the method further includes: acquiring a first reference response generated at a historical moment according to the historical service demand; acquiring a second reference response corresponding to the historical service demand based on the model parameters of the development framework model; if the first reference response and the second reference response are matched, the development framework model is used as a trained development framework model; if not, the model parameters are redetermined.
In one embodiment, before the generating, by the target method, a response corresponding to the service requirement, the method further includes: acquiring a plurality of reference service requirements which belong to the same type as the service requirements; determining range conditions corresponding to the multiple reference service demands based on configuration information, target objects and target methods corresponding to the multiple reference service demands; detecting configuration information, a target object and a target method corresponding to the service requirement through corresponding range conditions respectively; if the target information corresponding to the service requirement does not meet the range condition, generating alarm information corresponding to the target information which does not meet the range condition; the target information includes configuration information, target objects, and target methods.
In a second aspect, the present application further provides a device for constructing an application development framework, including:
the acquisition module is used for acquiring the service requirement;
the first determining module is used for acquiring a development framework model, inputting the service requirement into the development framework model, and determining a target application development framework corresponding to the service requirement through the development framework model;
The second determining module is used for determining configuration information of the target application development framework through the development framework model to obtain a configured target application development framework;
a third determining module, configured to determine, through the development framework model, a target object corresponding to the service requirement, where the target object is applicable to the configured target application development framework;
A fourth determining module, configured to determine, by using the development framework model, a target method corresponding to the service requirement, where the target method is matched with the configured target application development framework and the target object;
And the response module is used for generating a target response corresponding to the service requirement through the target method.
In a third aspect, the present application also provides a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
Acquiring service requirements;
acquiring a development framework model, inputting the service requirement into the development framework model, and determining a target application development framework corresponding to the service requirement through the development framework model;
determining configuration information of the target application development framework through the development framework model to obtain a configured target application development framework;
determining a target object corresponding to the service requirement through the development framework model, wherein the target object is applicable to the configured target application development framework;
Determining a target method corresponding to the service requirement through the development framework model, wherein the target method is matched with the configured target application development framework and the target object;
And generating a target response corresponding to the service requirement through the target method.
In a fourth aspect, the present application also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
Acquiring service requirements;
acquiring a development framework model, inputting the service requirement into the development framework model, and determining a target application development framework corresponding to the service requirement through the development framework model;
determining configuration information of the target application development framework through the development framework model to obtain a configured target application development framework;
determining a target object corresponding to the service requirement through the development framework model, wherein the target object is applicable to the configured target application development framework;
Determining a target method corresponding to the service requirement through the development framework model, wherein the target method is matched with the configured target application development framework and the target object;
And generating a target response corresponding to the service requirement through the target method.
In a fifth aspect, the application also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of:
Acquiring service requirements;
acquiring a development framework model, inputting the service requirement into the development framework model, and determining a target application development framework corresponding to the service requirement through the development framework model;
determining configuration information of the target application development framework through the development framework model to obtain a configured target application development framework;
determining a target object corresponding to the service requirement through the development framework model, wherein the target object is applicable to the configured target application development framework;
Determining a target method corresponding to the service requirement through the development framework model, wherein the target method is matched with the configured target application development framework and the target object;
And generating a target response corresponding to the service requirement through the target method.
The method, the device, the computer equipment, the storage medium and the computer program product for constructing the application development framework are characterized in that on one hand, the business requirements are processed through the data processing process corresponding to the development framework model so as to accurately and adaptively construct the corresponding target application development framework; on the other hand, the corresponding configuration content is automatically, coherently and flexibly configured for the constructed target application development framework by developing the framework model; based on the above, according to the applicable target application development framework and the corresponding flexibly configured content, the response corresponding to the service requirement is efficiently and accurately generated.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the related art, the drawings that are required to be used in the embodiments or the related technical descriptions will be briefly described, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art.
FIG. 1 is a flow diagram of a method of building an application development framework in one embodiment;
FIG. 2 is a flow diagram of one embodiment for deriving business requirements described based on a domain-specific language;
FIG. 3 is a block diagram of an apparatus for building an application development framework in one embodiment;
Fig. 4 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
In one embodiment, as shown in fig. 1, a method for constructing an application development framework is provided, where the method is applied to a server for illustration, it is understood that the method may also be applied to a terminal, and may also be applied to a system including the terminal and the server, and implemented through interaction between the terminal and the server. In this embodiment, the method includes the following steps S102 to S112, wherein:
step S102, obtaining service requirements.
Wherein, the business requirement represents information describing business functions to be realized or business requirements to be satisfied; business requirements may represent requirements or demands in terms of a range of functions, capabilities, security, user experience, etc. involved in the development of a system or application.
The business requirements are illustratively received by the computer device. The business requirement may represent a requirement description written in text form, which may be described by simple sentences and paragraphs on one hand, and by detailed documents, such as requirement specifications, use case descriptions, and the like on the other hand. The business requirements may also represent requirements descriptions organized and recorded in the form of tables in which various requirement items, such as information about specific functions of the requirements, priorities of the requirements, processing states of the requirements, etc., may be more structurally and clearly described. The business requirements may also represent requirements descriptions organized and recorded in a graphical manner to more intuitively demonstrate relationships between business processes and functions, such as use case diagrams, flowcharts, state diagrams, and the like.
Alternatively, the business requirements may represent functional requirements, i.e., specific functions or features that the system or application needs to implement, such as user login, data retrieval, report generation, etc. Business requirements may represent performance requirements, i.e., requirements describing the performance of a system or application in performing a particular function, such as in terms of response time, throughput, number of concurrent users, etc. of the system.
Alternatively, the traffic demand may represent a security demand, i.e. a threat related to protecting data and functions in a system or application from unauthorized access, malicious attacks or data leakage, such as user authentication, data encryption, access control, etc. Business requirements may represent user experience requirements, i.e., requirements corresponding to the user experience of the system or application of interest, such as requirements in terms of interface design, interaction flow, response speed, etc. Business requirements may represent data requirements, i.e., requirements describing aspects of processing, storing, managing, etc., of data, such as data format, data integrity, data backup, etc., by a system or application.
Step S104, a development framework model is obtained, the service requirements are input into the development framework model, and a target application development framework corresponding to the service requirements is determined through the development framework model.
Wherein the application development framework (ADF, application Development Framework) represents a series of tools, libraries, and specifications that are used to implement the development process of an application; the application development framework can be used for realizing development of various types of software and applications, such as webpage application development, mobile application development, desktop application development and the like; in addition, the application development framework may also be used to implement development of various types of programs, such as for developing various types of service programs (e.g., data storage, authentication, file transfer, etc.), for developing various types of tool programs (e.g., command line tools, system management tools, data processing tools, etc.), for developing various types of libraries (e.g., function libraries, component libraries, plug-in libraries, etc.), for developing other types of frameworks (e.g., web frameworks, test frameworks, data processing frameworks, etc.).
Wherein the development framework model represents a model for building and configuring an application development framework that defines configuration specifications and standards for the application development framework to enable automated, adaptive configuration of the application development framework in accordance with the defined configuration specifications and standards.
Illustratively, determining the target application development framework corresponding to the service requirement through the development framework model may represent analyzing the type of the input service requirement through the development framework model, for example, judging whether the service requirement belongs to a functional requirement type, a performance requirement type or a security requirement type, so as to determine the target application development framework matched with the service requirement of the type.
Optionally, the matched application development framework can be determined according to the service scene corresponding to the service requirement: if the business requirements involve complex business logic, large-scale data processing, or high concurrency, an application development framework is determined that can handle such high complexity or high-scale issues. If the business requirements need to be frequently expanded and modified or integrated with other systems, an application development framework with good scalability and flexibility is determined. If the business requirements need to be deployed to a specific cloud platform or an automated operation and maintenance needs to be realized, an application development framework which is compatible with the target deployment environment and provides corresponding operation and maintenance support is determined. If the business requirements require external support and resources, an application development framework with active community and rich ecosystem support is determined.
Illustratively, the development framework model may be implemented based on AIGC (ARTIFICIAL INTELLIGENCE GENERATED Content, artificial intelligence technology-generated Content), i.e., by AIGC technology to assist in the creation and optimization of the development framework model. In AIGC, two important components are involved, NLP (Natural Language Processing ) and NLG (Natural Language Generation, natural language generation); the NLP is used for understanding and processing natural language, and can extract information from texts, identify entities, understand semantics and the like; NLG is used for generating natural language text, and can automatically generate natural language text conforming to grammar and semantic rules according to given data or information.
Optionally, preprocessing is performed on the business requirements through NLP technology, including word segmentation, part-of-speech tagging, syntactic analysis, and the like, so as to facilitate subsequent semantic understanding and information extraction. Second, understanding the semantic and logical relationships in business requirements, identifying various types of requirements, such as functional requirements, performance requirements, security requirements, etc., groups and categorizes the different types of requirements for subsequent framework selection and configuration. Furthermore, extracting key information such as function description, operation requirement, data processing requirement, performance index, safety requirement and the like from service requirements to form structured requirement information; critical information such as specific technologies, functional modules, business processes, etc. is extracted from the business requirements to assist in determining the application development framework and configuration specifications applicable to the business requirements.
Optionally, through NLG technology, on one hand, according to the existing configuration specification and standard of the application development framework, automatically generating a configuration document, including description of configuration parameters, use examples, best practice suggestions and the like; on the other hand, personalized configuration suggestions can be generated according to real-time and actual configuration requirements, including configuration recommendations for specific scenes, optimization suggestions of configuration parameters, and the like. In addition, in the configuration process, explanatory text is generated to explain the reasons and the basis of configuration decisions so as to assist a user in understanding the background and meaning of the configuration.
And S106, determining configuration information of the target application development framework through the development framework model to obtain the configured target application development framework.
Wherein the configuration information represents various parameters, options, and settings to configure or customize the application development framework. The configured target application development framework representation is customized and adjusted for various parameters, options and settings of the target application development framework according to the resulting configuration information to obtain an application development framework that meets specific development requirements.
Illustratively, the framework is developed according to the selected target application and service requirements, and configuration specifications and standards of the framework are formulated, such as configuration requirements in terms of functional configuration, performance tuning, security setting, interface customization and the like of the framework are determined. And extracting configuration information required to be configured according to the standard of the configuration specification of the framework, wherein the configuration information comprises various parameters, options and settings of the framework. And constructing and configuring the target application development framework according to the extracted configuration information, such as modifying configuration files, setting parameters, adjusting options and the like, so that the target application development framework meets the configuration specification and service requirements.
Optionally, the configuration information may include functional configuration information for defining functions and features provided by the application development framework, such as functional options of the framework, module integration, plug-in management, and the like. The configuration information may include performance configuration information for improving performance and response speed of program or application development, such as performance tuning preference of a framework, resource management, concurrency control, and the like. The configuration information may include security configuration information for protecting program data or application data, as well as system security, such as security settings of the framework, access control, authentication and authorization, etc.
Optionally, the configuration information may include cache configuration information for defining cache data, such as cache space, cache expiration time, cache size limit, and the like. The configuration information may include log configuration information for recording running state, error information, and debug information, such as time stamps, log levels, message content, and the like.
Optionally, the configuration information may also include interface configuration information for designing and beautifying the user interface of the application, such as interface customization of the framework, theme style, layout management, and the like. The configuration information may also include database configuration information for managing data storage and access, such as integration of the framework with the database, data model definition, ORM (Object-Relational Mapping, object-relationship mapping) configuration, and so forth. The configuration information may also include network configuration information for enabling network communications and data transmission, such as network settings of the framework, protocol support, communication protocols, and the like.
Optionally, the configuration information may further include deployment configuration information for deploying the developed program or application into a different operating environment, such as a deployment option of a framework, an environment configuration, cloud service integration, and the like. The configuration information may also include monitoring configuration information for monitoring and debugging the running state of the program or application, such as logging of the framework, exception handling, performance monitoring, etc.
In step S108, a target object corresponding to the business requirement is determined by developing the framework model, and the target object is suitable for the configured target application development framework.
Wherein the target objects represent various entities used to describe the structure and function of the program during development of the program or application.
Illustratively, the generated target object is adapted to the configured target application development framework, for example, the target object is in butt joint with an interface of the target application development framework, and the code structure is adjusted in real time according to the actual requirement of the target application development framework so as to adapt to the current framework.
Optionally, determining a target object representation corresponding to the business requirement, determining a key entity or concept related to the business requirement, such as an object closely related to the business process, such as a user, a product, an order, a transaction, and the like, and determining an object supporting each step and link related to the business process, such as an object corresponding to a link, such as user management, product management, order management, transaction management, and the like, thereby determining a scope and responsibility of the target object. If the business requirement is already realized in the system, the current program component or object can be directly called or properly adjusted and expanded; if not, newly building an object or expanding the existing object to meet the requirement.
Alternatively, the target object may include a database connection object representing an entity for communicating and interacting with the database, corresponding to a method of performing database operations, such as configuring database connection information, performing database query and update operations, and the like. The target objects may include model objects representing entities associated with a data model corresponding to a program or application, corresponding to methods that describe the structure, behavior, and relationships of data in the data model, such as methods of defining the data processing of the data model. The target object may include a controller object representing an entity for processing the user's input, e.g., corresponding to a method of receiving a user's input request, invoking business logic for processing, returning the processing results to the user, etc.
Optionally, the target object may also include a view object representing an entity for building a user interaction interface to present data to the user and receive input from the user, such as a method of building, laying out, etc. corresponding interface elements. The target object may also include a tool object representing an entity encapsulating a generic function or tool function, which is shared and invoked to provide commonly used auxiliary functions, such as methods corresponding to date querying, encryption and decryption, file copying, etc. Top end of window body
In step S110, a target method corresponding to the business requirement is determined by developing a framework model, and the target method is matched with the configured target application development framework and the target object.
The target method represents actions or behaviors of the corresponding object; a method is defined as an object's behavior that describes actions that an object may take under certain circumstances.
Illustratively, in the configured target application development framework, a plurality of methods matching the target object are acquired based on the determined target object, and a target method corresponding to the business requirement is selected from the acquired plurality of methods.
Optionally, selecting a target method corresponding to the service requirement may mean that the function of the selected target method is ensured to match the service requirement, that the parameter of the selected target method is matched with the parameter required by the service requirement, that the return value of the selected target method meets the expected result of the service requirement, that the performance and efficiency of the selected target method are considered to meet the performance requirement of the service requirement, and that maintainability and expansibility of the selected target method are ensured so as to be modified or expanded.
Alternatively, the target methods may include database operating methods, business logic methods, view rendering methods. The database operation method is used for interacting with a database and executing various database operations, such as inquiring, inserting, updating, deleting data and the like; the business logic method is used for realizing business logic of programs or applications, such as data verification, execution of business rules, flow control and the like; view rendering methods are used to generate and present user interfaces or views of applications, such as converting business data into interface elements, etc., that a user can understand and interact with.
Step S112, generating a target response corresponding to the service requirement through a target method.
Wherein the target response represents a response or feedback made to the business requirements; the target response may represent content in the form of a dataset, a calculation result, a report, a message, etc., as well as instructions, programs, the application itself, or functions performed thereby.
The method comprises the steps of calling a target method corresponding to a target object, executing the operation defined in the target method after the target method is called, and generating a target response corresponding to the service requirement according to the execution result.
For example, where the target method involves querying a database, processing data, performing calculations, operations defined in the target method may represent retrieving data from the database, processing the data, performing specific calculation logic.
Optionally, after generating the target response corresponding to the service requirement, the response is transmitted to a display interface for display, or transmitted to a database for storage.
In the method for constructing the application development framework, on one hand, the business requirement is processed by the data processing process corresponding to the development framework model so as to accurately and adaptively construct the corresponding target application development framework; on the other hand, the corresponding configuration content is automatically, coherently and flexibly configured for the constructed target application development framework by developing the framework model; based on the above, according to the applicable target application development framework and the corresponding flexibly configured content, the response corresponding to the service requirement is efficiently and accurately generated.
Furthermore, in the process of application development, configuration contents of middleware including but not limited to configuration information, target objects, target methods and the like can be generated by developing a framework model, so that the efficiency of application development is improved efficiently, accurately and adaptively.
In an exemplary embodiment, as shown in fig. 2, after acquiring the service requirement, the method further includes steps S202 to S206, wherein:
Step S202, identify the business field corresponding to the business requirement.
The business field corresponding to the business requirement represents the industry or field related to the business requirement, such as business, education, entertainment and other industries or fields; further, the business field corresponding to the business requirement may represent a business process involved in a specific industry, for example, a business process involved in a business industry, such as product management, order management, payment management, etc.
Step S204, determining a domain-specific language corresponding to the business domain; wherein the domain-specific language represents a language designed according to concepts and rules in the corresponding business domain.
Where Domain-specific language (DSL-Specific Language) represents a language designed for a particular business Domain to better express concepts, rules, and logic within that business Domain, thereby making application development within that business Domain more efficient, flexible, and easy to understand.
Illustratively, domain-specific languages include grammar rules, semantic definitions, domain concepts, operations, and functions within a particular business domain; the language rules define allowed grammar structures and language elements in domain-specific languages, the semantic definitions describe the meaning and behavior of each language element, the domain concepts reflect proprietary concepts and thinking patterns in specific business domains, and the operations and functions describe business domain problems and business functions that can be solved.
It will be appreciated that domain-specific languages are designed for a particular business domain, focusing on the concepts and rules of that business domain, rather than the general programming concepts; the grammar and the semantics of the domain-specific language are generally closely related to the concept and the rule of the service domain, so that the service logic can be expressed more naturally and intuitively in the service domain; domain specific languages generally simplify grammar and semantics so that users can use and understand more easily, thereby improving development efficiency; the domain-specific language can be customized according to specific business requirements to meet the requirements and demands of different business domains.
Alternatively, domain-specific languages may describe domain concepts, rules, and operations in text form, such as SQL (Structured Query Language ) for business domains such as database queries, MATLAB for business domains such as mathematical computation and engineering applications. The domain-specific language may also describe domain concepts, rules, and operations in the form of graphical interfaces or graphical symbols, such as UML (Unified Modeling Language ) for business domains like software system modeling, labVIEW for business domains like design of control and measurement systems.
Step S206, mapping the information in the business requirement to the concept and grammar structure in the domain-specific language to obtain the business requirement described based on the domain-specific language.
Illustratively, information in the business requirements relating to business processes, business problems, and the like is identified, and entities, attributes, and operations corresponding to such information are defined through a domain-specific language, thereby enabling such information to be converted through concepts and grammatical structures in the domain-specific language to generate the business requirements described through the domain-specific language.
For example, identifying major business processes involved in business requirements, such as user management, merchandise management, order management, etc., analyzing major problems and functional points in business requirements, such as user registration, merchandise search, shopping cart management, etc.; defining entities in a domain-specific language, such as entities of users, goods, orders, etc.; defining attributes for each entity, such as user having user name, password, commodity having trade name, price, order having order number, time, etc.; operations are defined for each entity, such as user registration, merchandise search, add to shopping cart, etc.
In this embodiment, the service requirement is described by using the strictly defined grammar and semantics in the domain-specific language, so that the accuracy and precision of expressing the service requirement are improved, and the possibility of ambiguity and misunderstanding is reduced.
In an exemplary embodiment, determining a target application development framework corresponding to a business requirement by developing a framework model includes steps S302 to S304, wherein:
Step S302, at least one candidate application development framework corresponding to the business requirement is obtained through a development framework model, and different candidate application development frameworks are provided with corresponding evaluation results based on preset evaluation indexes.
Wherein the evaluation index represents a standard or metric method for evaluating the candidate application development framework; the evaluation index may represent a plurality of specific sets of metrics or indices for quantitatively or qualitatively evaluating.
Wherein, the evaluation result represents a conclusion or opinion obtained after evaluating the candidate application development framework; the evaluation result may represent information in the form of a score, a grade, or a suggestion, etc.
For example, at least one set of evaluation indexes for evaluating candidate application development frameworks is determined according to service requirements, and different candidate application development frameworks can obtain corresponding evaluation results based on each set of evaluation indexes respectively, or can obtain corresponding comprehensive evaluation results based on all evaluation indexes.
Optionally, the evaluation index may include a performance index for evaluating performance of the framework at runtime, such as response time, throughput, resource utilization, etc.; the evaluation index may include a reliability index for evaluating stability and reliability of the framework, such as failure rate, availability, recovery ability, etc.; the evaluation index may include a security index for evaluating the performance of the framework in protecting data and system security, such as the number of security vulnerabilities, the time of bug fixes, the degree of data encryption, etc.
Optionally, the evaluation index may further include a maintainability index for evaluating the ease of maintenance and modification of the framework, such as code complexity, code normalization, readability, etc.; the evaluation index may also include an extensibility index for evaluating the ability of the framework in coping with the change in demand and extending the functionality, such as extensibility, flexibility, degree of modularity, etc.; the evaluation index may also include a user experience index for evaluating the performance of the framework in terms of user experience, such as interface friendliness, interactive design, user satisfaction, and the like; the evaluation index may further include a development efficiency index for evaluating efficiency and convenience of the framework in the development process, such as a development cycle, a number of lines of code, a development tool support degree, and the like. The evaluation index may also include a community support index for evaluating the influence and reliability of the framework in the developer community, such as community liveness, document perfection, technical support level, and the like.
Step S304, determining a target application development framework in different candidate application development frameworks according to the evaluation results corresponding to the different candidate application development frameworks.
For example, according to the evaluation results corresponding to the different candidate application development frames, an optimal application development frame can be automatically selected from the different candidate application development frames to serve as a target application development frame; the evaluation results corresponding to different candidate application development frames can be displayed in the display interface, and the user selects the optimal application development frame as the target application development frame according to the different evaluation results.
In this embodiment, the applicable target application development frames are efficiently and multidimensional selected from different candidate application development frames by the evaluation indexes and the corresponding evaluation results.
In an exemplary embodiment, before acquiring the development framework model, the method further comprises steps S402 to S406, wherein:
Step S402, acquiring a plurality of historical service demands of the same target type, and an application development framework, configuration information, a target object and a target method respectively corresponding to the plurality of historical service demands; wherein the historical business requirements represent business requirements acquired at historical moments, and the historical business requirements of the same target type represent business requirements comprising matched business logic.
Wherein business logic represents specific business rules, flows, and operations involved in business requirements; the historical business requirements of the same target type can indicate that overlapping or similar business logic exists in different historical business requirements, and business processes corresponding to the business logic are the same or related.
For example, there are a series of historical business requirements, all of which relate to order management in the e-commerce field, and these historical business requirements may include adding orders, canceling orders, modifying orders, etc. associated business processes, and business logic corresponding to these business processes may overlap to a great extent, such as verification of order data, updating of status of processed orders, etc.
Step S404, determining the logic association relationship among the application development frame, the configuration information, the target object and the target method corresponding to the same historical service requirement, and integrating the logic association relationships corresponding to the historical service requirements.
Wherein logical associations represent logical associations or associations, e.g., data flows, control flows, dependencies, etc., that exist between different components, modules, or concepts that describe interactions and effects between the various parts.
In one historical service requirement, respectively combining the corresponding target application development framework, configuration information, target objects and target methods, and analyzing to obtain a plurality of logical association relations respectively corresponding to the combinations; and integrating the logic association relations of the plurality of combinations corresponding to the different historical service demands respectively to obtain the logic association relation corresponding to the same historical service demand and different configuration contents.
Step S406, determining model parameters corresponding to the development framework model when the development framework is configured for the service demands belonging to the target type based on the integrated logic association relationship.
Wherein the model parameters represent various parameters or options for configuring the development framework model for guiding the generation of target application development frameworks, configuration information, target objects and target methods corresponding to business requirements
For example, business requirements of the same target type may correspond to the same set of model parameters in the development framework model, and business requirements of different target types correspond to different sets of model parameters in the development framework model.
Optionally, the model parameters may include framework parameters for specifying the overall architecture of the configuration content, including organization, hierarchy, module partitioning, etc.; model parameters may include data access parameters for guiding interactions between configuration content and databases, such as database connection information, object relationship mapping configuration, etc.; the model parameters may include business logic parameters for specifying the implementation of business logic, such as business process definitions, business rule configurations, service layer organization structures, and the like.
Optionally, the model parameters may also include security parameters for ensuring the security of the development process, such as authentication configuration, rights management rules, encryption algorithm selection, etc.; model parameters may also include interface design parameters for configuring a user interface, such as interface layout, style, interaction behavior, etc.; the model parameters may also include performance optimization parameters for guiding performance optimization policies of the configuration content, such as cache setup, concurrent processing configuration, resource management, etc.; model parameters may also include extensibility parameters for specifying extension mechanisms and plug-in hierarchies for configuring content, such as plug-in management, extension point definition, extension interfaces, and the like.
In this embodiment, according to the service requirements of different target types, different model parameters may be defined in the development framework model, so as to ensure that various types of service requirements can be effectively, flexibly and adaptively supported and satisfied.
In an exemplary embodiment, after determining model parameters corresponding to when the development framework model is configured for the service requirements belonging to the target type, the method includes steps S502 to S506, where:
Step S502, a first reference response generated according to historical business requirements at historical moments is obtained.
Illustratively, at a historical moment, the historical business requirements generate a first reference response based on their corresponding application development framework, configuration information, target objects, and target methods; the application development framework, configuration information, target objects and target methods therein can be manually determined by the user one by one according to historical business needs.
Step S504, based on the model parameters of the development framework model, obtaining a second reference response corresponding to the historical service demand.
The method includes the steps of inputting historical business requirements into a development framework model based on model parameters of the development framework model, obtaining corresponding application development frameworks, configuration information, target objects and target methods, and generating a second reference response.
Step S506, if the first reference response and the second reference response are matched, the development framework model is used as a trained development framework model; if not, the model parameters are redetermined.
For example, if the first reference response and the second reference response match, it means that in the development framework model, model parameters corresponding to the historical business requirements of the same type have been determined.
Optionally, the first reference response and the second reference response are matched, which may indicate that the operations corresponding to the first reference response and the second reference response are the same or have similar functions, so as to satisfy similar requirements or solve similar problems.
Optionally, the first reference response and the second reference response corresponding to the plurality of historical service demands of the same type may be compared, and if the historical service demands satisfying the matching condition reach the preset number of duty cycles in the plurality of historical service demands, it is determined that the model parameters corresponding to the historical service demands of the same type are determined.
In the present embodiment, the accuracy and validity of the model parameters of the development framework model are efficiently determined by comparing the first reference response generated at the historic time with the second reference response generated by the development framework model.
In an exemplary embodiment, before generating a response corresponding to a business requirement by a target method, the method includes steps S602 to S608, wherein:
in step S602, a plurality of reference service requirements belonging to the same type as the service requirement are acquired.
In step S604, range conditions corresponding to the plurality of reference service requirements are determined based on the configuration information, the target object and the target method corresponding to the plurality of reference service requirements.
The range condition corresponding to the reference service requirement may represent a limitation or constraint of configuration information, a target object and a target method corresponding to the service requirement.
Illustratively, in a plurality of reference service requirements of the same type, range conditions of the configuration information, range conditions of the target object, range conditions of the target method are determined, respectively, for example: determining commonly related configuration information, target objects and target methods and possible differences or change points in a plurality of reference service requirements; according to the commonalities and differences, range conditions are defined for the configuration information, the target object and the target method, respectively.
Alternatively, description will be made taking a range condition of configuration information as an example: and determining common configuration information in the configuration information corresponding to the multiple reference service demands, wherein the common configuration information is taken as an essential item of the configuration information of the service demands. Furthermore, among the configuration information corresponding to the plurality of reference service requirements, configuration information which is not shared and only appears in a certain reference service requirement is determined, and the configuration information is used as an optional item of the configuration information of the service requirement.
In step S606, the configuration information, the target object and the target method corresponding to the service requirement are detected through the corresponding range conditions.
Illustratively, after each generation of one configuration information, one target object, or one target method, detection is performed for each generated information; the detection may be performed for all the configuration information, all the target objects, or all the target methods after the generation of all the configuration information, all the target objects, or all the target methods.
Step S608, if the target information corresponding to the service requirement does not meet the range condition, generating alarm information corresponding to the target information which does not meet the range condition; the target information includes configuration information, target objects, and target methods.
For example, the condition that the target information corresponding to the service requirement does not meet the range condition may indicate that the target information includes information that does not occur in the reference service requirement of the same type, and may also indicate that the target information includes a plurality of information that occurs only in a certain reference service requirement of the same type.
Optionally, after each time it is determined that one target information does not meet the range condition, generating alarm information corresponding to the target information; or after determining that all the target information does not meet the range condition, generating a comprehensive alarm message to list all the target information which does not meet the range condition.
In this embodiment, a range condition corresponding to a service requirement is obtained through multiple reference service requirements of the same type, and suitability of configuration information, a target object and a target method corresponding to the service requirement is efficiently and accurately determined based on the obtained range condition.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a construction device of the application development framework for realizing the construction method of the application development framework. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiment of the device for constructing one or more application development frameworks provided below may refer to the limitation of the method for constructing an application development framework hereinabove, and will not be repeated herein.
In an exemplary embodiment, as shown in fig. 3, there is provided a construction apparatus of an application development framework, including: an acquisition module 302, a first determination module 304, a second determination module 306, a third determination module 308, a fourth determination module 310, and a response module 312, wherein:
An acquiring module 302, configured to acquire a service requirement;
a first determining module 304, configured to obtain a development framework model, input a service requirement to the development framework model, and determine a target application development framework corresponding to the service requirement through the development framework model;
A second determining module 306, configured to determine configuration information of the target application development framework through the development framework model, so as to obtain a configured target application development framework;
A third determining module 308, configured to determine, by using a development framework model, a target object corresponding to a service requirement, where the target object is applicable to a configured target application development framework;
A fourth determining module 310, configured to determine, by using a development framework model, a target method corresponding to the service requirement, where the target method matches with the configured target application development framework and the target object;
and a response module 312, configured to generate a target response corresponding to the service requirement through the target method.
In one exemplary embodiment, the acquisition module 302 is further configured to: identifying a service field corresponding to the service requirement; determining a domain-specific language corresponding to the business domain; wherein the domain-specific language represents a language designed according to concepts and rules in the corresponding business domain; and mapping information in the service requirement to concepts and grammar structures in the domain-specific language to obtain the service requirement described based on the domain-specific language.
In an exemplary embodiment, the first determining module 304 is further configured to: obtaining at least one candidate application development framework corresponding to the service requirement through a development framework model, wherein different candidate application development frameworks are provided with corresponding evaluation results based on preset evaluation indexes; and determining a target application development framework in the different candidate application development frameworks according to the evaluation results corresponding to the different candidate application development frameworks.
In an exemplary embodiment, the apparatus further comprises a parameter determination module for: acquiring a plurality of historical service demands of the same target type, and an application development frame, configuration information, a target object and a target method respectively corresponding to the plurality of historical service demands; the historical business demands represent business demands acquired at historical moments, and the historical business demands of the same target type represent business demands comprising matched business logic; determining the logic association relationship among the application development frame, the configuration information, the target object and the target method corresponding to the same historical service requirement, and integrating the logic association relationship corresponding to a plurality of historical service requirements respectively; based on the integrated logic association relationship, determining corresponding model parameters when the development framework model carries out development framework configuration aiming at the service requirements belonging to the target type.
In an exemplary embodiment, the parameter determination module is further configured to: acquiring a first reference response generated according to historical service demands at a historical moment; acquiring a second reference response corresponding to the historical service demand based on model parameters of the development framework model; if the first reference response and the second reference response are matched, using the development framework model as a trained development framework model; if not, the model parameters are redetermined.
In an exemplary embodiment, the apparatus further comprises a detection module for: acquiring a plurality of reference service requirements which belong to the same type as the service requirements; determining range conditions corresponding to the multiple reference service demands based on configuration information, target objects and target methods corresponding to the multiple reference service demands; detecting configuration information, a target object and a target method corresponding to the service requirement through corresponding range conditions respectively; if the target information corresponding to the service requirement does not meet the range condition, generating alarm information corresponding to the target information which does not meet the range condition; the target information includes configuration information, target objects, and target methods.
The respective modules in the above-described construction means of the application development framework may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one exemplary embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 4. The computer device includes a processor, a memory, an Input/Output interface (I/O) and a communication interface. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface is connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used to store data for building and configuring the application development framework. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method of constructing an application development framework.
It will be appreciated by persons skilled in the art that the architecture shown in fig. 4 is merely a block diagram of some of the architecture relevant to the present inventive arrangements and is not limiting as to the computer device to which the present inventive arrangements are applicable, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one exemplary embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
Acquiring service requirements;
acquiring a development framework model, inputting service requirements into the development framework model, and determining a target application development framework corresponding to the service requirements through the development framework model;
Determining configuration information of a target application development framework through a development framework model to obtain a configured target application development framework;
determining a target object corresponding to the business requirement through a development framework model, wherein the target object is suitable for a configured target application development framework;
determining a target method corresponding to the business requirement through a development framework model, wherein the target method is matched with a configured target application development framework and a target object;
And generating a target response corresponding to the service requirement through a target method.
In one embodiment, the processor when executing the computer program further performs the steps of: identifying a service field corresponding to the service requirement; determining a domain-specific language corresponding to the business domain; wherein the domain-specific language represents a language designed according to concepts and rules in the corresponding business domain; and mapping information in the service requirement to concepts and grammar structures in the domain-specific language to obtain the service requirement described based on the domain-specific language.
In one embodiment, the processor when executing the computer program further performs the steps of: obtaining at least one candidate application development framework corresponding to the service requirement through a development framework model, wherein different candidate application development frameworks are provided with corresponding evaluation results based on preset evaluation indexes; and determining a target application development framework in the different candidate application development frameworks according to the evaluation results corresponding to the different candidate application development frameworks.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring a plurality of historical service demands of the same target type, and an application development frame, configuration information, a target object and a target method respectively corresponding to the plurality of historical service demands; the historical business demands represent business demands acquired at historical moments, and the historical business demands of the same target type represent business demands comprising matched business logic; determining the logic association relationship among the application development frame, the configuration information, the target object and the target method corresponding to the same historical service requirement, and integrating the logic association relationship corresponding to a plurality of historical service requirements respectively; based on the integrated logic association relationship, determining corresponding model parameters when the development framework model carries out development framework configuration aiming at the service requirements belonging to the target type.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring a first reference response generated according to historical service demands at a historical moment; acquiring a second reference response corresponding to the historical service demand based on model parameters of the development framework model; if the first reference response and the second reference response are matched, using the development framework model as a trained development framework model; if not, the model parameters are redetermined.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring a plurality of reference service requirements which belong to the same type as the service requirements; determining range conditions corresponding to the multiple reference service demands based on configuration information, target objects and target methods corresponding to the multiple reference service demands; detecting configuration information, a target object and a target method corresponding to the service requirement through corresponding range conditions respectively; if the target information corresponding to the service requirement does not meet the range condition, generating alarm information corresponding to the target information which does not meet the range condition; the target information includes configuration information, target objects, and target methods.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
Acquiring service requirements;
acquiring a development framework model, inputting service requirements into the development framework model, and determining a target application development framework corresponding to the service requirements through the development framework model;
Determining configuration information of a target application development framework through a development framework model to obtain a configured target application development framework;
determining a target object corresponding to the business requirement through a development framework model, wherein the target object is suitable for a configured target application development framework;
determining a target method corresponding to the business requirement through a development framework model, wherein the target method is matched with a configured target application development framework and a target object;
And generating a target response corresponding to the service requirement through a target method.
In one embodiment, the computer program when executed by the processor further performs the steps of: identifying a service field corresponding to the service requirement; determining a domain-specific language corresponding to the business domain; wherein the domain-specific language represents a language designed according to concepts and rules in the corresponding business domain; and mapping information in the service requirement to concepts and grammar structures in the domain-specific language to obtain the service requirement described based on the domain-specific language.
In one embodiment, the computer program when executed by the processor further performs the steps of: obtaining at least one candidate application development framework corresponding to the service requirement through a development framework model, wherein different candidate application development frameworks are provided with corresponding evaluation results based on preset evaluation indexes; and determining a target application development framework in the different candidate application development frameworks according to the evaluation results corresponding to the different candidate application development frameworks.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a plurality of historical service demands of the same target type, and an application development frame, configuration information, a target object and a target method respectively corresponding to the plurality of historical service demands; the historical business demands represent business demands acquired at historical moments, and the historical business demands of the same target type represent business demands comprising matched business logic; determining the logic association relationship among the application development frame, the configuration information, the target object and the target method corresponding to the same historical service requirement, and integrating the logic association relationship corresponding to a plurality of historical service requirements respectively; based on the integrated logic association relationship, determining corresponding model parameters when the development framework model carries out development framework configuration aiming at the service requirements belonging to the target type.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a first reference response generated according to historical service demands at a historical moment; acquiring a second reference response corresponding to the historical service demand based on model parameters of the development framework model; if the first reference response and the second reference response are matched, using the development framework model as a trained development framework model; if not, the model parameters are redetermined.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a plurality of reference service requirements which belong to the same type as the service requirements; determining range conditions corresponding to the multiple reference service demands based on configuration information, target objects and target methods corresponding to the multiple reference service demands; detecting configuration information, a target object and a target method corresponding to the service requirement through corresponding range conditions respectively; if the target information corresponding to the service requirement does not meet the range condition, generating alarm information corresponding to the target information which does not meet the range condition; the target information includes configuration information, target objects, and target methods.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of:
Acquiring service requirements;
acquiring a development framework model, inputting service requirements into the development framework model, and determining a target application development framework corresponding to the service requirements through the development framework model;
Determining configuration information of a target application development framework through a development framework model to obtain a configured target application development framework;
determining a target object corresponding to the business requirement through a development framework model, wherein the target object is suitable for a configured target application development framework;
determining a target method corresponding to the business requirement through a development framework model, wherein the target method is matched with a configured target application development framework and a target object;
And generating a target response corresponding to the service requirement through a target method.
In one embodiment, the computer program when executed by the processor further performs the steps of: identifying a service field corresponding to the service requirement; determining a domain-specific language corresponding to the business domain; wherein the domain-specific language represents a language designed according to concepts and rules in the corresponding business domain; and mapping information in the service requirement to concepts and grammar structures in the domain-specific language to obtain the service requirement described based on the domain-specific language.
In one embodiment, the computer program when executed by the processor further performs the steps of: obtaining at least one candidate application development framework corresponding to the service requirement through a development framework model, wherein different candidate application development frameworks are provided with corresponding evaluation results based on preset evaluation indexes; and determining a target application development framework in the different candidate application development frameworks according to the evaluation results corresponding to the different candidate application development frameworks.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a plurality of historical service demands of the same target type, and an application development frame, configuration information, a target object and a target method respectively corresponding to the plurality of historical service demands; the historical business demands represent business demands acquired at historical moments, and the historical business demands of the same target type represent business demands comprising matched business logic; determining the logic association relationship among the application development frame, the configuration information, the target object and the target method corresponding to the same historical service requirement, and integrating the logic association relationship corresponding to a plurality of historical service requirements respectively; based on the integrated logic association relationship, determining corresponding model parameters when the development framework model carries out development framework configuration aiming at the service requirements belonging to the target type.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a first reference response generated according to historical service demands at a historical moment; acquiring a second reference response corresponding to the historical service demand based on model parameters of the development framework model; if the first reference response and the second reference response are matched, using the development framework model as a trained development framework model; if not, the model parameters are redetermined.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a plurality of reference service requirements which belong to the same type as the service requirements; determining range conditions corresponding to the multiple reference service demands based on configuration information, target objects and target methods corresponding to the multiple reference service demands; detecting configuration information, a target object and a target method corresponding to the service requirement through corresponding range conditions respectively; if the target information corresponding to the service requirement does not meet the range condition, generating alarm information corresponding to the target information which does not meet the range condition; the target information includes configuration information, target objects, and target methods.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are both information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data are required to meet the related regulations.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magneto-resistive random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (PHASE CHANGE Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in various forms such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (10)

1. A method for building an application development framework, the method comprising:
Acquiring service requirements;
acquiring a development framework model, inputting the service requirement into the development framework model, and determining a target application development framework corresponding to the service requirement through the development framework model;
determining configuration information of the target application development framework through the development framework model to obtain a configured target application development framework;
determining a target object corresponding to the service requirement through the development framework model, wherein the target object is applicable to the configured target application development framework;
Determining a target method corresponding to the service requirement through the development framework model, wherein the target method is matched with the configured target application development framework and the target object;
And generating a target response corresponding to the service requirement through the target method.
2. The method of claim 1, further comprising, after the obtaining the service requirement:
identifying a service field corresponding to the service requirement;
Determining a domain-specific language corresponding to the business domain; wherein the domain-specific language represents a language designed according to concepts and rules in the corresponding business domain;
and mapping the information in the service requirement to concepts and grammar structures in the domain-specific language to obtain the service requirement described based on the domain-specific language.
3. The method of claim 1, wherein the determining, by the development framework model, a target application development framework corresponding to the business requirement comprises:
Obtaining at least one candidate application development framework corresponding to the service requirement through the development framework model, wherein different candidate application development frameworks are provided with corresponding evaluation results based on preset evaluation indexes;
And determining the target application development frames in the different candidate application development frames according to the evaluation results corresponding to the different candidate application development frames.
4. The method of claim 1, further comprising, prior to the acquiring the development framework model:
acquiring a plurality of historical service demands of the same target type, and an application development framework, configuration information, a target object and a target method respectively corresponding to the plurality of historical service demands; the historical business demands represent business demands acquired at historical moments, and the historical business demands of the same target type represent business demands comprising matched business logic;
Determining the logic association relationship among the application development framework, the configuration information, the target object and the target method corresponding to the same historical service requirement, and integrating the logic association relationship corresponding to the historical service requirements respectively;
and determining model parameters corresponding to the development framework model when the development framework is configured for the service demands belonging to the target type based on the integrated logic association relation.
5. The method of claim 4, further comprising, after said determining the model parameters corresponding to the development framework model when the development framework model is configured for the business requirements belonging to the target type:
Acquiring a first reference response generated at a historical moment according to the historical service demand;
Acquiring a second reference response corresponding to the historical service demand based on the model parameters of the development framework model;
If the first reference response and the second reference response are matched, the development framework model is used as a trained development framework model; if not, the model parameters are redetermined.
6. The method of claim 1, further comprising, prior to said generating a response corresponding to said business need by said target method:
Acquiring a plurality of reference service requirements which belong to the same type as the service requirements;
Determining range conditions corresponding to the multiple reference service demands based on configuration information, target objects and target methods corresponding to the multiple reference service demands;
detecting configuration information, a target object and a target method corresponding to the service requirement through corresponding range conditions respectively;
If the target information corresponding to the service requirement does not meet the range condition, generating alarm information corresponding to the target information which does not meet the range condition; the target information includes configuration information, target objects, and target methods.
7. An apparatus for building an application development framework, the apparatus comprising:
the acquisition module is used for acquiring the service requirement;
the first determining module is used for acquiring a development framework model, inputting the service requirement into the development framework model, and determining a target application development framework corresponding to the service requirement through the development framework model;
The second determining module is used for determining configuration information of the target application development framework through the development framework model to obtain a configured target application development framework;
a third determining module, configured to determine, through the development framework model, a target object corresponding to the service requirement, where the target object is applicable to the configured target application development framework;
A fourth determining module, configured to determine, by using the development framework model, a target method corresponding to the service requirement, where the target method is matched with the configured target application development framework and the target object;
And the response module is used for generating a target response corresponding to the service requirement through the target method.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
CN202410410582.4A 2024-04-02 Construction method and device of application development framework, computer equipment and storage medium Pending CN118312143A (en)

Publications (1)

Publication Number Publication Date
CN118312143A true CN118312143A (en) 2024-07-09

Family

ID=

Similar Documents

Publication Publication Date Title
Missier et al. Provenance and data differencing for workflow reproducibility analysis
US8037000B2 (en) Systems and methods for automated interpretation of analytic procedures
US8776009B2 (en) Method and system for task modeling of mobile phone applications
Igamberdiev et al. An integrated multi-level modeling approach for industrial-scale data interoperability
US20140013297A1 (en) Query-Based Software System Design Representation
US20180182049A1 (en) Automated query compliance analysis
US10713152B2 (en) Automated path generator for optimized application testing
Schneider et al. Symbolic model generation for graph properties
US7448028B2 (en) System and method for selective local object retrieval
Dam et al. Managing changes in the enterprise architecture modelling context
Gui et al. IFC-based partial data model retrieval for distributed collaborative design
Megha et al. Method to resolve software product line errors
EP2199905A1 (en) Lifecycle management and consistency checking of object models using application platform tools
Jekjantuk et al. Modelling and reasoning in metamodelling enabled ontologies
El Beggar et al. CIM for data warehouse requirements using an UML profile
Oliveira et al. ETL standard processes modelling-a novel BPMN approach
US11797577B2 (en) Smart data warehouse for cloud-based reservoir simulation
CN118312143A (en) Construction method and device of application development framework, computer equipment and storage medium
Dong et al. Design pattern evolutions in QVT
US20130166603A1 (en) Consumer-related specialization of metadata models based on a template-projection approach
Kritikos et al. Towards semantic KPI measurement
Hamdani et al. A Novel Framework to Automatically Generate IFML Models From Plain Text Requirements
Cantenot et al. Test generation with Satisfiability Modulo Theories solvers in model‐based testing
Vujasinovic et al. A survey and classification of principles for domain-specific ontology design patterns development
Kritikos et al. A flexible semantic kpi measurement system

Legal Events

Date Code Title Description
PB01 Publication