Font Size: a A A

Research On Software Automatic Construction And Evolution Technology Under Microservice Architecture

Posted on:2024-06-04Degree:DoctorType:Dissertation
Country:ChinaCandidate:W B ZhengFull Text:PDF
GTID:1528306923477134Subject:Advanced manufacturing
Abstract/Summary:PDF Full Text Request
As the digital transformation of enterprises deepens,the scope of software coverage is rapidly expanding,resulting in a rapid growth in software demand.With the intensification of enterprise competition and the dual-drive of technological change and business innovation,the frequency of software iteration and modification has also increased significantly.At the same time,the difference in knowledge background between business personnel and developers under the traditional development mode also seriously affects the efficiency of software development.The rapid growth in demand for software development and the insufficient software development capacity have become important contradictions that constrain the transformation and upgrading of manufacturing enterprises.Under the background of the new "software crisis",the development mode of software is undergoing changes,and low-code and no-code development models are gradually emerging.Some more advanced research institutions are also exploring intelligent methods based on directly generating software code from software requirements to achieve automatic software construction and further reduce the threshold for software development and improve the efficiency of software development.Furthermore,the architecture of software is also undergoing changes.The autonomy of microservice architecture provides a basis for the rapid iteration and evolution of software,and can better meet the needs of business agility.Microservices are deeply integrated and fused,and the boundary between enterprises and systems is becoming increasingly blurred.It can be foreseen that with the support of relevant technologies such as software automatic construction and rapid evolution of microservices,enterprise software will be transformed into a deeply integrated,rapidly iterative and crossborder large-scale interactive network software system.Currently,low-code and no-code development methods have to some extent improved the efficiency of software development,but the process of converting requirements into domain models still requires human intervention.The current AI-based intelligent software development method,which adopts a one-step generation method of directly generating code from requirements,is only suitable for generating small-scale code segments and cannot support the automatic generation of large-scale software.The autonomy of microservices provides a basis for evolution,but the complex dependencies between microservices under the cross-border large-scale interactive network architecture make it difficult to evaluate the impact of changes.Container technology solves the consistency problem of application distribution well,but the distributed nature of microservice architecture brings great challenges to database updates.In light of the above trends and challenges,research is conducted on software automatic construction and continuous evolution under the microservice architecture.The specific accomplishments and primary contributions can be succinctly summarized as follows:(1)Addressing the need for "high reliability,high real-time,and low cost" for large-scale software,this paper proposes a two-stage software automatic construction model,which supports precise expression from business to model,and accurate extraction from requirements to instructions.In the first stage,a standardized business description(business domain model)is extracted from complex and changeable requirements by natural language understanding;in the second stage,the business domain model for a specific application type can specify its architecture system,development language,and constrain its code Generate rules;reduce the complexity of software construction,make code generation more accurate,and make automatic construction of highly reliable and large-scale software possible.In response to the problem of business-to-model expression in the two-stage software automatic construction model,an open and extensible domain modeling system and a unified business modeling language UBML are proposed,and the code generation of business domain models is realized;The combination of application types and different architectures can expand different business domain model systems,and realize the corresponding business domain model code generation and mixed operation mechanism,providing basic support for the two-stage structure.(2)In response to the problem of automatic extraction of software requirements,an automatic extraction and generation method based on instruction set requirements to model operations in the software business domain is proposed.First,through text segmentation and other methods,the mapping relationship between requirement text and entities is matched,and the "entity dictionary Matching+Deep Learning Model Prediction" framework converts requirements into instructions,then arranges and optimizes native instructions to form an instruction set for operating the business domain model,and finally calls the business domain model service from the instruction set to create or change the business domain model.This approach provides room for continuous optimization at the instruction set level.(3)In response to the evolution of the microservice system,A dual-layer dependency model for service systems,called DoubleDM,is introduced,encompassing both the process layer and the service layer.The model presents a formal representation of service dependency relationships,explores the impact scope of dependency evolution,and provides algorithms for their resolution and corresponding analysis.;for the process evolution type,the process evolution description language and the quantitative evaluation of the influence degree are given;and the routing dependency is given And service dependency analysis processing steps and algorithms,based on the process evolution impact assessment algorithm,calculated the scope and degree of evolution influence in a quantitative way.(4)Aiming at the problem of the consistency of multi-node and multi-type database collaborative update in the process of distributed micro-service evolution,an event-driven distributed micro-service collaborative update method is proposed,through the encapsulation of database type-independent data objects and business query language Different microservices use the support of different databases.Through the event-driven method,when the new version of the microservice node starts,it senses and triggers the database update event,and coordinates and schedules the distributed database update tasks through the unified distributed coordinator,which can solve the problem of microservices.The problem of update consistency of distributed heterogeneous microservice database in the evolution process.Based on the aforementioned studies,a software automatic construction platform under the microservice architecture has been developed,which can realize a complete automatic construction process from automatic requirement extraction,automatic code generation,and service iterative evolution,and promote the production application of automatic software construction technology.
Keywords/Search Tags:domain model, software automatic construction, code generation, microservices, service evolution
PDF Full Text Request
Related items