Font Size: a A A

Research And Realization Of The Hybrid APP Middleware Based On HarmonyOS

Posted on:2024-03-31Degree:MasterType:Thesis
Country:ChinaCandidate:L C WangFull Text:PDF
GTID:2568307073968729Subject:Computer technology
Abstract/Summary:PDF Full Text Request
The release of the Harmony OS operating system has filled the gap of China’s mobile operating system in the international market.Compared with the mainstream mobile operating systems currently on the market,the Harmony OS system has significant advantages.Unlike other operating systems,its system positioning is an Internet of Things system,so it breaks the single thinking mode of existing systems,achieves interconnection of all things,and realizes communication between multiple devices at the system level.It can also be deployed on various smart devices such as watches,PCs,televisions,car systems,and smart homes,with great market potential.In addition,Harmony OS applications can be developed once and adapted to multiple platforms,such as watches,car systems,phones,and televisions,and it also has the open-source advantages of Android,with a flow rate comparable to that of Apple.Despite its many advantages,the ecological construction of Harmony OS is still in its infancy,and it is urgent to accelerate the development of Harmony OS ecology.However,using traditional native application development requires an understanding of the development documentation of different platforms,and separate development is required for different platforms.This will affect the development cycle,increase development costs,and also cause some difficulties in later maintenance.To address these issues,this paper proposes a middleware for hybrid application development to facilitate the efficient development of Harmony OS applications.The paper studies and completes the architecture design,implementation,and testing of the middleware based on Harmony OS.The hybrid app middleware is designed using a B/S model,with the front-end and service parts of the application independently implemented and different system functions encapsulated to provide a unified interface for Web to call.The mobile application’s interaction service layer is combined with the front-end framework Vue for page development and management to achieve the development of Harmony OS mobile applications using front-end development technologies,improving application development efficiency.This paper first understands the existing platforms and analyzes the characteristics of each platform,combines with the Harmony OS operating system to analyze the main features of the Webview component in the Harmony OS system in detail,and determines that the information interaction between the Web end and the Harmony OS system end can be achieved through Webview.Then,the functions related to devices in the system are encapsulated to complete the development of the middleware.Then,the architecture design and processing flow of the hybrid app middleware are determined.The paper completes the framework design and implementation of the middleware and verifies the effectiveness of the middleware by using it to develop a shopping application,while also testing the functionality and performance of the project.The performance of the middleware is evaluated by measuring the time consumption of calling different functions of the middleware.The experimental results show that the Harmony OS mobile shopping application developed using the hybrid app middleware proposed in this paper can implement various functions normally and has a good user experience.
Keywords/Search Tags:HarmonyOS, Hybrid APP, Middle ware, Mobile Application Development
PDF Full Text Request
Related items