Font Size: a A A

Design And Implementation Of Data Publish/Subscribe Framework

Posted on:2018-03-24Degree:MasterType:Thesis
Country:ChinaCandidate:M C AiFull Text:PDF
GTID:2428330569485454Subject:Computer technology
Abstract/Summary:PDF Full Text Request
Communication between data becomes extremely frequent today.The interaction between data becomes complex with the increase of data.The traditional data transmission structure will lose data when dealing with complex data transmission.In order to ensure the reliability and real-time of the transmission framework,need to design a data transmission framework based on a new data dissemination model,data publish / subscribe framework.First,by comparing the advantages and disadvantages of the different kinds of the models,the data publish / subscribe framework is determined using the publish / subscribe model for data transmission.In order to avoid the single point failure problem,the data publish / subscribe framework is designed with no center point and all publishers and subscribers are distributed in the domain and the domain participants control the domain of publishers and subscribers.Only in the same domain and the topic consistent,publishers and subscribers can transmission data.In the process of data transmission,the publisher does not need to be concerned about whether there is a subscriber.Subscriber subscription data also does not affect other logic of the application through a callback mechanism.Then,the data publish / subscribe framework uses the serialization method based on IDL file,which has the ability to serialize the complex data structure,so that the application can transmit complex data structure.In addition,the format conversion module of data publish /subscribe frame can read the application definition format,using the TinyXML library to parse the.Xml document and getting the corresponding formula and analytic expression of the data,so applications can get the ideal data.After the implementation of each module of data publish / subscribe framework,we run strict functional testing and performance testing,so that we can ensure the reliability and real-time of the framework.The test results show that the data publish / subscribe framework can run stably for a long time,whether in one-to-one,one-to-many or many-to-many mode.
Keywords/Search Tags:Data distribution, Publish, Subscribe, Serialize
PDF Full Text Request
Related items