TWI720721B - Browsing operating system for web applications and method thereof - Google Patents

Browsing operating system for web applications and method thereof Download PDF

Info

Publication number
TWI720721B
TWI720721B TW108144710A TW108144710A TWI720721B TW I720721 B TWI720721 B TW I720721B TW 108144710 A TW108144710 A TW 108144710A TW 108144710 A TW108144710 A TW 108144710A TW I720721 B TWI720721 B TW I720721B
Authority
TW
Taiwan
Prior art keywords
webpage
detection
record
browsing
browser
Prior art date
Application number
TW108144710A
Other languages
Chinese (zh)
Other versions
TW202123028A (en
Inventor
賴怡良
馬翎嘉
Original Assignee
中華電信股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中華電信股份有限公司 filed Critical 中華電信股份有限公司
Priority to TW108144710A priority Critical patent/TWI720721B/en
Application granted granted Critical
Publication of TWI720721B publication Critical patent/TWI720721B/en
Publication of TW202123028A publication Critical patent/TW202123028A/en

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

This invention provides a browsing operating system for web applications and a method thereof that after a webpage application is loaded in a browser, a probe page is added to the previous and next page, respectively, of the current webpage records of the browser's browsing history, such that when a user clicks the back button or the forward button of the browser, the browsing operation will not be performed in the original browsing order, instead, the browsing operation is performed according to the predefined browsing path of the web application so as to improve the user experience of using the web application and increase the efficiency of the web application. This invention also provides a browsing operating method for a web application.

Description

用於網頁應用程式之瀏覽操作系統及方法 Browsing operating system and method for webpage application

本發明係關於瀏覽脈絡導向網頁之技術,尤其是關於一種用於網頁應用程式之瀏覽操作系統及方法。 The present invention relates to the technology of browsing context-oriented web pages, and more particularly to a browsing operating system and method for web application programs.

目前企業各種內部服務或客戶服務的資訊系統普遍利用網頁應用程式作為使用者介面,而現今的網頁應用程式多數需透過瀏覽器進行瀏覽。 At present, various internal service or customer service information systems of enterprises generally use web applications as user interfaces, and most of today's web applications need to be browsed through a browser.

在習知的瀏覽器中,瀏覽器包含後退按鈕、前進按鈕、網址列和網頁顯示區。當在網址列輸入網址時,伺服器會取得該網址對應的網頁並呈現在網頁顯示區,同時記錄該網址於瀏覽器的歷史紀錄中。瀏覽器會依瀏覽順序記錄曾瀏覽過的網頁網址並儲存於歷史紀錄中。瀏覽器的歷史紀錄一般是存放網址及狀態的堆疊資料結構、具有指標指向當前瀏覽網頁的網址以及可以使用取代當前紀錄、增加紀錄與移動指標等操作操作歷史紀錄及變更瀏覽器瀏覽頁面。 In the conventional browser, the browser includes a back button, a forward button, a address bar, and a web page display area. When entering a web address in the address bar, the server will obtain the web page corresponding to the web address and display it in the web page display area, and at the same time record the web address in the browser's history. The browser will record the URLs of web pages that have been browsed in the order of browsing and store them in the history. Browser history is generally a stacked data structure for storing URLs and statuses, URLs with indicators pointing to currently browsed webpages, and operation history records that can replace current records, add records, and move indicators, and change browser browsing pages.

舉例來說,使用者可透過瀏覽器的後退或前進按鈕依歷史紀錄中記錄的網址的順序瀏覽之前曾經開啟的網頁。在這個情況下,如果歷 史紀錄中的當前網頁有前一頁,則後退按鈕將為可用,此時使用者若點擊後退按鈕,瀏覽器會移動當前網頁指標以指向前一頁,請求該前一頁的網址並顯示該前一頁的網頁於網頁顯示區。相似的,如果歷史紀錄中的當前網頁有後一頁,則前進按鈕將為可用,此時使用者若點擊前進按鈕,瀏覽器會移動當前網頁指標以指向後一頁,並請求該後一頁的網址以顯示該後一頁的網頁於網頁顯示區。 For example, the user can browse the previously opened web pages in the order of the URLs recorded in the history through the back or forward buttons of the browser. In this case, if the calendar If the current webpage in the history record has a previous page, the back button will be available. At this time, if the user clicks the back button, the browser will move the current webpage indicator to point to the previous page, request the URL of the previous page and display it The webpage of the previous page is in the webpage display area. Similarly, if the current webpage in the history has a next page, the forward button will be available. At this time, if the user clicks the forward button, the browser will move the current page indicator to point to the next page and request the next page The URL to display the next page in the page display area.

然而,現今的網頁應用程式中通常包含不只一個網頁。一般來說,網頁應用程式會設計一套瀏覽脈絡,例如樹狀瀏覽脈絡,以引導使用者瀏覽整個網頁應用程式。舉例來說,網頁應用程式中的各個網頁會各自設置按鈕或連結,致使使用者在瀏覽器中可以點擊按鈕或連結以依照網頁應用程式欲引導使用者之瀏覽脈絡導向下一個網頁。 However, today's web applications usually contain more than one web page. Generally speaking, a web application will design a set of browsing context, such as a tree browsing context, to guide the user to browse the entire web application. For example, each web page in the web application will have its own button or link set so that the user can click the button or link in the browser to navigate to the next web page according to the web application's intention to guide the user's browsing context.

在一個情況下,若要瀏覽具有樹狀瀏覽脈絡的網頁應用程式,使用者必須從網頁應用程式的根頁面(例如,入口網頁)進入,點擊網頁內按鈕或連結進行瀏覽,使得瀏覽器能記錄正確的瀏覽順序(亦即,瀏覽路徑)於歷史紀錄中,致使使用者點擊後退按鈕或前進按鈕順著瀏覽路徑前往欲瀏覽的網頁(例如,回到入口網頁)。 In one case, if you want to browse a web application with a tree browsing context, the user must enter from the root page of the web application (for example, the portal page), click a button or link in the web page to browse, so that the browser can record The correct browsing sequence (that is, the browsing path) is in the history record, causing the user to click the back button or the forward button to follow the browsing path to the webpage to be browsed (for example, back to the portal webpage).

然而在這個情況下,如果使用者並非從入口網頁開始瀏覽(例如,從網頁應用程式的其他頁面進入),由於歷史紀錄並未完整記錄網頁應用程式的瀏覽路徑,此時使用者點擊後退按鈕瀏覽器將會離開網頁應用程式而無法回到入口網頁。此外,如果瀏覽頁面時瀏覽器尚未記錄先前瀏覽紀錄,前進按鈕將變為不可用,浪費了前進按鈕的設計。 However, in this case, if the user does not start browsing from the portal page (for example, from another page of the web application), since the history record does not fully record the browsing path of the web application, the user clicks the back button to browse The browser will leave the web application and cannot return to the portal page. In addition, if the browser has not recorded the previous browsing history when browsing the page, the forward button will become unavailable, wasting the design of the forward button.

另一方面,如果使用者想快速找到欲前往的網頁(例如,回到入口網頁),必須先將瀏覽路徑的所有網頁再瀏覽一次,或是網頁應用程式需額外地在網頁中設置連結或按鈕以協助引導使用者,因此影響了使用者體驗。雖然瀏覽器提供有歷史紀錄的下拉式清單以協助找到之前的網址紀錄,但使用者不一定能明確知道顯示在清單的網址或網頁標題代表的就是入口網頁,並且當使用者在手機或其他特殊裝置上瀏覽網頁應用程式時,鑑於瀏覽器的設計,並非如此容易地開啟歷史紀錄的清單執行快速網頁導向的操作。 On the other hand, if the user wants to quickly find the webpage he wants to go to (for example, back to the portal page), he must first browse all the webpages in the browsing path, or the web application needs to set up links or buttons on the webpage. To help guide users, thus affecting the user experience. Although the browser provides a drop-down list of history records to help find the previous URL records, the user may not know clearly that the URL or page title displayed in the list represents the portal page, and when the user is on a mobile phone or other special When browsing web applications on the device, due to the design of the browser, it is not so easy to open the history list to perform quick web-oriented operations.

因此,如何設計用於網頁應用程式的瀏覽操作系統及方法,使得瀏覽器的瀏覽操控能融入網頁應用程式,使其能成為一個整體性應用程式並提升使用者瀏覽體驗,並增加網頁應用程式的效率,已經成為相關領域中的重要課題之一。 Therefore, how to design a browsing operating system and method for web applications so that the browsing control of the browser can be integrated into the web applications, so that it can become a holistic application and improve the user’s browsing experience, and increase the efficiency of the web application Efficiency has become one of the important issues in related fields.

為解決至少上述問題,本發明提供一種用於網頁應用程式之瀏覽操作系統,包括:網頁,用於供載入至包括後退按鈕、前進按鈕、網頁顯示區及歷史紀錄之瀏覽器;以及導覽模組,包含在該網頁中,並且包括:載入事件處理單元,用以於偵測該網頁被該瀏覽器載入至該網頁顯示區所發出的載入事件時,於該歷史紀錄中建立探測網頁結構;探測事件處理單元,用於偵測該後退按鈕或該前進按鈕被點擊而觸發的探測事件;以及瀏覽脈絡計算單元,係與該探測事件處理單元連接,其中,於該探測事件處理單元偵測到該探測事件時,令該瀏覽脈絡計算單元計算該網頁應用 程式的下一網頁的網址,以由該探測事件處理單元提供該下一網頁,俾供該瀏覽器載入至該網頁顯示區並更新該探測網頁結構。 In order to solve at least the above-mentioned problems, the present invention provides a browsing operating system for web applications, including: web pages for loading into browsers including back button, forward button, web page display area and history records; and navigation The module is included in the webpage, and includes: a loading event processing unit, which is used to create in the history record when detecting the loading event that the webpage is loaded into the webpage display area by the browser Detecting the structure of the webpage; a detection event processing unit for detecting a detection event triggered by the click of the back button or the forward button; and a browsing context calculation unit, which is connected to the detection event processing unit, wherein the detection event is processed When the unit detects the detection event, it makes the browsing context calculation unit calculate the web application The URL of the next webpage of the program is provided by the detection event processing unit for the browser to load into the webpage display area and update the detection webpage structure.

在一實施例中,該瀏覽脈絡計算單元復包括瀏覽脈絡模型,該瀏覽脈絡模型係儲存該網頁應用程式預先定義的瀏覽路徑。 In one embodiment, the browsing context calculation unit further includes a browsing context model, and the browsing context model stores a browsing path predefined by the web application.

在一實施例中,該探測事件包括後退探測及前進探測。在進一步的實施例中,該瀏覽脈絡計算單元根據該瀏覽路徑及該網頁的使用狀態計算該後退探測或該前進探測將前往的該下一網頁的網址。 In one embodiment, the detection event includes a backward detection and a forward detection. In a further embodiment, the browsing context calculation unit calculates the URL of the next webpage to which the backward detection or the forward detection will go according to the browsing path and the usage status of the webpage.

在一實施例中,該載入事件包括該網頁的第一次載入及重複載入。在進一步的實施例中,該探測網頁結構包括具有相同網址但不同標記之後退探測網頁紀錄、目標網頁紀錄及前進網頁紀錄。 In one embodiment, the loading event includes the first loading and repeated loading of the webpage. In a further embodiment, the detection webpage structure includes a back detection webpage record, a target webpage record, and a forward webpage record with the same URL but different tags.

在一實施例中,該探測事件係由瀏覽器響應於該後退按鈕或該前進按鈕被點擊而將該歷史紀錄中的當前網頁指標自該目標網頁紀錄移至該後退探測網頁紀錄或該前進探測網頁紀錄所觸發。 In one embodiment, the detection event is moved by the browser in response to the back button or the forward button being clicked to move the current webpage index in the history record from the target webpage record to the back detection webpage record or the forward detection Triggered by web records.

本發明復提供一種用於網頁應用程式的瀏覽操作方法,包括:提供該網頁應用程式之包括導覽模組的網頁,以供瀏覽器載入至該瀏覽器的網頁顯示區;在偵測該網頁被該瀏覽器載入所發出的載入事件時,由該導覽模組在該瀏覽器的歷史紀錄中建立探測網頁結構;在偵測該瀏覽器的後退按鈕或前進按鈕被點擊而觸發之探測事件時,由該導覽模組計算該網頁應用程式的下一網頁的網址;以及提供該網頁應用程式的該下一網頁以供該瀏覽器載入至該網頁顯示區,並由該導覽模組更新該探測網頁結構。 The present invention further provides a browsing operation method for a webpage application, including: providing a webpage including a navigation module of the webpage application for the browser to load into the webpage display area of the browser; When a web page is loaded by the browser, the navigation module creates a detection page structure in the browser’s history; it is triggered by detecting that the browser’s back button or forward button is clicked When detecting the event, the navigation module calculates the URL of the next web page of the web application; and provides the next web page of the web application for the browser to load into the web display area, and the The navigation module updates the structure of the detected webpage.

在一實施例中,建立該探測網頁結構包括:將該歷史紀錄中該網頁的當前網頁紀錄取代為後退探測網頁紀錄;在該歷史紀錄中加入該網頁的目標網頁紀錄;以及在該歷史紀錄中加入該網頁的前進探測網頁紀 錄,其中,該後退探測網頁紀錄、該目標網頁紀錄及該前進探測網頁紀錄皆具有與該網頁相同的網址並藉由不同的標記彼此區分開。 In one embodiment, establishing the detection webpage structure includes: replacing the current webpage record of the webpage in the history record with the back detection webpage record; adding the target webpage record of the webpage to the history record; and in the history record Join the forward detection page record of the page Records, where the backward detection webpage record, the target webpage record, and the forward detection webpage record all have the same URL as the webpage and are distinguished from each other by different tags.

在一實施例中,該探測事件係由該瀏覽器響應於該後退按鈕或該前進按鈕被點擊而將該歷史紀錄中的當前網頁指標自該目標網頁紀錄移動至該後退探測網頁紀錄或該前進探測網頁紀錄所觸發。 In one embodiment, the detection event is moved by the browser in response to the back button or the forward button being clicked to move the current webpage indicator in the history record from the target webpage record to the back detection webpage record or the forward Detect triggered by web records.

在一實施例中,該當前網頁指標自該目標網頁紀錄移動至該後退探測網頁紀錄之情況係為後退探測,以及該當前網頁指標自該目標網頁紀錄移動至該前進探測網頁紀錄之情況係為前進探測。 In one embodiment, the movement of the current webpage index from the target webpage record to the back detection webpage record is back detection, and the movement of the current webpage index from the target webpage record to the forward detection webpage record is Forward detection.

在一實施例中,該導覽模組係儲存預先定義的該網頁應用程式之瀏覽路徑。在進一步的實施例中,該計算該網頁應用程式的下一網頁的網址復包括根據該瀏覽路徑及該網頁的使用狀態計算該網頁應用程式將後退或前進的該下一網頁的網址。 In one embodiment, the navigation module stores a predefined browsing path of the web application program. In a further embodiment, the calculating the URL of the next webpage of the webpage application includes calculating the URL of the next webpage that the webpage application will go back or forward according to the browsing path and the usage status of the webpage.

在一實施例中,該載入事件包括該網頁的第一次載入及重複載入。 In one embodiment, the loading event includes the first loading and repeated loading of the webpage.

由上可知,本發明主要藉由在網頁應用程式的各網頁中加入導覽模組,透過監聽瀏覽器載入事件或後退按鈕及前進按鈕之探測事件,藉由操作歷史紀錄以達成導向操作。因此,在使用本發明之瀏覽操作系統時,點擊後退按鈕或前進按鈕將不會依歷史紀錄的清單順序載入網頁,而是導覽模組根據當前網頁網址及當前網頁的操作狀態計算欲前往的網址。舉例來說,在具有樹狀結構的網頁應用程式中按下後退按鈕並非回到前一次瀏覽頁面,而是導向樹狀結構中的根頁面(或是根據當前網頁的操作狀態導向子頁面或相鄰頁面)。另外,導覽模組係包含於網頁應用程式的網頁中 一起下載,故不需要安裝額外的瀏覽器附加模組,亦不會有瀏覽器不允許變更瀏覽器後退及前進按鈕導向操作的安全議題。 It can be seen from the above that the present invention mainly implements guided operations by adding navigation modules to each page of the web application, monitoring browser loading events or detection events of the back button and forward button, and operating history records. Therefore, when using the browsing operating system of the present invention, clicking the back button or the forward button will not load the web page in the order of the history record list, but the navigation module will calculate the current web page URL and the operating status of the current web page. URL. For example, in a web application with a tree structure, pressing the back button does not return to the previous page, but instead leads to the root page in the tree structure (or to a subpage or related page based on the operating status of the current web page). Next page). In addition, the navigation module is included in the web page of the web application Download together, so there is no need to install additional browser add-on modules, and there will be no security issues that the browser does not allow to change the navigation operation of the browser back and forward buttons.

