| Along with the rapid development of the mobile internet technology,Internet of Things,mobile smartphones,Internet technology is gradually affecting every aspect of people's lives.To conform to the trend of transformation and upgrading to Smart Trading Area,the traditional trading area is using information technology to provide a more comfortable and personalized consumption patterns to consumers in the area.It achieves win-win for the trading area and consumers.With the continuous development of Smart Trading Area,more and more third-party services need to access to the smart trading platform.Thus how to achieve service instance access to the platform transparently and upgrade dynamically is becoming a key point when constructing smart trading area platform.Also,instance messaging service,real-time message push and data transmission in real-time computation should have the real-time message transmission of higher level.To address this problem,in this paper we analyzed the characteristics and requirements of Smart Trading Area scenario,designed and implemented a service oriented real-time message middleware for Smart Trading Area which is named RTSOMQ.To achieve this goal,the main work of this paper includes the following aspects:1.Based on Smart Trading Area,we analyzed the system requirements and design constraints from access of third-party services,access and upgrade of existing services,real-time delivery of messages and the influence to system architecture design.2.For Smart Trading Area scenario demands,we proposed architecture design of RTSOMQ and design sub-modules details of RTSOMQ.3.We optimized the main components of RTSOMQ to achieve real-time delivery of message.RTSOMQ uses service discovery mechanism to achieve fast and transparent access of third-party services;RTSOMQ implements service monitor function to monitor the service status;RTSOMQ implements three kinds of load balancing strategies to meet different user scenarios;RTSOMQ uses united service interface schema registry to achieve dynamical upgrade of services.The experiment results of the system show that RTSOMQ can provide a viable and effective solution for transparent access of third-party service and real-time message delivery in Smart Trading Area. |