基于網(wǎng)頁(yè)采集的校園新聞移動(dòng)網(wǎng)站設(shè)計(jì)與實(shí)現(xiàn)
發(fā)布時(shí)間:2019-05-10 09:03
【摘要】:隨著互聯(lián)網(wǎng)技術(shù)和計(jì)算機(jī)技術(shù)的發(fā)展,特別是第三代移動(dòng)通信技術(shù)的應(yīng)用和推廣,人們的閱讀習(xí)慣也發(fā)生了改變,大家迫切地希望能在任何時(shí)間地點(diǎn)場(chǎng)合通過(guò)無(wú)線網(wǎng)絡(luò)使用移動(dòng)設(shè)備方便地瀏覽web獲取信息。校園中更是如此,擁有大量移動(dòng)設(shè)備使用人群的學(xué)校里,這種無(wú)線上網(wǎng)的需要更是迫切。而移動(dòng)設(shè)備有著很多PC機(jī)等完全不同的特點(diǎn),使得原來(lái)的HTML網(wǎng)頁(yè)無(wú)法在移動(dòng)設(shè)備上良好地運(yùn)作,這給移動(dòng)網(wǎng)站的開(kāi)發(fā)帶來(lái)了機(jī)遇。 基于以上問(wèn)題,本文從分析校園網(wǎng)站移動(dòng)現(xiàn)狀開(kāi)始,提出了基于新聞采集的校園新聞網(wǎng)站移動(dòng)化的解決方案。本文主要研究和解決兩個(gè)問(wèn)題,一個(gè)是如何從現(xiàn)有學(xué)校新聞網(wǎng)站提取信息,存儲(chǔ)到數(shù)據(jù)庫(kù)中,另外一個(gè)則是如何把這些信息方便有效的展現(xiàn)在用戶的移動(dòng)設(shè)備上。 本系統(tǒng)采用基于規(guī)則的方式來(lái)實(shí)現(xiàn)采集,通過(guò)http協(xié)議獲得網(wǎng)頁(yè)信息,然后通過(guò)DOM樹(shù)利用系統(tǒng)和用戶定制好的規(guī)則萃取頁(yè)面的有效信息到服務(wù)器并儲(chǔ)存在數(shù)據(jù)庫(kù)。另外編寫(xiě)一個(gè)數(shù)據(jù)處理的模塊處理采集回來(lái)的數(shù)據(jù),該模塊統(tǒng)一了訪問(wèn)控制,并通過(guò)json和web頁(yè)面兩種形式傳給客戶端原生應(yīng)用程序及手機(jī)瀏覽器,其中web頁(yè)面會(huì)根據(jù)客戶端的不同而使用不同的頁(yè)面模板。這兩種形式可以滿足不同客戶對(duì)系統(tǒng)的不同要求。目前該系統(tǒng)已經(jīng)作為移動(dòng)校園的其中一部分應(yīng)用到廣東第二師范學(xué)院的移動(dòng)應(yīng)用中。 本系統(tǒng)的主要特色在于:其一,使用采集方式獲取舊網(wǎng)站系統(tǒng)數(shù)據(jù),不同于其他的移動(dòng)網(wǎng)站直接在舊系統(tǒng)上進(jìn)行改造的開(kāi)發(fā)方式,能更夠快速?gòu)V泛的與舊系統(tǒng)結(jié)合;其二,同時(shí)提供web app頁(yè)面和原生應(yīng)用系統(tǒng)使用的接口,,更廣泛的支持各種設(shè)備,也能夠最大限度的滿足部分客戶對(duì)性能的要求;其三,系統(tǒng)采用中間件的形式,能夠和舊系統(tǒng)分開(kāi)部署,能夠使得服務(wù)器部署更加靈活。
[Abstract]:With the development of Internet technology and computer technology, especially the application and promotion of the third generation mobile communication technology, people's reading habits have also changed. People are eager to browse web to get information conveniently through wireless network at any time and place. This is especially true on campus, where there is a large number of mobile device users, the need for this kind of wireless Internet access is even more urgent. However, mobile devices have many completely different characteristics, such as PCs, which makes the original HTML page can not work well on mobile devices, which brings opportunities to the development of mobile websites. Based on the above problems, this paper starts with the analysis of the current situation of campus website mobility, and puts forward a solution of campus news website mobility based on news collection. This paper mainly studies and solves two problems, one is how to extract information from the existing school news website and store it in the database, the other is how to display this information on the user's mobile device conveniently and effectively. The system adopts the rule-based method to realize the collection, obtains the web page information through the http protocol, and then uses the system and the user-customized rules to extract the effective information of the page to the server and store it in the database through the DOM tree. In addition, a data processing module is written to process the collected data. The module unifies the access control and transmits it to the client native application and mobile browser through json and web pages. Web pages use different page templates depending on the client. These two forms can meet the different requirements of different customers for the system. At present, the system has been applied to the mobile application of Guangdong second normal University as part of the mobile campus. The main characteristics of this system are as follows: first, the use of collection to obtain the data of the old website system, different from other mobile websites directly in the old system of the development of the way, can be more rapid and extensive combination with the old system; Second, at the same time, it provides the interface used by web app page and native application system, which supports a variety of devices more widely, and can also meet the performance requirements of some customers to the maximum extent. Third, the system adopts the form of middleware, which can be deployed separately from the old system, which can make the server deployment more flexible.
【學(xué)位授予單位】:華南理工大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TP393.092
本文編號(hào):2473526
[Abstract]:With the development of Internet technology and computer technology, especially the application and promotion of the third generation mobile communication technology, people's reading habits have also changed. People are eager to browse web to get information conveniently through wireless network at any time and place. This is especially true on campus, where there is a large number of mobile device users, the need for this kind of wireless Internet access is even more urgent. However, mobile devices have many completely different characteristics, such as PCs, which makes the original HTML page can not work well on mobile devices, which brings opportunities to the development of mobile websites. Based on the above problems, this paper starts with the analysis of the current situation of campus website mobility, and puts forward a solution of campus news website mobility based on news collection. This paper mainly studies and solves two problems, one is how to extract information from the existing school news website and store it in the database, the other is how to display this information on the user's mobile device conveniently and effectively. The system adopts the rule-based method to realize the collection, obtains the web page information through the http protocol, and then uses the system and the user-customized rules to extract the effective information of the page to the server and store it in the database through the DOM tree. In addition, a data processing module is written to process the collected data. The module unifies the access control and transmits it to the client native application and mobile browser through json and web pages. Web pages use different page templates depending on the client. These two forms can meet the different requirements of different customers for the system. At present, the system has been applied to the mobile application of Guangdong second normal University as part of the mobile campus. The main characteristics of this system are as follows: first, the use of collection to obtain the data of the old website system, different from other mobile websites directly in the old system of the development of the way, can be more rapid and extensive combination with the old system; Second, at the same time, it provides the interface used by web app page and native application system, which supports a variety of devices more widely, and can also meet the performance requirements of some customers to the maximum extent. Third, the system adopts the form of middleware, which can be deployed separately from the old system, which can make the server deployment more flexible.
【學(xué)位授予單位】:華南理工大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TP393.092
【參考文獻(xiàn)】
相關(guān)期刊論文 前6條
1 張逸;賈金璽;;新聞網(wǎng)站的移動(dòng)化之路[J];重慶工商大學(xué)學(xué)報(bào)(社會(huì)科學(xué)版);2013年02期
2 譚翔緯;;利用JSON實(shí)現(xiàn)Android客戶端與Web服務(wù)器間的數(shù)據(jù)交互[J];福建電腦;2013年02期
3 付亮;于立娟;陳幽君;秦雯;;2012-2013年移動(dòng)互聯(lián)網(wǎng)發(fā)展趨勢(shì)綜述[J];互聯(lián)網(wǎng)天地;2013年02期
4 劉文;甘志春;李文;王更輝;;基于XML和JSON的格式化網(wǎng)絡(luò)參數(shù)文件研究[J];計(jì)算機(jī)與網(wǎng)絡(luò);2013年24期
5 王左利;;校園移動(dòng)平臺(tái):未來(lái)的主角[J];中國(guó)教育網(wǎng)絡(luò);2012年11期
6 ;移動(dòng)校園 下一個(gè)競(jìng)技場(chǎng)[J];中國(guó)教育網(wǎng)絡(luò);2012年11期
本文編號(hào):2473526
本文鏈接:http://www.lk138.cn/guanlilunwen/ydhl/2473526.html
最近更新
教材專著