100‧‧‧瀏覽器 100‧‧‧Browser

101‧‧‧後退按鈕 101‧‧‧Back button

102‧‧‧前進按鈕 102‧‧‧Forward button

103‧‧‧網址列 103‧‧‧Address bar

104‧‧‧網頁顯示區 104‧‧‧Webpage display area

200‧‧‧網頁 200‧‧‧Web

210‧‧‧導覽模組 210‧‧‧Navigation Module

211‧‧‧載入事件處理單元 211‧‧‧Load event processing unit

212‧‧‧探測事件處理單元 212‧‧‧Detection event processing unit

213‧‧‧瀏覽脈絡計算單元 213‧‧‧Browse context calculation unit

214‧‧‧瀏覽脈絡模型 214‧‧‧Browse the context model

301‧‧‧目標網頁 301‧‧‧Landing page

302‧‧‧後退探測網頁 302‧‧‧Backward detection webpage

303‧‧‧前進探測網頁 303‧‧‧Forward detection webpage

304‧‧‧當前網頁指標 304‧‧‧Current page index

510、510’‧‧‧狀態 510, 510’‧‧‧Status

710、710’‧‧‧狀態 710, 710’‧‧‧Status

720、720’‧‧‧狀態 720, 720’‧‧‧Status

S401~S409‧‧‧步驟 S401~S409‧‧‧Step

