Font Size: a A A

Qt-based Cross-platform Web Service Development Framework Platforms

Posted on:2020-04-23Degree:MasterType:Thesis
Country:ChinaCandidate:J F ZhangFull Text:PDF
GTID:2428330602450755Subject:Engineering
Abstract/Summary:PDF Full Text Request
When Java technology is used to develop the information management system,especially the hardware-software combined system,there are the following problems:(1)Some hardware manufacturers only supply C++ development kit,which is hard to be integrate into the system developed with Java technology;(2)Due to its own management mechanism for internal storage of Java virtual machine,developers cannot operate them at will.Thus,it is difficult to guarantee real-time of such system which requires repeated application and release of resources.Besides,it has higher requirements for the hardware resources of the system;(3)When CGI and other methods are used to connect the information management system and underlying hardware control system,the performance is not high;(4)In addition,users are using a different variety of operation systems,which requires the system to be able to cross the operation system platform,reduce the difficulties of development and support the development of new business.Hence,a “Qt-based cross-platform web service development framework platforms”.was development in the paper,with the commonly used software development modes used to complete the demand analysis,design,code implementation and testing of the framework.The main work completed is as follows:(1)The network communication protocol is used for the communication and the cross-platform Qt development framework was used as the basis of the development,which has realized the communication among programs developed in multi-programming languages.Besides,a C++ application program developed framework across platform.(2)The Socket internet programming interface is used for the development,and the basic functions of web server have been realized.At the same time,the request form fastCGI and general one from Socket are supported.(3)The system has achieved its own MVC hierarchy framework with referring to MVC running under MVC framework,Struts and Spring in Java environment.(4)With Qt database connected framework and receptacle database structures,the system can achieve the function of database connection pools when connecting to the postgresql database.(5)The functions of user log in and menu access control can be realized by such communication method of storing session information in cookie and requesting the client to send session information in header information.The system developed with the framework can realize seamless integration with other business through the single sign-on function.(6)Through the configuration of the defined form content,combined with extjs interface framework,the business form framework was development according to the configured presentation form,which preliminarily realizes the template customization of business form interface.Finally,two business systems involving user card reading system and hot user information demonstration system are developed with this framework,and have been verified.At the same time,the framework has been tested.With the framework development system,the integration with original Java on the Windows and Linux operation systems is realized and the development difficulties are reduced,and the anticipated targets have been achieved.Compared with the common CGI development method,the system developed with the framework has resident memory and is not necessary to download programs from hard disk on e very request,which has reduced the reading and writing pressure of the system hard disk and the system performance has been obviously improved.The system performance is improved accordingly.Moreover,it is convenient for multiple business to share the resources,which is a advantages of repetitive running of codings.The framework also supplies the service kits such as database connecting pool and log management,etc.for the convenient use of developers.As a development framework,it still has some dificiencies to be further studied.The performance of the server can still be improved compared to Ngnix and other servers.The http protocols only support partial characteristics.Besdies,some progress communication are expected to be supported.So it needs to be further improved.
Keywords/Search Tags:C++, Qt, developed frame, across platforms
PDF Full Text Request
Related items