【正文】
09 指導(dǎo)教師: 巫曉琳(講師) 外文出處:(外文) A personal web page tailoring toolkit for mobile devices 附 件:; 指導(dǎo)教師評語:所選擇的外文資料與畢業(yè)設(shè)計課題密切相關(guān),反映了ASP應(yīng)用系統(tǒng)開發(fā)的先進理念,學(xué)習(xí)了一些ASP中數(shù)據(jù)庫的開發(fā)技巧與方法。s browser. Then the Web services exported by Configuration Manager are used by it and Mobile Proxy to access the backend database where user preferences are stored.Fig. 8. The munication between these three ponents3. Detailed design, standards, and interfacesIn this section, we will describe the system design, standards, and interfaces details of the three major ponents in our system and the problems encountered. Also, our solutions to these problems are depicted. The system ponents and their interfaces are shown in Fig. 9.Fig. 9. System ponents and their interfaces.In Fig. 9, we can see that, almost all of the interfaces are iw, . Web interface. Because our system is designed for Web application, the iw interface enables us to develop different system ponents by different programming languages or platforms. Hence, it provides crossplatform munication for system development.. Page TailorPage Tailor is designed to be implemented in JavaScript because of the following considerations. 1. JavaScript was designed to add interactivity to HTML pages. This point conforms to the first objective of this paper, . easytouse, since we can embed the configuration tool in a Web page, so that users can configure their settings directly in the browser. 2. By using JavaScript, we can manipulate a Web page through the DOM interface. DOM provides the interface between the JavaScript and original Web pages. In other words, we can change the appearance of a Web page to reflect the user39。根據(jù)個人的喜好,這些序列塊也可以改變。移動設(shè)備的廣泛使得通過他們?yōu)g覽網(wǎng)頁變得普通。因此,在本研究中,我們設(shè)計了一個旨在幫助用戶為手持設(shè)備瀏覽而個性化移動網(wǎng)頁的系統(tǒng)。一些著名的網(wǎng)站上甚至可能含有大量的宣傳廣告。下載的移動代碼應(yīng)與至少前兩名流行的瀏覽器合作,如微軟的Internet Explorer和Firefox Web瀏覽器。本研究的主要貢獻如下。在第2節(jié)中,一個系統(tǒng)的概述,并提出了三個主要組成部分。首先,用戶必須使用PC或筆記本電腦指定他/她的一個頁面喜好。工作完成后,有關(guān)此網(wǎng)頁的喜好將發(fā)送回,并儲存在以后使用(2號線)的數(shù)據(jù)庫中。系統(tǒng)的設(shè)計細節(jié)在第3節(jié)中介紹。 頁面定制后窗口是在用戶的瀏覽器上啟動,有些操作是在后臺自動執(zhí)行的。例如,在這張照片上半部分包含的信息比在底部的多。 圖 6重新排列選定的區(qū)塊。圖 7網(wǎng)頁用戶喜好的內(nèi)部表達。.移動代理移動代理是一種特制的代理,是為個性化過程完成的最后一步工作。我們也描述了問題解決方案。,我們可以通過DOM界面來操作網(wǎng)頁。這個書簽的源代碼是圖 10所示的。通過這種方法,我們可以根據(jù)需要動態(tài)加載外部JavaScript文件來做一些網(wǎng)頁的東西。一個創(chuàng)建的元素只存在于瀏覽器的內(nèi)存中,而不是作為這個網(wǎng)頁的一部分。,并作用于所有主要的瀏覽器如Internet Explorer和Firefox。因此,它為系統(tǒng)的發(fā)展提供了跨平臺的通信。頁面定制是第一個在用戶的瀏覽器上被下載并執(zhí)行的。兩個Web服務(wù)允許系統(tǒng)其他組件通過編程方式來訪問喜好。在換言之,當(dāng)一個用戶添加一個塊到頁面定制窗口是,頁面定制將內(nèi)部生成該塊的XPath表達式。在這張照片里,三個顯示是從左至右的。這一行動的目的是幫助用戶加速凝結(jié)時間。所有關(guān)于本網(wǎng)頁的喜好將被保存在一個由配置管理器管理的遠程數(shù)據(jù)庫中。例如,如果用戶訪問的網(wǎng)頁以前被個性化過,它就制作特定的網(wǎng)頁去滿足用戶的喜好。當(dāng)用戶輸入一個他/她的Web瀏覽器,一個HTTP請求的URL發(fā)送到(1號線)在URL中指定的相應(yīng)的Web服務(wù)器。也給出了實例演示來解釋如何利用該建議的工具消除不必要的滾動。 。.移動網(wǎng)頁內(nèi)容自動提取 我們建議的內(nèi)容適應(yīng)算法可以自動調(diào)整網(wǎng)頁到移動設(shè)備。例如,使用適當(dāng)?shù)囊暵犉鞑模ㄈ缤怀觯┯脩艨梢栽诰W(wǎng)頁用不同的尺寸一個接一個的選擇塊。此外,所有完成此工作需要的代碼(即個性化網(wǎng)頁)在訪問時應(yīng)該很快的被下載。幸運的是,一些著名的網(wǎng)站有另一種為移動設(shè)備提供的簡化版本的專門網(wǎng)頁內(nèi)容,例如谷歌手機[5]和雅虎移動[6]。因此,開發(fā)人員可以專注于應(yīng)用程序邏輯而不用擔(dān)心介紹的問題。當(dāng)在移動設(shè)備上瀏覽時,由于有限的屏幕尺寸,用戶必須向上和向下滾動去找到他們想要的信息。s preferences. So that the volume of data transmission to a mobile phone could be reduced, and thus reduce the consumption of wireless bandwidth as well.. Automatic mobile Web page content extractionThe content adapting algorithm we proposed can automatically adapt Web pages to mobile devices. Users always only care about a part of the web content. Content adapting applications should provide a function to extract these parts from a Web page.. Research contributionThis paper discusses the problems encountered and our corresponding solutions. The major contributions of this research are listed below. 1. A crossbrowser configuration tool is designed. 2. The web based nature of our configuration tool allows a user to configure the settings from different puters, and requires no preinstallation of any software.3. Blocks in a Web page can be chosen correctly under the premise that the layout of a Web page does not change frequently.4. A web based management interface is provided.5. An automatic algorithm for mobile Web page generation is proposed.. Outline of this paperThis paper is divided into seven sections. The following is a brief description of the content of each section. In Section 2, an overview of the proposed system and its three major ponents are given. In Section 3, the System design details, problems encountered, and our corresponding solutions are illustrated. Furthermore, we discuss our mobile Web page generation algorithm in Section 4. In Section 5, some tests are conducted to evaluate our system. A practical example showing how to make use of the proposed tool to eliminate unnecessary scrolling is also presented. Several related works are discussed in Section 6. Finally, in Section 7, we make the conclusion and discuss about the future work.2. System design. OverviewBasically, the personalizing process in our Web page tailoring system prises two steps (Fig. 1). First, user must specify his/her preferences of a Web page using a PC or laptop. Second, he/she has to configure the browser on his/her mobile device to go through a specially made proxy, which is responsible for adjusting the content of Web pages according to the preferences set in the first step. Two pictures are given below to illustrate separately the relationship between a user, our Web page tailoring system, and a remote Web server (such as ) in each step.Fig. 2 describes the interaction in the first step. When a user enters a URL in his/her Web browser, a HTTP request is sent to (Line 1) the corresponding Web server specified in the URL. After processing the request by the server, a HTTP response is sent back (Line 1). If the user wants to personalize that page, a program hosted on a tiny Web server included in our system would be downloaded (Line 2) and executed in his/her browser. With the help of that program, the user can specify his/her preferences simply by visual manipulations. After finishing the job, preferences about this