S601~S610‧‧‧步驟 S601~S610‧‧‧Step

通過參考結合附圖的下述描述,可以理解本發明,其中,相同的附圖標記標識相似的元件,且其中: The present invention can be understood by referring to the following description in conjunction with the accompanying drawings, in which the same reference numerals identify similar elements, and in which:

第1圖係根據一些實施例圖示本發明之瀏覽操作系統的系統架構圖; Figure 1 is a system architecture diagram illustrating the browsing operating system of the present invention according to some embodiments;

第2圖係根據一些實施例圖示本發明之瀏覽操作系統的局部放大圖; Figure 2 is a partial enlarged view illustrating the browsing operating system of the present invention according to some embodiments;

第3圖係根據一些實施例圖示應用本發明之瀏覽操作系統之實施態樣; Figure 3 illustrates the implementation of the browsing operating system applying the present invention according to some embodiments;

第4圖係根據一些實施例圖示本發明之瀏覽操作系統之一使用態樣之步驟流程圖; FIG. 4 is a flowchart illustrating the steps of a usage mode of the browsing operating system of the present invention according to some embodiments;

第5圖係根據一些實施例圖示使用本發明之瀏覽操作系統之另一實施態樣; Figure 5 illustrates another implementation aspect of the browsing operating system using the present invention according to some embodiments;

第6圖係根據一些實施例圖示本發明之瀏覽操作系統之另一使用態樣的步驟流程圖;以及 Fig. 6 is a flowchart illustrating another usage pattern of the browsing operating system of the present invention according to some embodiments; and

第7圖係根據一些實施例圖示本發明之瀏覽操作系統之另一實施態樣。 FIG. 7 illustrates another implementation aspect of the browsing operating system of the present invention according to some embodiments.

以下藉由特定的實施例說明本發明之實施方式,熟習此項技藝之人士可由本文所揭示之內容輕易地瞭解本案之其他優點及功效。本說明書所附圖式所繪示之結構、比例、大小等均僅用於配合說明書所揭示之內容,以供熟悉此技藝之人士之瞭解與閱讀,非用於限定本發明可實施之限定條件,故任何修飾、改變或調整,在不影響本案所能產生之功效及所能達成之目的下,均應仍落在本發明所揭示之技術內容得能涵蓋之範圍內。 The following specific examples illustrate the implementation of the present invention. Those who are familiar with the art can easily understand the other advantages and effects of this case from the content disclosed in this article. The structure, ratio, size, etc. shown in the drawings in this specification are only used to match the content disclosed in the specification for the understanding and reading of those who are familiar with the art, and are not used to limit the implementation of the present invention. Therefore, any modification, change or adjustment shall still fall within the scope of the technical content disclosed in the present invention, without affecting the effects and objectives that can be achieved in this case.

第1圖係揭示本發明之用於網頁應用程式之瀏覽操作系統之系統架構圖。 Fig. 1 is a diagram showing the system architecture of the browsing operating system used in web applications of the present invention.

網頁應用程式可透過瀏覽器來執行,瀏覽器100可設有後退按鈕101、前進按鈕102、網址列103及網頁顯示區104。網址列103載入之網址對應的網頁將顯示於網頁顯示區104中,並且後退按鈕101及前進按鈕102可根據瀏覽器100當前的瀏覽器歷史紀錄(圖未示)提供使用者點擊以進入前一頁或後一頁網頁。在一實施例中,該瀏覽器100係顯示於顯示器上,該顯示器係設置於具有處理器之一主機中或與具有處理器之一主機電性連接。 The web application can be executed through a browser. The browser 100 can be provided with a back button 101, a forward button 102, a address bar 103, and a web page display area 104. The webpage corresponding to the web address loaded in the address bar 103 will be displayed in the webpage display area 104, and the back button 101 and the forward button 102 can provide the user to click to enter the previous browser based on the current browser history of the browser 100 (not shown) One page or the next page. In one embodiment, the browser 100 is displayed on a display, and the display is set in a host with a processor or is electrically connected to a host with a processor.

