Font Size: a A A

The Design And Implementation Of The Urban Regional Social Information Platform Based On MVC Model

Posted on:2017-10-24Degree:MasterType:Thesis
Country:ChinaCandidate:C ChangFull Text:PDF
GTID:2348330509952875Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Urban area socialization information platform provides high-quality public information to the public in "one-stop" service mode, and plays a role of promoting in the construction of urban integration. The number of current information systems service in urban areas is increasing, but those systems are faced with several problems such as system scalability, reusability, low security, low access efficiency, hysteretic information elicitation. This paper present a technology research in three aspects, expansion of the system, web staticize, and information collection, based on deeping analysis in actual requirements of urban area socialization information platform, has great application value.In view of the problem of low system scalability and reusability efficiency, the system has been strengthened in the vertical and horizontal expansion of the system. In vertical scalability, four layers architecture based on the spring MVC+Spring+Hibernate is applied, and give full play to the characteristics of the MVC pattern such as well-defined power and responsibility, loose coupling, and high reusability; in horizontal scalability,we use Maven to build the project in modular method, take advantage of it's plug-in extension mechanism, and the Nexus to implement third-party jar package management and independent development plug-in extension, thus enhances the system scalability and reusability effectively.In view of the problem of low security and efficiency, For security,access to the problem of low efficiency, combined with the nature(high frequency and high-visits) of urban area socialization information home page,using FreeMarker-based template on the realization of the web staticize, take advantages of performance and the characteristics of support for multiple tag library. We devide the page into static and dynamic two parts. The static part is made into template by FTL markup language. In consideration of high frequency information input, we design static trigger in trigger staticize whenupdate the content through the AOP technology. Result analyses conclude that FreeMarker-based static page can effectively improves the performance of the website.In view of the problem of hysteretic information elicitation and the lack of instantaneity, we present the a information collection technology that put the directional crawler and focused crawler together under the subject of urbanization. Directional crawler collect information by jsoup parser, and make up the artificial analysis code shortcomings through the theme crawler;at the same time, focused crawler is based on the TF-IDF algorithm to collect information in the high contribution rate Title and Div tags domain, avoids the key-words deviation effectively in traditional algorithm by using the cosines law of VSM for similarity matching, and combine the manual basis with the way of TF-IDF algorithm-based automatic acquisition in the theme word capture. Result analyses conclude that it is accurate and reliable to collect information by the directional crawler and the focused crawler.The realization of the urban area socialization information platform in this paper has following characteristics: firstly, it reduces the coupling of each module of the system from the overall, enhances the scalability and reusability of the system; secondly, accelerates the access speed, improve the site carrying capacity and the overall image; finally, satisfies the users' requirement of diversified subject information real-time elicitation.
Keywords/Search Tags:urban area socialization, Maven, MVC design pattern, TF-IDF algorithm, VSM spatial model
PDF Full Text Request
Related items