Font Size: a A A

Research On A Framework For The Docking Adaptability Of Web Application With OpenAPI

Posted on:2022-10-03Degree:MasterType:Thesis
Country:ChinaCandidate:Q ZhangFull Text:PDF
GTID:2518306536496844Subject:Computer technology
Abstract/Summary:PDF Full Text Request
OpenAPI(OpenApplication Programming Interface),as an important way of interaction between Web applications,has become the primary choice for Web application developers to communicate between Web applications with its low-cost and high-value advantages.Therefore,the study of the process of interfacing Web applications to OpenAPI and the process of calling OpenAPI by runtime Web applications is of practical significance to the development of social e-information,and the results can save developers' time and effort,as well as improve the usability and maintainability of Web applications.Firstly,this paper analyses the traditional development process for interfacing Web applications to OpenAPI by depicting the current situation of using OpenAPI for interaction between Web applications,and then summarises the problems caused to developers by the existing interfacing process.In addition,this paper outlines the technologies related to developing,invoking OpenAPI and software adaption,studies the stability of decoupled Web applications and OpenAPI,analyses the process of developers manually switching OpenAPI,and proposes the idea of adaptive docking and switching OpenAPI for Web applications.Secondly,with the goal of speeding up the process of interfacing with OpenAPI and reducing manual maintenance,this paper constructs an adaptive framework for interfacing Web applications with OpenAPI,outlines the functions of each layer in the framework and the information interaction between them,designs in detail the process of fast interfacing by developers using OpenAPI documents,and builds perceptrons and decision makers to realise adaptive invocation and switching of OpenAPI using software adaptive ideas.Thirdly,this paper analyses the key problems to be solved when implementing each layer of the framework,and introduces the methods and key technologies for solving the problems,taking into account the description of each layer of the framework and the design of key modules.This paper divides the process of web application interfacing to OpenAPI by developers into the development phase and the operation phase.In the development phase,it speeds up developers' reading of OpenAPI documentation and reduces coding workload;in the runtime phase,it implements adaptive invocation of OpenAPI by web applications and adaptive switching of OpenAPI according to OpenAPI's QoS values.Finally,taking the order placement application of Shengle ticketing system as an example,the paper achieves adaptive docking of OpenAPI with order placement function to Xinhai Huike,Tianshi Tongcheng,Piaofutong and Zhiyoubao,and adaptively switches the OpenAPI with the best QoS value during the runtime of Shengle ticketing system according to the change of QoS value,which improves the feasibility and maintainability of the web application.Hence this practice reflects the correctness and feasibility of the framework.
Keywords/Search Tags:OpenAPI, Software Adaption, Hierarchical Model, QoS
PDF Full Text Request
Related items