當使用者透過瀏覽器100載入網頁應用程式時,伺服器回傳對應之網頁200內將包含網頁導覽模組210。網頁導覽模組210可監聽後退按鈕101或前進按鈕102被點擊時發出的事件(例如,探測事件),藉由操作歷史紀錄以進行網頁應用程式內的導向操作。 When a user loads a webpage application through the browser 100, the server returns a corresponding webpage 200 that includes a webpage navigation module 210. The web navigation module 210 can monitor events (for example, detection events) emitted when the back button 101 or the forward button 102 is clicked, and perform guided operations in the web application by operating history records.

網頁導覽模組210包括載入事件處理單元211、探測事件處理單元212以及瀏覽脈絡計算單元213,以對應於網頁應用程式之載入事件或探測事件提供相對應的服務。具體而言,載入事件處理單元211可用以於 偵測該網頁被瀏覽器100載入所發出的載入事件時於歷史紀錄中建立探測網頁結構,探測事件處理單元212可用於偵測後退按鈕101或前進按鈕102被點擊而觸發的探測事件,且於探測事件處理單元212偵測到該探測事件時,令瀏覽脈絡計算單元213計算下一網頁的網址,以由探測事件處理單元212提供該下一網頁供瀏覽器100載入並更新該探測網頁結構。此外,瀏覽脈絡計算單元213包含有事先建立好之瀏覽脈絡模型214,瀏覽脈絡模型214定義有網頁應用程式的瀏覽路徑。 The web page navigation module 210 includes a loading event processing unit 211, a detection event processing unit 212, and a browsing context calculation unit 213 to provide corresponding services corresponding to the loading event or detection event of the web application. Specifically, the loading event processing unit 211 can be used for The detection event processing unit 212 can be used to detect the detection event triggered by clicking the back button 101 or the forward button 102 when detecting the loading event issued by the browser 100 when the web page is loaded by the browser 100. And when the detection event processing unit 212 detects the detection event, the browsing context calculation unit 213 is made to calculate the URL of the next webpage, so that the detection event processing unit 212 provides the next webpage for the browser 100 to load and update the detection. Web page structure. In addition, the browsing context calculation unit 213 includes a pre-established browsing context model 214, and the browsing context model 214 defines the browsing path of the web application.

第2圖係根據一些實施例揭示本發明的瀏覽脈絡模型214所記錄網頁應用程式的瀏覽路徑。如第2圖所示,實線指向在網頁應用程式中執行後退瀏覽時網頁顯示區應顯示的下一網頁的網址,而虛線指向執行前進瀏覽時網頁顯示區應顯示的前一網頁的網址。依照設計需求,網頁應用程式的瀏覽路徑亦可根據當前網頁的使用狀態決定下一頁或前一頁應當顯示的網頁。舉例來說,瀏覽路徑可設計為在當前網頁(例如,“http://www.myweb/home/page12”)的使用狀態的判斷變數“LeafOnly”為“true”時,則下一頁之網址將為“http://www.myweb/home/page21”;反之,若當前網頁的使用狀態的判斷變數“LeafOnly”為“false”時,則下一頁之網址將為“http://www.myweb/home/page2”。然上述之判斷當前網頁的使用狀態也可藉由使用多個變數進行判斷、或藉由其他判斷機制達成,並無特別限制。 FIG. 2 shows the browsing path of the web application recorded by the browsing context model 214 of the present invention according to some embodiments. As shown in Figure 2, the solid line points to the URL of the next web page that should be displayed in the web page display area when performing backward browsing in the web application, and the dotted line points to the URL of the previous web page that should be displayed in the web page display area when performing forward browsing. According to design requirements, the browsing path of the web application can also determine the web page that should be displayed on the next or previous page according to the current web page usage status. For example, the browsing path can be designed to be the URL of the next page when the judgment variable "LeafOnly" is "true" for the usage status of the current webpage (for example, "http://www.myweb/home/page12") It will be "http://www.myweb/home/page21"; on the contrary, if the judgment variable "LeafOnly" of the current web page usage status is "false", the URL of the next page will be "http://www. .myweb/home/page2". However, the aforementioned judgment of the current web page usage status can also be achieved by using multiple variables or by other judgment mechanisms, and there is no particular limitation.

第3圖係根據一些實施例圖示本發明之瀏覽操作系統響應於載入事件或探測事件之處理後建立的歷史紀錄堆疊資料結構圖。不同於習知瀏覽器的歷史紀錄堆疊資料結構(亦即,僅依瀏覽順序記錄曾瀏覽過的 網頁網址),本發明於應顯示的目標網頁301的前後分別加入後退探測網頁302及前進探測網頁303以形成探測網頁結構。目標網頁301、後退探測網頁302及前進探測網頁303皆具有相同的網址但附加不同的標記,以表示該網頁已被處理過並得以區分上述三種不同的頁面。本發明的歷史紀錄堆疊資料結構還具有當前網頁指標304,係在瀏覽操作系統完成建立後退探測網頁302及前進探測網頁303後指向目標網頁301。 FIG. 3 is a diagram illustrating the historical record stack data structure created by the browsing operating system of the present invention in response to the processing of the loading event or the detection event according to some embodiments. Different from the historical record stack data structure of conventional browsers (that is, only records that have been browsed are recorded in the order of browsing) Web page URL), the present invention adds a back detection web page 302 and a forward detection web page 303 before and after the target web page 301 to be displayed to form a detection web page structure. The target webpage 301, the backward detection webpage 302, and the forward detection webpage 303 all have the same URL but different tags are added to indicate that the webpage has been processed and the above three different pages can be distinguished. The history record stack data structure of the present invention also has a current web page indicator 304, which points to the target web page 301 after the browsing operating system completes the establishment of the back detection web page 302 and the forward detection web page 303.

其次,本發明之用於網頁應用程式之瀏覽操作方法包括:提供該網頁應用程式之包括導覽模組的網頁,以供瀏覽器載入至該瀏覽器的網頁顯示區;在偵測該網頁被該瀏覽器載入所發出的載入事件時,由該導覽模組在該瀏覽器的歷史紀錄中建立探測網頁結構;在偵測該瀏覽器的後退按鈕或前進按鈕被點擊而觸發之探測事件時,由該導覽模組計算該網頁應用程式的下一網頁的網址;以及提供該網頁應用程式的下一網頁以供該瀏覽器載入至該網頁顯示區,並由該導覽模組更新該探測網頁結構。詳細步驟將於後以第4至7圖詳細說明之。 Secondly, the browsing operation method for a web application program of the present invention includes: providing a web page including a navigation module of the web application program for the browser to load into the web page display area of the browser; When the loading event issued by the browser is loaded, the navigation module creates a detection page structure in the browser’s history; it is triggered by detecting that the browser’s back button or forward button is clicked When detecting an event, the navigation module calculates the URL of the next web page of the web application; and provides the next web page of the web application for the browser to load into the web display area, and the navigation The module updates the structure of the detection webpage. The detailed steps will be described in detail in Figures 4 to 7.

第4圖係揭示本發明之瀏覽操作系統響應於載入事件建立探測網頁結構的步驟流程圖。在一實施例中,載入事件可在網頁應用程式的網頁第一次載入或重新載入時發生。 Figure 4 is a flow chart showing the steps of the browser operating system of the present invention in response to a loading event to establish a detection webpage structure. In one embodiment, the loading event may occur when the web page of the web application is first loaded or reloaded.

在步驟S401中,載入事件處理單元在接收到載入事件時,先檢查網頁是否已附加標記。在沒有標記的情況下代表網頁為第一次載入,並接續執行步驟S402。在步驟S402中,載入事件處理單元修改歷史紀錄以使後退探測網頁紀錄取代當前網頁紀錄(亦即,歷史紀錄中未經處理的網頁紀錄)。接著,執行步驟S403,將應顯示的目標網頁紀錄加入歷史紀錄(例 如,堆疊在歷史紀錄堆疊資料結構中的後退探測網頁紀錄上),以及在步驟S404中將前進探測網頁紀錄加入歷史紀錄。在前述步驟S402至S404期間,當前網頁指標對應於後退探測網頁紀錄、目標網頁紀錄及前進探測網頁紀錄的建立順序依序指向對應的紀錄。由於在步驟S404時,當前網頁指標指向前進探測網頁紀錄,因此在步驟S405中將當前網頁指標後退一頁指向目標網頁紀錄,以完成探測網頁結構之建立。 In step S401, when the loading event processing unit receives the loading event, it first checks whether the webpage has a mark attached. If there is no mark, it means that the web page is loaded for the first time, and step S402 is executed continuously. In step S402, the loading event processing unit modifies the historical record so that the back-detected webpage record replaces the current webpage record (that is, the unprocessed webpage record in the historical record). Then, step S403 is executed to add the target webpage record that should be displayed to the historical record (for example For example, it is stacked on the back detection webpage record in the history record stack data structure), and the forward detection webpage record is added to the history record in step S404. During the aforementioned steps S402 to S404, the current webpage index corresponding to the creation sequence of the backward detection webpage record, the target webpage record, and the forward detection webpage record points to the corresponding records in order. Since in step S404, the current webpage indicator points to the forward detection webpage record, in step S405, the current webpage indicator is moved back one page to the target webpage record to complete the establishment of the detection webpage structure.

繼續參考第4圖,如果載入事件處理單元在步驟S401中判斷載入的網頁已附加過標記,則執行步驟S406,檢查網頁的標記是否為前進探測網頁。如果是前進探測網頁,則執行步驟S407,將當前網頁指標後退兩頁,指向之前加入歷史紀錄的網頁的後退探測網頁紀錄,接著執行步驟S402、S403、S404及S405以重新建立後退探測網頁紀錄、前進探測網頁紀錄和目標網頁紀錄。 Continuing to refer to FIG. 4, if the loading event processing unit determines in step S401 that the loaded webpage has been tagged, then step S406 is executed to check whether the tag of the webpage is a forward detection webpage. If it is a forward detection webpage, step S407 is executed to move the current webpage index back by two pages, pointing to the backward detection webpage record of the webpage previously added to the history record, and then perform steps S402, S403, S404 and S405 to re-create the backward detection webpage record, Advance detection of webpage records and target webpage records.

另一方面,如果載入事件處理單元在步驟S406中判斷網頁的標記不是前進探測網頁,則執行步驟S408檢查網頁是否為後退探測網頁。如果是後退探測網頁,則接續執行步驟S402、S403、S404及S405以重新建立後退探測網頁紀錄、前進探測網頁紀錄和目標網頁紀錄。相反的,如果在步驟S408中檢查網頁的標記不是後退探測網頁,則表示當前網頁指標是指向網頁之前加入歷史紀錄的目標網頁紀錄,故執行步驟S409,將當前網頁指標後退一頁指向之前加入歷史紀錄的後退探測網頁,並執行步驟S402、S403、S404及S405以重新建立後退探測網頁紀錄、前進探測網頁紀錄和目標網頁紀錄。 On the other hand, if the loading event processing unit determines in step S406 that the mark of the webpage is not a forward detection webpage, step S408 is executed to check whether the webpage is a backward detection webpage. If it is a backward detection webpage, steps S402, S403, S404 and S405 are successively executed to re-create the backward detection webpage record, the forward detection webpage record and the target webpage record. On the contrary, if the mark of the checked webpage in step S408 is not the back detection webpage, it means that the current webpage indicator points to the target webpage record that was added to the history before the webpage. Therefore, step S409 is executed to move the current webpage indicator back one page to the previous history. Record the backward detection webpage, and execute steps S402, S403, S404, and S405 to re-create the backward detection webpage record, the forward detection webpage record, and the target webpage record.

第5圖係根據一些實施例顯示載入事件處理單元執行第4圖的處理程序前後的歷史紀錄的狀態變化。舉例來說,開啟網頁“http://www.myweb/home/page1”時,歷史紀錄會如第5圖左側所示狀態510,僅有目標網頁“http://www.myweb/home/page1”的網址記錄在歷史紀錄堆疊結構中。在載入事件處理單元執行第4圖的處理程序後的歷史紀錄係如右側狀態510’所示,當前目標網頁紀錄已被後退探測網頁紀錄、目標網頁紀錄及前進探測網頁紀錄組成的探測網頁結構取代。 Fig. 5 shows the state change of the historical record before and after the processing procedure shown in Fig. 4 is executed by the loading event processing unit according to some embodiments. For example, when the webpage "http://www.myweb/home/page1" is opened, the history record will be 510 as shown on the left side of Figure 5, with only the target page "http://www.myweb/home/page1" "Is recorded in the history stack structure. After the loading event processing unit executes the processing procedure in Figure 4, the historical record is shown in the state 510' on the right. The current target webpage record has been detected by the back detection webpage record, the target webpage record, and the forward detection webpage record. replace.

第6圖係根據一些實施例揭示探測事件處理單元響應於探測事件的處理流程步驟圖。在一實施例中,探測事件可發生於當使用者點擊瀏覽器上的後退按鈕或前進按鈕使得歷史紀錄中的當前網頁指標移動時,或網頁應用程式依操作需要移動歷史紀錄中的當前網頁指標時(例如,前述載入事件處理單元執行載入事件之處理時移動當前網頁指標)。 Figure 6 is a diagram showing the processing flow steps of the detection event processing unit in response to the detection event according to some embodiments. In one embodiment, the detection event can occur when the user clicks the back button or the forward button on the browser to move the current web page indicator in the history record, or the web application moves the current web page indicator in the history record according to the operation needs. Time (for example, the aforementioned load event processing unit moves the current web page indicator when executing the processing of the load event).

具體來說,探測事件處理單元會接收到當前網頁指標被移動的事件,並在步驟S601中判斷這些事件是否為後退按鈕或前進按鈕所觸發,且在事件非由後退按鈕或前進按鈕觸發的情況下結束探測事件的處理,其中,判斷方法為:網頁應用程式在依操作需要移動當前網頁指標前會先設立旗標,並在當前網頁指標完成移動後移除旗標,故檢查此旗標即可判斷探測事件的觸發來源。 Specifically, the detection event processing unit will receive the event that the current webpage indicator is moved, and determine in step S601 whether these events are triggered by the back button or the forward button, and in the event that the event is not triggered by the back button or the forward button The processing of the detection event is ended. The judgment method is: the web application will set up a flag before moving the current web page indicator according to the operation needs, and remove the flag after the current web page indicator is moved. Therefore, checking the flag is The trigger source of the detection event can be judged.

接著,在判斷探測事件是由後退按鈕或前進按鈕觸發的情況下執行步驟S602,判斷當前網頁指標是否指向後退探測網頁紀錄(即,使用者點擊後退按鈕的後退探測)。如果是後退探測,執行步驟S610,呼叫瀏覽脈絡計算單元以依據瀏覽脈絡模型儲存的網頁應用程式的瀏覽路徑(例 如,第2圖所示)計算當前網頁後退後的新目標網頁的網址,接著執行步驟S604、S605、S606及S607以在歷史紀錄中重新建立新後退探測網頁紀錄、新前進探測網頁紀錄和新目標網頁紀錄。此外,步驟S604、S605、S606及S607係與上述第4圖中步驟S402、S403、S404及S405之建立後退探測網頁紀錄、前進探測網頁紀錄和目標網頁紀錄的步驟相同,於此不再贅述。 Then, if it is determined that the detection event is triggered by the back button or the forward button, step S602 is executed to determine whether the current web page indicator points to the back detection web page record (ie, the back detection when the user clicks the back button). If it is a backward detection, step S610 is executed to call the browsing context calculation unit to store the browsing path of the web application according to the browsing context model (e.g. For example, as shown in Figure 2) Calculate the URL of the new target webpage after the current webpage is backed up, and then perform steps S604, S605, S606, and S607 to re-create a new backpage detection webpage record, a new forward detection webpage record, and a new webpage record in the history record. Landing page records. In addition, steps S604, S605, S606, and S607 are the same as the steps S402, S403, S404, and S405 in Figure 4 above for establishing a backward detection webpage record, a forward detection webpage record, and a target webpage record, and will not be repeated here.

繼續參考第6圖,當探測事件處理單元在步驟S602中判斷當前網頁指標不指向後退探測網頁紀錄時,則執行步驟S608判斷當前網頁指標是否指向前進網頁紀錄(即,使用者點擊前進按鈕的前進探測)。如果是前進探測,執行步驟S608,呼叫瀏覽脈絡計算單元以依據瀏覽脈絡模型儲存的網頁應用程式的瀏覽路徑(例如,第2圖所示)計算當前網頁前進後的新目標網頁的網址。在一實施例中,網頁應用程式可能根據當前網頁的使用狀態而有不同的前進瀏覽路徑,例如在第2圖所示的瀏覽路徑中當前網頁“http://www.myweb/home/page12”的使用狀態的判斷變數“LeafOnly”為“true”時,則前進之新目標網頁之網址將為“http://www.myweb/home/page21”;反之,若當前網頁的使用狀態的判斷變數“LeafOnly”為“false”時,則前進之新目標網頁之網址將為“http://www.myweb/home/page2”。在瀏覽脈絡計算單元完成計算新目標網頁之網址後,探測事件處理單元接著執行步驟S609,將當前網頁指標後退兩頁指向之前歷史紀錄中加入的當前網頁的後退探測網頁紀錄,以及執行步驟S604、S605、S606及S607以在歷史紀錄中重新建立新後退探測網頁紀錄、新前進探測網頁紀錄和新目標網頁紀錄。 Continuing to refer to Figure 6, when the detection event processing unit determines in step S602 that the current web page indicator does not point to the backward detection web page record, step S608 is executed to determine whether the current web page indicator points to the forward web page record (that is, the user clicks the forward button to go forward). Detection). If it is forward detection, step S608 is executed to call the browsing context calculation unit to calculate the URL of the new target webpage after the current webpage is forwarded according to the browsing path of the webpage application stored in the browsing context model (for example, as shown in Figure 2). In an embodiment, the web application may have different forward browsing paths according to the current web page usage status, for example, in the browsing path shown in Figure 2, the current web page "http://www.myweb/home/page12" When the judgment variable "LeafOnly" is "true", the URL of the new target webpage that is forwarded will be "http://www.myweb/home/page21"; on the contrary, if the judgment variable of the current webpage is used When "LeafOnly" is "false", the URL of the new target webpage will be "http://www.myweb/home/page2". After the browsing context calculation unit has completed calculating the URL of the new target webpage, the detection event processing unit then executes step S609, which points the current webpage index back two pages to the back detection webpage record of the current webpage added to the previous history record, and executes steps S604, S605, S606 and S607 can re-create a new backward detection webpage record, a new forward detection webpage record and a new target webpage record in the historical record.

第7圖係根據一些實施例顯示探測事件處理單元執行第6圖的處理程序前後的歷史紀錄的狀態變化。 Fig. 7 shows the state changes of the history records before and after the processing procedure of Fig. 6 is executed by the detection event processing unit according to some embodiments.

在一些實施例中,第7圖左上側的狀態710表示按下後退按鈕時的歷史紀錄的狀態,此時當前網頁指標自目標網頁紀錄(在一實施例中為第2圖之瀏覽路徑所記載的網址“http://www.myweb/home/page12”)被移至後退探測網頁紀錄並觸發後退探測。第7圖右上側的狀態710’表示探測事件處理單元完成後退探測後建立的新後退探測網頁紀錄、新前進探測網頁紀錄和新目標網頁紀錄的歷史紀錄的狀態,此時,新目標網頁紀錄已改為後退後的新網址“http://www.myweb/home/pagel”,且當前網頁指標亦已指向新目標網頁紀錄。 In some embodiments, the state 710 on the upper left side of Fig. 7 represents the state of the history record when the back button is pressed. At this time, the current webpage index is recorded from the target webpage (in one embodiment, it is recorded in the browsing path in Fig. 2 The URL "http://www.myweb/home/page12") is moved to the back detection webpage record and triggers back detection. The status 710' on the upper right side of Figure 7 represents the status of the new back detection web page record, the new forward detection web page record, and the history record of the new target web page record created after the detection event processing unit completes back detection. At this time, the new target web page record has been Change to the new URL "http://www.myweb/home/pagel" after the back, and the current page indicators have also pointed to the new landing page record.

第7圖左下側的狀態720表示按下前進按鈕時的歷史紀錄的狀態,此時當前網頁指標自目標網頁紀錄(例如第2圖之瀏覽路徑所記載的網址“http://www.myweb/home/page12”處,並且當前網頁的使用狀態為“LeafOnly=true”)被移至前進探測網頁紀錄並觸發前進探測。相似地,第7圖右下側的狀態720’表示探測事件處理單元完成前進探測後的新前進探測網頁紀錄、新後退探測網頁紀錄和新目標網頁紀錄後的歷史紀錄的狀態,此時,新目標網頁紀錄已改為前進後的新網址“http://www.myweb/home/page21”,且當前網頁指標亦已指向新目標網頁紀錄。 The state 720 on the lower left side of Figure 7 represents the state of the history record when the forward button is pressed. At this time, the current web page index is recorded from the target web page (for example, the URL recorded in the browsing path in Figure 2 "http://www.myweb/" "home/page12", and the current web page usage status is "LeafOnly=true") is moved to the forward detection webpage record and triggers forward detection. Similarly, the state 720' on the lower right side of Figure 7 represents the state of the new forward detection webpage record, the new backward detection webpage record, and the history record after the new target webpage record after the detection event processing unit completes the forward detection. At this time, the new The landing page record has been changed to the new URL "http://www.myweb/home/page21" after the forwarding, and the current page indicators have also pointed to the new landing page record.

綜上所述,本發明之瀏覽操作系統主要藉由在網頁應用程式的各網頁中加入導覽模組,透過監聽瀏覽器載入事件或者後退按鈕及前進 按鈕之探測事件,藉由操作歷史紀錄以達成導向操作。因此,在使用本發明之瀏覽操作系統時,點擊後退按鈕或前進按鈕將不會依歷史紀錄的清單順序載入網頁,而是由導覽模組根據當前網頁網址及當前網頁的操作狀態計算欲前往的網址。舉例來說,在具有樹狀結構的網頁應用程式中按下後退按鈕並非回到前一次瀏覽頁面,而是導向樹狀結構中的根頁面(或是根據當前網頁的操作狀態導向子頁面或相鄰頁面)。另外,導覽模組包含於網頁中一起下載,故不需要安裝額外的瀏覽器附加模組,亦不會有瀏覽器不允許變更瀏覽器後退及前進按鈕導向操作的安全議題。 In summary, the browsing operating system of the present invention mainly adds navigation modules to each web page of the web application, and monitors browser loading events or back buttons and forwards. The detection event of the button, through the operation history record to achieve the oriented operation. Therefore, when using the browsing operating system of the present invention, clicking the back button or the forward button will not load the web page in the order of the history record list, but the navigation module calculates the desire based on the current web page URL and the operating status of the current web page. The URL to go to. For example, in a web application with a tree structure, pressing the back button does not return to the previous page, but instead leads to the root page in the tree structure (or to a subpage or related page based on the operating status of the current web page). Next page). In addition, the navigation module is included in the web page and downloaded together, so there is no need to install additional browser add-on modules, and there will be no security issues that the browser does not allow to change the navigation operation of the browser back and forward buttons.

上述實施例係用以例示性說明本發明之原理及其功效,而非用於限制本發明。任何熟習此項技藝之人士均可在不違背本發明之精神及範疇下,對上述實施例進行修改。因此本發明之權利保護範圍,應如後述之申請專利範圍所列。 The above-mentioned embodiments are used to exemplify the principles and effects of the present invention, but not to limit the present invention. Anyone who is familiar with this technique can modify the above-mentioned embodiments without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the rights of the present invention should be listed in the scope of patent application described later.

100‧‧‧瀏覽器 100‧‧‧Browser

101‧‧‧後退按鈕 101‧‧‧Back button

102‧‧‧前進按鈕 102‧‧‧Forward button

103‧‧‧網址列 103‧‧‧Address bar

104‧‧‧網頁顯示區 104‧‧‧Webpage display area

200‧‧‧網頁 200‧‧‧Web

210‧‧‧導覽模組 210‧‧‧Navigation Module

211‧‧‧載入事件處理單元 211‧‧‧Load event processing unit

212‧‧‧探測事件處理單元 212‧‧‧Detection event processing unit

213‧‧‧瀏覽脈絡計算單元 213‧‧‧Browse context calculation unit

214‧‧‧瀏覽脈絡模型 214‧‧‧Browse the context model

Claims (11)

一種用於網頁應用程式之瀏覽操作系統,包括:網頁,用於供載人至包括後退按鈕、前進按鈕、網頁顯示區及歷史紀錄之瀏覽器;以及導覽模組,包含在該網頁中,並且包括:載入事件處理單元,用以於偵測該網頁被該瀏覽器載入至該網頁顯示區所發出的載入事件時,於該歷史紀錄中建立探測網頁結構;探測事件處理單元,用於偵測該後退按鈕或該前進按鈕被點擊而觸發的探測事件;以及瀏覽脈絡計算單元,係與該探測事件處理單元連接,其中,該瀏覽脈絡計算單元復包括瀏覽脈絡模型,該瀏覽脈絡模型係儲存該網頁應用程式預先定義的瀏覽路徑,並且其中,於該探測事件處理單元偵測到該探測事件時,令該瀏覽脈絡計算單元基於該瀏覽路徑計算該網頁應用程式的下一網頁的網址,以由該探測事件處理單元提供該下一網頁,俾供該瀏覽器載入至該瀏覽器的網頁顯示區並更新該探測網頁結構。 A browsing operating system for web applications, including: a web page for carrying people to a browser including a back button, a forward button, a web page display area, and history records; and a navigation module included in the web page, It also includes: a loading event processing unit for establishing a detection webpage structure in the history record when detecting a loading event that the webpage is loaded into the webpage display area by the browser; a detection event processing unit, For detecting the detection event triggered by the click of the back button or the forward button; and a browsing context calculation unit connected to the detection event processing unit, wherein the browsing context calculation unit further includes a browsing context model, the browsing context The model stores the pre-defined browsing path of the web application program, and wherein, when the detection event processing unit detects the detection event, the browsing context calculation unit is made to calculate the next web page of the web application program based on the browsing path The website address is used by the detection event processing unit to provide the next webpage for the browser to load into the webpage display area of the browser and update the detection webpage structure. 如申請專利範圍第1項所述之瀏覽操作系統,其中,該探測事件包括後退探測及前進探測,而該瀏覽脈絡計算單元根據該瀏覽路徑及該網頁的使用狀態計算該後退探測或該前進探測將前往的該下一網頁的網址。 For example, the browsing operating system described in item 1 of the scope of patent application, wherein the detection event includes back detection and forward detection, and the browsing context calculation unit calculates the back detection or the forward detection according to the browsing path and the usage status of the webpage The URL of the next page that will go to. 如申請專利範圍第1項所述之瀏覽操作系統,其中,該載入事件包括該網頁的第一次載入及重複載入,且該探測網頁結構包括具有相同網址但不同標記之後退探測網頁紀錄、目標網頁紀錄及前進網頁紀錄。 Such as the browsing operating system described in item 1 of the scope of patent application, wherein the loading event includes the first loading and repeated loading of the webpage, and the detection webpage structure includes the detection webpage with the same URL but different tags. Record, landing page record and forward page record. 如申請專利範圍第3項所述之瀏覽操作系統,其中,該探測事件係由該瀏覽器響應於該後退按鈕或該前進按鈕被點擊而將該歷史紀錄中的當前網頁指標自該目標網頁紀錄移至該後退探測網頁紀錄或該前進探測網頁紀錄所觸發。 For example, the browsing operating system described in item 3 of the scope of patent application, wherein the detection event is recorded by the browser in response to the back button or the forward button being clicked and the current web page indicator in the history record from the target web page Move to the back detection web page record or the forward detection web page record to trigger. 如申請專利範圍第1項所述之瀏覽操作系統,其中,該瀏覽器復包括網址列,用以供輸入網址以載入該網頁應用程式的該網頁。 For example, the browsing operating system described in item 1 of the scope of patent application, wherein the browser includes a web address bar for entering the web address to load the webpage of the webpage application. 一種用於網頁應用程式之瀏覽操作方法,包括:提供該網頁應用程式之包括導覽模組的網頁,以供瀏覽器載入至該瀏覽器的網頁顯示區,其中,該導覽模組係儲存預先定義的該網頁應用程式之瀏覽路徑;在偵測該網頁被該瀏覽器載入所發出的載入事件時,由該導覽模組在該瀏覽器的歷史紀錄中建立探測網頁結構;在偵測該瀏覽器的後退按鈕或前進按鈕被點擊而觸發之探測事件時,由該導覽模組基於該瀏覽路徑計算該網頁應用程式的下一網頁的網址;以及提供該網頁應用程式的該下一網頁以供該瀏覽器載入至該網頁顯示區,並由該導覽模組更新該探測網頁結構。 A browsing operation method for a webpage application program, comprising: providing a webpage including a navigation module of the webpage application program for the browser to load into the webpage display area of the browser, wherein the navigation module is Store the pre-defined browsing path of the webpage application; when detecting the loading event that the webpage is loaded by the browser, the navigation module builds the detection webpage structure in the browser's history record; When detecting a detection event triggered by the browser’s back button or forward button being clicked, the navigation module calculates the URL of the next web page of the web application based on the browsing path; and provides the web application’s URL The next webpage is loaded into the webpage display area by the browser, and the detection webpage structure is updated by the navigation module. 如申請專利範圍第6項所述之瀏覽操作方法,其中,建立該探測網頁結構復包括: 將該歷史紀錄中該網頁的當前網頁紀錄取代為後退探測網頁紀錄;在該歷史紀錄中加入該網頁的目標網頁紀錄;以及在該歷史紀錄中加入該網頁的前進探測網頁紀錄,其中,該後退探測網頁紀錄、該目標網頁紀錄及該前進探測網頁紀錄皆具有與該網頁相同的網址並藉由不同的標記彼此區分開。 For example, the browsing operation method described in item 6 of the scope of patent application, wherein, establishing the structure of the detection webpage includes: Replace the current webpage record of the webpage in the history record with the back detection webpage record; add the target webpage record of the webpage in the history record; and add the forward detection webpage record of the webpage to the history record, where the backpage The detection webpage record, the target webpage record, and the forward detection webpage record all have the same URL as the webpage and are distinguished from each other by different tags. 如申請專利範圍第7項所述之瀏覽操作方法,其中,該探測事件係由該瀏覽器響應於該後退按鈕或該前進按鈕被點擊而將該歷史紀錄中的當前網頁指標自該目標網頁紀錄移動至該後退探測網頁紀錄或該前進探測網頁紀錄所觸發。 For example, the browsing operation method described in item 7 of the scope of patent application, wherein the detection event is recorded by the browser in response to the back button or the forward button being clicked and the current webpage index in the history record from the target webpage It is triggered by moving to the backward detection webpage record or the forward detection webpage record. 如申請專利範圍第8項所述之瀏覽操作方法,其中,該當前網頁指標自該目標網頁紀錄移動至該後退探測網頁紀錄之情況係為後退探測,以及該當前網頁指標自該目標網頁紀錄移動至該前進探測網頁紀錄之情況係為前進探測。 For example, the browsing operation method described in item 8 of the scope of patent application, wherein the situation in which the current webpage indicator moves from the target webpage record to the back detection webpage record is back detection, and the current webpage indicator moves from the target webpage record The situation of the forward detection web page record is the forward detection. 如申請專利範圍第6項所述之瀏覽操作方法,其中,該計算該網頁應用程式的下一網頁的網址復包括根據該瀏覽路徑及該網頁的使用狀態計算該網頁應用程式將後退或前進的該下一網頁的網址。 For example, the browsing operation method described in item 6 of the scope of patent application, wherein the calculation of the URL of the next webpage of the web application includes the calculation of the web application going back or forward according to the browsing path and the usage status of the webpage The URL of the next page. 如申請專利範圍第6項所述之瀏覽操作方法,其中,該載入事件包括該網頁的第一次載入及重複載入。 According to the browsing operation method described in item 6 of the scope of patent application, the loading event includes the first loading and repeated loading of the webpage.
TW108144710A 2019-12-06 2019-12-06 Browsing operating system for web applications and method thereof TWI720721B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108144710A TWI720721B (en) 2019-12-06 2019-12-06 Browsing operating system for web applications and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108144710A TWI720721B (en) 2019-12-06 2019-12-06 Browsing operating system for web applications and method thereof

Publications (2)

Publication Number Publication Date
TWI720721B true TWI720721B (en) 2021-03-01
TW202123028A TW202123028A (en) 2021-06-16

Family

ID=76035792

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108144710A TWI720721B (en) 2019-12-06 2019-12-06 Browsing operating system for web applications and method thereof

Country Status (1)

Country Link
TW (1) TWI720721B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005106715A2 (en) * 2004-04-16 2005-11-10 America Online, Inc. Categorized web browsing history
TW201232290A (en) * 2011-01-21 2012-08-01 Neowiz Games Corp Method and server for providing web page
CN106339163A (en) * 2016-08-30 2017-01-18 竞技世界(北京)网络技术有限公司 Backspacing interaction method of App built-in browser and embedded webpage
CN106896979A (en) * 2017-01-20 2017-06-27 浙江慧脑信息科技有限公司 A kind of method for browsing history forward-reverse

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005106715A2 (en) * 2004-04-16 2005-11-10 America Online, Inc. Categorized web browsing history
TW201232290A (en) * 2011-01-21 2012-08-01 Neowiz Games Corp Method and server for providing web page
CN106339163A (en) * 2016-08-30 2017-01-18 竞技世界(北京)网络技术有限公司 Backspacing interaction method of App built-in browser and embedded webpage
CN106896979A (en) * 2017-01-20 2017-06-27 浙江慧脑信息科技有限公司 A kind of method for browsing history forward-reverse

Also Published As

Publication number Publication date
TW202123028A (en) 2021-06-16

Similar Documents

Publication Publication Date Title
CN110149423B (en) Domain name processing method and device, readable storage medium and electronic equipment
US10324828B2 (en) Generating annotated screenshots based on automated tests
US9081580B2 (en) Real-time menu architecture
US7953760B2 (en) Computing system and method to implicitly commit unsaved data for a world wide web application
US7496847B2 (en) Displaying a computer resource through a preferred browser
US7962551B2 (en) Method, apparatus, and system for immediate posting of changes in a client server environment
US9547717B2 (en) Administration of search results
US11537683B2 (en) Configuration of content site user interaction monitoring in data networks
US10725774B2 (en) Issue tracking system
US20070250840A1 (en) Computing system and method to perform run-time extension for world wide web application
EP1430396A1 (en) Method, apparatus, and system for implementing view caching in a framework to support web-based applications
EP3848824A1 (en) Landing page processing method, apparatus, device and medium
WO2021057383A1 (en) Log query method, apparatus, device, and computer-readable storage medium
US8046343B2 (en) Computing system and method for automatic completion of pick field
US20090064010A1 (en) Task-Based Tool for Speeding and Customizing Interactions with Web Documents
US20140157110A1 (en) Browser toolbar extension for document management with web-based application programs
TWI720721B (en) Browsing operating system for web applications and method thereof
US11288442B2 (en) Managing extended schemas
US9769249B2 (en) Impact analysis of service modifications in a service oriented architecture
US20060041623A1 (en) Method and system to trigger an activity associated with a user interface element on a web page
US20240220486A1 (en) User interface for formulating structured queries and generating graphical objects within a content collaboration platform
US20240220063A1 (en) User interface for searching and generating graphical objects using document nodes within a content collaboration platform
JP5391221B2 (en) Web page display control device and operation method thereof
CN118227250A (en) Toolbar display method and device in page, computer equipment and storage medium
CA2612212A1 (en) Method, apparatus and computer programs for visual builder of automatic service invocations