KR101589870B1 - Apparatus and method for caching web page display image using non-volatile memory - Google Patents
Apparatus and method for caching web page display image using non-volatile memory Download PDFInfo
- Publication number
- KR101589870B1 KR101589870B1 KR1020150057505A KR20150057505A KR101589870B1 KR 101589870 B1 KR101589870 B1 KR 101589870B1 KR 1020150057505 A KR1020150057505 A KR 1020150057505A KR 20150057505 A KR20150057505 A KR 20150057505A KR 101589870 B1 KR101589870 B1 KR 101589870B1
- Authority
- KR
- South Korea
- Prior art keywords
- web page
- screen image
- resource
- screen
- image
- Prior art date
Links
Images
Classifications
-
- G06F17/30873—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
- G06F12/0238—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/0802—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
-
- G06F17/30994—
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
본 발명은 캐싱 장치 및 방법에 관한 것으로, 보다 상세하게는 비휘발성 메모리를 이용하여 효율적으로 웹 페이지를 캐싱하는 캐싱 장치 및 방법에 관한 것이다. The present invention relates to a caching apparatus and method, and more particularly, to a caching apparatus and method for efficiently caching a web page using a nonvolatile memory.
종래의 웹 브라우저는 웹 서버로부터 수신한 웹 페이지의 원본 자원을 하드 디스크와 같은 저장 장치에 캐싱하고, 사용자가 동일 웹 페이지에 접속할 경우, 저장 장치에 캐싱된 원본 자원을 이용하여 웹 페이지를 표시함으로써, 웹 페이지를 표시하기 위하여 필요한 시간을 감소하였다.A conventional web browser caches original resources of a web page received from a web server in a storage device such as a hard disk, and when a user accesses the same web page, the web page is displayed using the original resource cached in the storage device , Reducing the time required to display the web page.
이때, 웹 브라우저가 웹 서버로 수신한 원본 자원은 웹 서버가 네트워크를 통하여 전송하기 위하여 부호화, 또는 변환한 자원일 수 있다. 따라서, 원본 자원을 처리하여 웹 페이지를 표시하기 위한 처리된 자원을 생성하는 과정이 필요하였다.At this time, the original resource received by the web browser through the web server may be a resource encoded or converted by the web server for transmission through the network. Thus, there was a need for a process to process the original resource and create a processed resource for displaying the web page.
즉, 종래의 웹 브라우저가 저장 장치에 캐싱한 자원은 원본 자원이므로, 캐싱된 자원을 이용하여 웹 페이지를 표시할 경우, 원본 자원을 처리하는 과정이 필요한 실정이다.That is, since the resource cached by the conventional web browser in the storage device is the original resource, when the web page is displayed using the cached resource, it is necessary to process the original resource.
따라서, 캐싱된 자원을 이용하여 웹 페이지를 표시하는 과정에서 필요한 처리 과정을 최소화하는 방법이 요구된다.Accordingly, there is a need for a method for minimizing the processing required for displaying a web page using cached resources.
본 발명은 웹 페이지의 화면을 캡쳐하여 생성한 웹 페이지의 화면 이미지를 비휘발성 메모리에 캐싱하고, 캐싱한 웹 페이지의 화면 이미지를 표시함으로써, 웹 페이지의 화면을 웹 브라우저에 표시하기 위하여 필요한 동작을 최소화하여 사용자에게 웹 페이지의 화면을 표시하기 위하여 필요한 시간을 단축하는 장치 및 방법을 제공할 수 있다.The present invention provides an operation for displaying a screen image of a web page on a web browser by caching a screen image of a web page generated by capturing a screen of the web page in a nonvolatile memory and displaying a screen image of the cached web page It is possible to provide an apparatus and a method for minimizing the time required for displaying a screen of a web page to a user.
본 발명의 일실시예에 따른 캐싱 방법은 웹 페이지의 원본 자원을 처리하여 처리된 자원을 생성하는 단계; 상기 처리된 자원을 이용하여 웹 브라우저에 표시할 웹 페이지의 화면을 생성하는 단계; 상기 웹 페이지의 화면을 캡처하여 웹 페이지의 화면 이미지를 생성하는 단계; 및 상기 웹 페이지의 화면 이미지를 비휘발성 메모리에 캐싱하는 단계를 포함할 수 있다.A caching method according to an exemplary embodiment of the present invention includes: processing a source resource of a web page to generate a processed resource; Generating a screen of a web page to be displayed on a web browser using the processed resource; Capturing a screen of the web page and generating a screen image of the web page; And caching the screen image of the web page in a non-volatile memory.
본 발명의 일실시예에 따른 캐싱 방법의 화면 이미지를 생성하는 단계는, 처리된 자원에 포함된 문서 구조에 따라 처리된 자원에 포함된 이미지나 텍스트를 배치하여 웹 페이지의 화면을 생성하고, 웹 페이지의 화면을 캡처하여 웹 페이지의 화면 이미지를 생성할 수 있다.The step of generating a screen image of the caching method according to an embodiment of the present invention includes generating a screen of a web page by arranging an image or text included in the processed resource according to a document structure included in the processed resource, It is possible to capture the screen of a page and generate a screen image of the web page.
본 발명의 일실시예에 따른 캐싱 방법의 캐싱하는 단계는, 상기 웹 페이지의 화면 이미지가 캐싱된 시간을 웹 페이지의 화면 이미지와 함께 비휘발성 메모리에 캐싱할 수 있다.The caching of the caching method according to an exemplary embodiment of the present invention may cache the time when the screen image of the web page is cached in the nonvolatile memory together with the screen image of the web page.
본 발명의 일실시예에 따른 캐싱 방법은 웹 페이지의 화면 이미지가 캐싱된 비휘발성 메모리에서 사용자의 요청에 대응하는 웹 페이지의 화면 이미지를 검색하는 단계; 상기 비휘발성 메모리에서 검색한 웹 페이지의 화면 이미지를 웹 브라우저에 표시하는 단계를 포함하고, 상기 웹 페이지의 화면 이미지는, 웹 브라우저에 표시될 웹 페이지의 화면을 캡처한 이미지이며, 상기 웹 페이지의 원본 자원을 처리하여 생성될 수 있다.According to an embodiment of the present invention, there is provided a caching method comprising: retrieving a screen image of a web page corresponding to a request from a user in a nonvolatile memory having a screen image of a web page cached; And displaying a screen image of a web page retrieved from the nonvolatile memory in a web browser, wherein the screen image of the web page is an image of a screen of a web page to be displayed on the web browser, Can be generated by processing the original resource.
본 발명의 일실시예에 따른 캐싱 방법은 상기 비휘발성 메모리에서 검색한 웹 페이지의 화면 이미지의 유효 여부를 판단하는 단계; 및 상기 비휘발성 메모리에서 검색한 웹 페이지의 화면 이미지가 유효하지 않은 경우, 사용자의 요청에 대응하는 웹 페이지의 원본 자원을 수신하여 생성한 웹 페이지의 화면 이미지를 웹 브라우저에 표시하는 단계를 더 포함할 수 있다.A caching method according to an embodiment of the present invention includes: determining whether a screen image of a web page retrieved from the nonvolatile memory is valid; And displaying the screen image of the web page generated by receiving the original resource of the web page corresponding to the request of the user on the web browser when the screen image of the web page retrieved from the non-volatile memory is invalid can do.
본 발명의 일실시예에 따른 캐싱 방법의 비휘발성 메모리에서 검색한 웹 페이지의 화면 이미지를 웹 브라우저에 표시하는 단계는, 상기 비휘발성 메모리에서 검색한 웹 페이지의 화면 이미지가 유효한 경우, 수행될 수 있다.The step of displaying the screen image of the web page retrieved from the nonvolatile memory of the caching method according to an embodiment of the present invention in a web browser may be performed when the screen image of the web page retrieved from the nonvolatile memory is valid have.
본 발명의 일실시예에 따른 캐싱 방법의 유효 여부를 판단하는 단계는, 상기 웹 페이지의 화면 이미지가 캐싱된 시간과 상기 비휘발성 메모리에서 상기 웹 페이지의 화면 이미지를 검색한 시간의 차이에 따라 상기 웹 페이지의 화면 이미지의 유효 여부를 판단할 수 있다.The determining whether the caching method according to an exemplary embodiment of the present invention is valid may include determining whether the caching method is valid according to a difference between a time when the screen image of the web page is cached and a time when the screen image of the web page is searched in the non- It is possible to judge whether the screen image of the web page is valid or not.
본 발명의 일실시예에 따른 캐싱 방법은 상기 웹 페이지의 화면 이미지를 웹 브라우저에 표시하는 동안, 백그라운드로 사용자의 요청에 대응하는 웹 페이지의 원본 자원을 수신하여 웹 페이지의 화면 이미지를 생성하는 단계; 및 상기 비휘발성 메모리에서 검색한 웹 페이지의 화면 이미지를 상기 원본 자원을 수신하여 생성한 웹 페이지의 화면 이미지로 업데이트하는 단계를 더 포함할 수 있다.A method of caching according to an embodiment of the present invention includes generating a screen image of a web page by receiving an original resource of a web page corresponding to a user's request in the background while displaying a screen image of the web page on a web browser ; And updating the screen image of the web page retrieved from the nonvolatile memory to a screen image of the web page generated by receiving the original resource.
본 발명의 일실시예에 따른 캐싱 방법은 상기 원본 자원을 수신하여 생성한 웹 페이지의 화면 이미지를 상기 비휘발성 메모리에 캐싱하는 단계를 더 포함할 수 있다.The method of caching according to an embodiment of the present invention may further include the step of caching a screen image of a web page generated by receiving the original resource in the nonvolatile memory.
본 발명의 일실시예에 따른 캐싱 방법은 상기 웹 페이지의 화면 이미지를 웹 브라우저에 표시하는 동안, 사용자의 입력을 받는 경우, 현지 시점까지 수신한 웹 페이지의 원본 자원으로 표시할 수 있는 영역을 표시하는 영역 이미지를 생성하는 단계; 및 상기 영역 이미지로 상기 비휘발성 메모리에서 검색한 웹 페이지의 화면 이미지를 업데이트하는 단계를 더 포함할 수 있다.The caching method according to an embodiment of the present invention displays an area that can be displayed as an original resource of a web page received up to a local time point when receiving a user's input while displaying a screen image of the web page on a web browser Creating a region image to be imaged; And updating the screen image of the web page retrieved from the nonvolatile memory with the area image.
본 발명의 일실시예에 의하면, 웹 페이지의 화면을 캡쳐하여 생성한 웹 페이지의 화면 이미지를 비휘발성 메모리에 캐싱하고, 캐싱한 웹 페이지의 화면 이미지를 표시함으로써, 웹 페이지의 화면을 웹 브라우저에 표시하기 위하여 필요한 동작을 최소화하여 사용자에게 웹 페이지의 화면을 표시하기 위하여 필요한 시간을 단축할 수 있다.According to an embodiment of the present invention, a screen image of a web page generated by capturing a screen of a web page is cached in a nonvolatile memory, and a screen image of the cached web page is displayed, It is possible to minimize the time required for displaying the screen of the web page to the user by minimizing the operation required for display.
또한, 본 발명의 일실시예에 의하면, 웹 페이지의 화면 이미지를 표시하는 동안 백그라운드로 웹 페이지의 원본 자원을 수신하여 처리함으로써, 사용자의 입력에 대한 웹 페이지의 동작이 가능하도록 할 수 있다.According to an embodiment of the present invention, an original source of a web page is received and processed in the background while a screen image of the web page is displayed, thereby enabling operation of the web page with respect to the user's input.
도 1은 본 발명의 일실시예에 따른 캐싱 장치를 나타내는 도면이다.
도 2는 본 발명의 일실시예에 따른 캐싱 과정을 나타내는 도면이다.
도 3은 본 발명의 일실시예에 따른 화면 이미지의 캐싱 및 표시 일례이다.
도 4는 본 발명의 일실시예에 따른 캐싱 장치의 웹 페이지 표시 과정의 일례이다.
도 5는 본 발명의 일실시예에 따른 캐싱 방법을 도시한 플로우차트이다.
도 6은 본 발명의 일실시예에 따른 캐싱 방법을 도시한 플로우차트이다.
도 7은 본 발명의 일실시예에 따른 캐싱 방법에서 사용자의 입력이 발생한 경우의 동작을 도시한 플로우차트이다.1 is a diagram illustrating a caching apparatus according to an embodiment of the present invention.
2 is a diagram illustrating a caching process according to an embodiment of the present invention.
3 is an example of caching and displaying a screen image according to an embodiment of the present invention.
4 is an example of a web page display process of the caching apparatus according to an embodiment of the present invention.
5 is a flowchart illustrating a caching method according to an embodiment of the present invention.
6 is a flowchart illustrating a caching method according to an embodiment of the present invention.
7 is a flowchart illustrating an operation when a user's input occurs in a caching method according to an embodiment of the present invention.
이하, 본 발명의 실시예를 첨부된 도면을 참조하여 상세하게 설명한다. 본 발명의 일실시예에 따른 캐싱 방법은 캐싱 장치에 의해 수행될 수 있다. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. The caching method according to an embodiment of the present invention can be performed by a caching apparatus.
도 1은 본 발명의 일실시예에 따른 캐싱 장치를 나타내는 도면이다. 1 is a diagram illustrating a caching apparatus according to an embodiment of the present invention.
도 1을 참고하면, 본 발명의 일실시예에 따른 캐싱 장치(100)는 화면 이미지를 캐싱하고, 웹 페이지를 표시하는 프로세서(110)를 포함할 수 있다. 예를 들어, 프로세서(110)는 웹 페이지와 관련된 자원을 처리하여 표시하는 웹 브라우저를 실행할 수 있다.Referring to FIG. 1, a
이때, 프로세서(110)는 자원 처리부(111), 화면 이미지 생성부(112), 캐싱부(113), 웹 페이지 표시부(114) 및 검색부(115)를 포함할 수 있다. The
자원 처리부(111)는 웹 페이지의 서버로부터 수신한 원본 자원(Raw resources)을 처리하여 처리된 자원(Processed resources)을 생성할 수 있다. The
이때, 원본 자원은 화면에 표시할 문서 구조를 나타내는 구조 자원, 부호화된 이미지, 및 화면에 표시할 문자의 폰트 자원 중 적어도 하나를 포함할 수 있다. 예를 들어, 원본 자원은 웹 브라우저가 웹 페이지를 표시하기 위하여 네트워크로부터 수신한 자원일 수 있다. 이때, 원본 자원은 문서 구조를 나타내는 HTML(Hyper Text Marup Language) 문서, 전송을 위하여 부호화된 웹 페이지의 이미지, CSS(Cascading Style Sheet), 및 스크립트(script) 중 적어도 하나를 포함할 수 있다.At this time, the original resource may include at least one of a structural resource representing a document structure to be displayed on the screen, a coded image, and a font resource of a character to be displayed on the screen. For example, the source resource may be a resource received from the network by a web browser to display a web page. At this time, the original resource may include at least one of a Hyper Text Markup Language (HTML) document representing a document structure, an image of a web page encoded for transmission, a CSS (Cascading Style Sheet), and a script.
또한, 처리된 자원은 원본 자원이 처리되어 생성된 자원일 수 있다. 예를 들어, 원본 자원이 HTML 문서인 경우, 처리된 자원은 자원 처리부(111)가 HTML 문서 및 스크립트를 파싱하여 생성한 DOM(Document Object Model) 트리를 포함할 수 있다.Also, the processed resource may be a resource generated by processing the original resource. For example, when the original resource is an HTML document, the processed resource may include a DOM (Document Object Model) tree generated by the
구체적으로, 원본 자원이 웹 페이지를 표시하기 위하여 네트워크로부터 수신한 자원인 경우, 자원 처리부(111)는 전송을 위하여 부호화, 또는 변환된 원본 자원을 처리하여 웹 페이지를 표시하기 위해 처리된 자원을 생성할 수 있다. Specifically, when the source resource is a resource received from the network to display a web page, the
이때, 자원 처리부(111)는 원본 자원 중 HTML 문서 및 스크립트를 파싱하여 DOM(Document Object Model) 트리를 생성할 수 있다. 또한, 자원 처리부(111)는 원본 자원 중 부호화된 이미지를 복호화하여 복호화된 이미지를 생성할 수 있다. 그리고, 자원 처리부(111)는 원본 자원 중 문서 포맷과 관련된 CSS(Cascading Style Sheet)를 스타일 룰(style rules)로 변환할 수 있다. 또한, 자원 처리부(111)는 원본 자원 중 자바 스크립트(java script)를 처리하여 텍스트 데이터로 변환할 수 있다.At this time, the
그리고, 자원 처리부(111)가 생성한 처리된 자원은 휘발성 메모리(120)에 저장될 수 있다. 예를 들어, 휘발성 메모리(120)는 웹 브라우저가 처리된 자원을 이용하여 웹 페이지를 화면에 표시하기 전에 임시로 처리된 자원을 저장하는 DRAM(dynamic random access memory)일 수 있다. 그리고, 화면에 웹 페이지가 표시되거나, 일정 시간이 경과하면, 휘발성 메모리(120)에 저장된 처리된 자원이 소멸될 수 있다.The processed resource generated by the
화면 이미지 생성부(112)는 자원 처리부(111)에서 처리된 자원을 이용하여 웹 브라우저에 표시할 웹 페이지의 화면을 생성할 수 있다. 이때, 화면 이미지 생성부(120)는 자원 처리부(111)에서 처리된 자원에 포함된 문서 구조에 따라 자원 처리부(111)에서 처리된 자원에 포함된 이미지나 텍스트를 배치하여 웹 페이지의 화면을 생성할 수 있다.The screen
구체적으로, 화면 이미지 생성부(112)는 처리된 자원 중 DOM 트리와 스타일 룰을 이용하여 웹 브라우저에 표시하기 위한 랜더 트리(render tree)를 생성할 수 있다. 그리고, 화면 이미지 생성부(112)는 DOM 트리에서 웹 브라우저에 표시될 웹 페이지의 텍스트를 추출할 수 있다. 그리고, 화면 이미지 생성부(112)는 추출한 텍스트와 처리된 자원 중 복호화된 이미지를 랜더 트리에 매칭하여 웹 브라우저에 출력할 웹 페이지의 화면을 생성할 수 있다.Specifically, the screen
그리고, 화면 이미지 생성부(112)가 생성한 웹 페이지의 화면은 비트맵 데이터로 프레임버퍼(frame buffer)에 저장되어 웹 브라우저에 출력될 수 있다.The screen of the web page generated by the screen
이때, 화면 이미지 생성부(112)는 웹 페이지의 화면을 캡처하여 웹 페이지의 화면 이미지를 생성할 수 있다. 구체적으로, 화면 이미지 생성부(112)는 프레임버퍼에 저장된 비트맵 데이터를 웹 페이지의 화면 이미지로 생성할 수 있다.At this time, the screen
캐싱부(113)는 화면 이미지 생성부(112)가 생성한 웹 페이지의 화면 이미지를 비휘발성 메모리(130)에 캐싱할 수 있다. 이때, 캐싱부(113)는 웹 페이지의 화면 이미지가 캐싱된 시간을 웹 페이지의 화면 이미지와 함께 비휘발성 메모리(130)에 캐싱할 수 있다. The
또한, 캐싱부(113)는 웹 페이지의 화면 이미지의 크기, 및 웹 페이지의 화면 이미지가 캐싱된 시간 중 적어도 하나에 기초하여 비휘발성 메모리(130)에 캐싱된 웹 페이지의 화면 이미지의 우선 순위를 설정하고, 우선 순위에 기초하여 비휘발성 메모리(130)에 캐싱된 웹 페이지의 화면 이미지를 관리할 수 있다. 예를 들어, 비휘발성 메모리(130)에 웹 페이지의 화면 이미지를 추가로 캐싱할 경우, 캐싱부(113)는 우선 순위가 낮은 웹 페이지의 화면 이미지를 삭제하여 저장 용량을 확보할 수 있다. 그리고, 캐싱부(113)는 확보된 저장 용량에 웹 페이지의 화면 이미지를 추가로 캐싱할 수 있다.In addition, the
비휘발성 메모리(130)에 캐싱된 웹 페이지의 화면 이미지의 크기가 클수록 비휘발성 메모리(130)에 캐싱 가능한 웹 페이지의 화면 이미지의 개수가 감소할 수 있다. 따라서, 캐싱부(113)는 비휘발성 메모리(130)에 캐싱된 웹 페이지의 화면 이미지의 크기가 클수록 비휘발성 메모리(130)에 캐싱된 웹 페이지의 화면 이미지의 우선 순위를 낮게 설정할 수 있다. As the size of the screen image of the web page cached in the
그리고, 웹 페이지의 화면 이미지가 비휘발성 메모리(130)에 캐싱된 시간과 현재 시간 간의 차이가 클수록, 웹 페이지의 화면 이미지와 현재 웹 페이지의 화면이 다른 가능성이 증가할 수 있다. 그리고, 웹 페이지의 화면 이미지와 현재 웹 페이지의 화면이 다른 경우, 검색부(115)가 원본 자원을 다시 검색하여 수신해야 할 수 있다. 즉, 비휘발성 메모리(130)에 캐싱된 웹 페이지의 화면 이미지 중 캐싱된 시간과 현재 시간 간의 차이가 임계값 이상인 웹 페이지의 화면 이미지는 사용할 수 없으면서 비휘발성 메모리(130)의 용량만 차지할 수 있다. 따라서, 캐싱부(113)는 캐싱된 시간과 현재 시간 간의 차이가 길수록 비휘발성 메모리(130)에 캐싱된 웹 페이지의 화면 이미지의 우선 순위를 낮게 설정함으로써, 캐싱된 시간과 현재 시간 간의 차이가 임계값 이상인 웹 페이지의 화면 이미지가 먼저 삭제되도록 할 수 있다.The larger the difference between the time when the screen image of the web page is cached in the
웹 페이지 표시부(114)는 화면 이미지 생성부(112)가 생성한 웹 페이지의 화면 이미지를 웹 브라우저에 출력하여 웹 브라우저에 웹 페이지가 표시되도록 할 수 있다.The web
검색부(115)는 사용자의 요청에 따라 비휘발성 메모리(130)에서 사용자의 요청에 대응하는 웹 페이지의 화면 이미지를 검색할 수 있다. 이때, 사용자의 요청은 검색부(115)가 사용자로부터 수신한 자원 요청(resource request)일 수 있다.The
비휘발성 메모리(130)에서 사용자의 요청에 대응하는 웹 페이지의 화면 이미지가 검색된 경우, 웹 페이지 표시부(114)는 검색된 웹 페이지의 화면 이미지를 이용하여 웹 페이지를 표시할 수 있다. When the screen image of the web page corresponding to the user's request is retrieved from the
이때, 검색된 웹 페이지의 화면 이미지는 웹 페이지에 포함된 정보의 변화를 반영할 수 없는 정적인 이미지일 수 있다. 따라서, 웹 페이지의 화면 이미지가 표시된 상태에서 사용자가 url 입력, 텍스트 입력, 스크롤 입력 중 적어도 하나를 입력하더라도 웹 페이지 표시부(114)가 그에 대응하는 웹 페이지를 표시하지 못할 수 있다. 그러므로, 검색부(115)는 사용자의 요청에 대응하는 웹 페이지를 표시하기 위하여 웹 페이지의 화면 이미지가 웹 브라우저에 표시되는 동안, 백그라운드로 네트워크에서 사용자의 요청에 대응하는 원본 자원을 검색할 수 있다. At this time, the screen image of the searched web page may be a static image that can not reflect the change of the information included in the web page. Accordingly, even if the user inputs at least one of a URL input, a text input, and a scroll input while a screen image of the web page is displayed, the web
그리고, 자원 처리부(111)는 검색부(115)가 네트워크에서 검색한 원본 자원을 처리하여 처리된 자원을 생성하고, 화면 이미지 생성부(112)는 처리된 차원을 이용하여 웹 페이지의 화면 이미지를 생성할 수 있다. The
다음으로, 웹 페이지 표시부(114)는 웹 브라우저에 표시되고 있는 화면 이미지를 화면 이미지 생성부(112)가 생성한 웹 페이지의 화면 이미지로 업데이트할 수 있다. 또한, 캐싱부(113)는 화면 이미지 생성부(112)가 생성한 웹 페이지의 화면 이미지를 비휘발성 메모리(130)에 캐싱할 수 있다.Next, the web
즉, 사용자로부터 웹 페이지의 표시를 요청 받은 경우, 캐싱 장치(110)는 비휘발성 메모리(130)에 캐싱된 웹 페이지의 화면 이미지를 먼저 표시함으로써, 사용자에게 웹 페이지의 화면을 빠르게 제공할 수 있다. 또한, 캐싱 장치(110)는 웹 페이지의 원본 자원으로 웹 페이지의 현재 화면을 나타내는 화면 이미지를 생성하고, 웹 페이지의 현재 화면을 나타내는 화면 이미지를 비휘발성 메모리(130)에 캐싱된 웹 페이지의 화면 이미지와 업데이트하여 웹 브라우저에 표시함으로써, 웹 페이지가 캐싱된 시점의 화면이 웹 페이지의 현재 화면과 다르더라도 웹 페이지의 현재 화면을 사용자에게 제공할 수 있다.That is, when the user requests the display of the web page, the
그리고, 검색부(115)가 백그라운드로 원본 자원을 검색하여 수신하는 동안, 사용자의 입력에 따라 웹 페이지가 변화할 수 있다. 예를 들어, 사용자가 새로 고침 입력, url 입력, 텍스트 입력, 스크롤 입력 중 적어도 하나를 입력할 수 있다.While the
이때, 자원 처리부(111)는 사용자의 입력이 발생하기 전에 수신한 원본 자원을 처리하여 처리된 자원을 생성하고, 화면 이미지 생성부(112)는 처리된 자원을 이용하여 웹 페이지의 화면에서 처리된 자원에 대응하는 영역을 표시하는 영역 이미지를 생성할 수 있다. At this time, the
다음으로, 웹 페이지 표시부(114)는 웹 브라우저에 표시되고 있는 화면 이미지에서 영역 이미지에 대응하는 영역을 영역 이미지로 업데이트할 수 있다. Next, the web
그리고, 자원 처리부(111)는 사용자의 입력이 발생한 후에 수신한 원본 자원을 처리하여 처리된 자원을 생성할 수 있다. 이때, 화면 이미지 생성부(112)는 처리된 자원을 이용하여 웹 페이지의 화면에서 처리된 자원에 대응하는 영역을 표시하는 영역 이미지를 생성할 수 있다. 그리고, 웹 페이지 표시부(114)는 영역 이미지를 이용하여 화면 이미지에서 영역 이미지에 대응하는 영역을 업데이트할 수 있다. The
즉, 캐싱 장치(110)는 웹 페이지의 화면에서 사용자의 입력 시점에서 수신된 원본 자원으로 표시할 수 있는 영역을 먼저 표시하고, 나머지 영역은 원본 자원을 추가로 수신하여 표시함으로써, 사용자의 입력에 따른 웹 브라우저의 반응성을 향상시킬 수 있다.That is, the
그리고, 검색부(115)는 비휘발성 메모리(130)에 웹 페이지의 화면 이미지와 함께 캐싱된 웹 페이지의 화면 이미지가 캐싱된 시간을 기초로 비휘발성 메모리(130)에서 검색한 웹 페이지의 화면 이미지의 유효 여부를 판단할 수 있다. The
이때, 검색부(115)는 웹 페이지의 화면 이미지가 캐싱된 시간과 비휘발성 메모리(130)에서 상기 웹 페이지의 화면 이미지를 검색한 시간의 차이에 따라 상기 웹 페이지의 화면 이미지의 유효 여부를 판단할 수 있다. 예를 들어, 웹 페이지의 화면 이미지가 캐싱된 시간과 비휘발성 메모리(130)에서 상기 웹 페이지의 화면 이미지를 검색한 시간의 차이가 임계값 이상인 경우, 검색부(115)는 웹 페이지의 화면 이미지가 유효하지 않다고 판단할 수 있다.At this time, the
검색한 웹 페이지의 화면 이미지가 유효하지 않은 경우, 검색부(115)는 비휘발성 메모리(130)에서 사용자의 요청에 대응하는 웹 페이지의 화면 이미지가 검색되지 않은 것으로 판단할 수 있다. If the screen image of the retrieved web page is not valid, the
또한, 비휘발성 메모리(130)에서 사용자의 요청에 대응하는 웹 페이지의 화면 이미지가 검색되지 않은 경우, 검색부(115)는 네트워크에서 사용자의 요청에 대응하는 원본 자원을 검색할 수 있다. If the screen image of the web page corresponding to the user's request is not retrieved from the
다음으로, 자원 처리부(111)는 검색부(115)가 네트워크에서 검색한 원본 자원을 처리하여 처리된 자원을 생성하고, 화면 이미지 생성부(112)는 처리된 차원을 이용하여 웹 페이지의 화면 이미지를 생성할 수 있다. Next, the
그 다음으로, 웹 페이지 표시부(114)는 화면 이미지 생성부(112)가 생성한 웹 페이지의 화면 이미지를 웹 브라우저에 표시할 수 있다. 또한, 캐싱부(113)는 화면 이미지 생성부(112)가 생성한 웹 페이지의 화면 이미지를 비휘발성 메모리(130)에 캐싱할 수 있다.Next, the web
본 발명의 일실시예에 따른 캐싱 장치(100)는 웹 브라우저에 표시될 웹 페이지의 화면을 캡처하여 생성한 웹 페이지의 화면 이미지를 캐싱할 수 있다. 이때, 웹 페이지의 화면 이미지는 웹 브라우저에 표시하기 위한 모든 처리 과정이 종료되어 웹 브라우저에 출력될 화면의 이미지이므로, 캐싱된 웹 페이지의 화면 이미지를 표시하는 경우, 웹 페이지의 화면 이미지를 웹 브라우저에 출력하는 동작만으로 웹 브라우저에 웹 페이지를 표시할 수 있다.The
즉, 캐싱 장치(100)는 캐싱된 정보를 이용하여 웹 페이지의 화면을 웹 브라우저에 표시하기 위하여 필요한 동작을 최소화함으로써, 사용자에게 웹 페이지의 화면을 표시하기 위하여 필요한 시간을 단축할 수 있다.That is, the
그리고, 캐싱 장치(100)는 웹 페이지의 화면 이미지를 비휘발성 메모리(130)에 캐싱함으로써, 웹 브라우저의 종료, 또는 일정 시간의 경과에 따라 소멸되는 웹 페이지의 화면 이미지를 지속적으로 사용할 수 있다.The
도 2는 본 발명의 일실시예에 따른 캐싱 과정을 나타내는 도면이다. 2 is a diagram illustrating a caching process according to an embodiment of the present invention.
먼저, 웹 브라우저의 캐싱 장치(100)는 사용자로부터 자원 요청(210)을 수신할 수 있다. 이때, 자원 요청(210)은 도 2에 도시된 바와 같이 웹 브라우저에 표시될 웹 페이지의 주소를 포함할 수 있다.First, the web browser's
다음으로, 캐싱 장치(100)는 네트워크 상의 웹 서버로부터 자원 요청(210)에 대응하는 웹 브라우저 관련 자원의 원본 자원(Raw resources)(220)을 수신할 수 있다. Next, the
그 다음으로, 캐싱 장치(100)는 원본 자원(220)을 처리하여 처리된 자원(Processed resources)(230)을 생성할 수 있다. 예를 들어, 캐싱 장치(100)는 도 3에 도시된 바와 같이 원본 자원(220) 중 HTML 문서 및 스크립트를 파싱하여 DOM 트리를 생성할 수 있다. 또한, 캐싱 장치(100)는 원본 자원(220) 중 부호화된 이미지를 복호화하여 복호화된 이미지(decoded image)를 생성할 수 있다. 그리고, 캐싱 장치(100)는 원본 자원(220) 중 CSS를 스타일 룰(style rules)로 변환할 수 있다.The
다음으로, 캐싱 장치(100)는 DOM 트리와 스타일 룰을 이용하여 웹 브라우저에 표시하기 위한 랜더 트리(render tree)를 생성할 수 있다. 이때, 캐싱 장치(100)는 DOM 트리에서 웹 브라우저에 표시될 웹 페이지의 텍스트를 추출하고, 추출한 텍스트와 처리된 자원 중 복호화된 이미지를 랜더 트리에 매칭하여 웹 브라우저에 출력할 웹 페이지의 화면을 생성할 수 있다.Next, the
이때, 캐싱 장치(100)는 웹 페이지의 화면을 비트맵 데이터인 웹 페이지의 화면 이미지로 프레임 버퍼(frame buffer)(240)에 저장할 수 있다. 그리고, 캐싱 장치(100)는 프레임 버퍼(240)에 저장된 웹 페이지의 화면 이미지를 비휘발성 메모리(130)에 캐싱할 수 있다. At this time, the
마지막으로 웹 페이지 표시부(114)는 프레임 버퍼(240)에 저장된 웹 페이지의 화면 이미지(240)을 출력하여 웹 브라우저에 웹 페이지(250)를 표시할 수 있다.Finally, the web
이때, 웹 페이지의 화면 이미지는 비휘발성 메모리(130)에 캐싱되므로, 웹 브라우저가 종료되더라도, 소멸하지 않을 수 있다. 따라서, 사용자가 자원 요청(210)을 다시 입력하는 경우, 캐싱 장치(100)는 웹 브라우저가 중간에 종료되었더라도 비휘발성 메모리(130)에 캐싱된 웹 페이지의 화면 이미지를 출력하여 웹 브라우저에 웹 페이지(250)를 빠르게 표시할 수 있다.At this time, since the screen image of the web page is cached in the
도 3은 본 발명의 일실시예에 따른 화면 이미지의 캐싱 및 표시 일례이다. 3 is an example of caching and displaying a screen image according to an embodiment of the present invention.
웹 페이지의 화면 이미지는 웹 브라우저(320)에 표시될 화면을 캡처하여 생성한 이미지일 수 있다. 구체적으로, 웹 페이지의 화면 이미지는 캐싱 장치(100)가 DOM 트리에서 추출한 텍스트와 처리된 자원 중 복호화된 이미지를 랜더 트리에 매칭한 화면을 비트맵 형태로 프레임 버퍼(240)에 저장한 정보일 수 있다.The screen image of the web page may be an image generated by capturing a screen to be displayed on the
이때, 캐싱 장치(100)는 도 3에 도시된 바와 같이 프레임 버퍼(240)에 저장된 웹 페이지의 화면 이미지(311)를 비휘발성 메모리(310)에 캐싱할 수 있다. 예를 들어, 비휘발성 메모리(310)는 플래시 메모리, 또는 하드 디스크보다 접근 속도가 빠른 NVRAM(Non-Volatile RAM)일 수 있다. 또한, 웹 페이지의 화면 이미지(311)는 웹 브라우저의 초기 화면으로 설정된 기본 웹 페이지의 화면 이미지일 수 있다.At this time, the
그리고, 기본 웹 페이지가 설정된 웹 브라우저(320)가 실행되는 경우, 캐싱 장치(100)는 비휘발성 메모리(310)에서 기본 웹 페이지의 화면 이미지(311)를 검색할 수 있다. When the
기본 웹 페이지의 화면 이미지(311)가 검색되는 경우, 캐싱 장치(100)는 기본 웹 페이지의 화면 이미지(311)의 유효성을 판단할 수 있다. 기본 웹 페이지의 화면 이미지(311)가 유효한 경우, 캐싱 장치(100)는 도 2에 도시된 바와 같이 기본 웹 페이지의 화면 이미지(311)를 프레임 버퍼(240)로 복원하고, 프레임 버퍼(240)에 로드된 기본 웹 페이지의 화면 이미지(311)를 웹 브라우저(320)에 표시할 수 있다.When the
비휘발성 메모리(310)에서 기본 웹 페이지의 화면 이미지(311)가 검색되지 않거나, 기본 웹 페이지의 화면 이미지(311)가 유효하지 않은 경우, 캐싱 장치(100)는 기본 웹 페이지의 웹 서버에 기본 웹 페이지의 원본 자원을 요청할 수 있다.If the
도 4는 본 발명의 일실시예에 따른 캐싱 장치의 웹 페이지 표시 과정의 일례이다. 4 is an example of a web page display process of the caching apparatus according to an embodiment of the present invention.
비휘발성 메모리(130)에 캐싱된 웹 페이지의 화면 이미지(410)와 웹 페이지의 현재 화면(420)이 서로 다를 수 있다.The
이때, 캐싱 장치(100)는 먼저 비휘발성 메모리(130)에 캐싱된 웹 페이지의 화면 이미지(410)를 웹 브라우저에 표시할 수 있다. 그리고, 웹 서버에서 웹 페이지의 현재 화면(420)에 대응하는 원본 자원을 수신할 수 있다.At this time, the
그러나, 캐싱 장치(100)가 원본 자원을 수신하던 중 사용자로부터 웹 페이지에 대한 입력을 받는 경우, 캐싱 장치(100)는 사용자의 입력이 발생하기 전에 수신한 원본 자원을 처리하여 처리된 자원을 생성하고, 처리된 자원을 이용하여 웹 페이지의 화면에서 처리된 자원에 대응하는 영역을 표시하는 영역 이미지를 생성할 수 있다. 예를 들어, 사용자의 입력이 발생하기 전에 수신한 원본 자원이 웹 페이지에서 텍스트가 포함된 영역(421)인 경우, 캐싱 장치(100)는 처리된 자원을 이용하여 영역(421)의 영역 이미지를 생성할 수 있다. 그리고, 캐싱 장치(100)는 화면 이미지(410)에서 텍스트가 포함된 영역(411)을 영역(421)의 영역 이미지로 업데이트할 수 있다. 이때, 웹 브라우저는 도 4에 도시된 바와 같이 텍스트가 포함된 영역이 영역(421)의 영역 이미지로 업데이트된 화면(430)을 표시할 수 있다.However, when the
다음으로, 캐싱 장치(100)는 사용자의 입력이 발생한 후에 수신한 원본 자원이 이미지가 포함된 영역(422)인 경우, 캐싱 장치(100)는 처리된 자원을 이용하여 영역(422)의 영역 이미지를 생성할 수 있다. 그리고, 캐싱 장치(100)는 화면(430)에서 이미지가 포함된 영역(412)을 영역(422)의 영역 이미지로 업데이트할 수 있다. 이때, 웹 브라우저는 도 4에 도시된 바와 같이 이미지가 포함된 영역이 영역(422)의 영역 이미지로 업데이트된 화면(440)을 표시할 수 있다.Next, when the source resource received by the
즉, 캐싱 장치(100)는 백 그라운드로 웹 페이지의 원본 자원을 수신하는 과정에 사용자의 입력을 받는 경우, 사용자의 입력을 받기 전에 수신한 원본 자원과 사용자의 입력을 받은 후 수신한 원본 자원을 각각 영역 이미지로 생성하고, 순차적으로 업데이트함으로써, 사용자 입력에 따른 웹 페이지의 변화를 빠르게 반영할 수 있다.That is, when the
도 5는 본 발명의 일실시예에 따른 캐싱 방법을 도시한 플로우차트이다.5 is a flowchart illustrating a caching method according to an embodiment of the present invention.
단계(510)에서 자원 처리부(111)는 웹 페이지의 서버로부터 수신한 원본 자원을 처리하여 처리된 자원을 생성할 수 있다. 구체적으로, 원본 자원이 웹 페이지를 표시하기 위하여 네트워크로부터 수신한 자원인 경우, 자원 처리부(111)는 전송을 위하여 부호화, 또는 변환된 원본 자원을 처리하여 웹 페이지를 표시하기 위해 처리된 자원을 생성할 수 있다. In
단계(520)에서 화면 이미지 생성부(112)는 단계(510)에서 처리된 자원을 이용하여 웹 브라우저에 표시할 웹 페이지의 화면을 생성할 수 있다. 이때, 화면 이미지 생성부(120)는 자원 처리부(111)에서 처리된 자원에 포함된 문서 구조에 따라 자원 처리부(111)에서 처리된 자원에 포함된 이미지나 텍스트를 배치하여 웹 페이지의 화면을 생성할 수 있다. 그리고, 화면 이미지 생성부(112)가 생성한 웹 페이지의 화면은 비트맵 데이터로 프레임버퍼(frame buffer)에 저장되어 웹 브라우저에 출력될 수 있다.In
이때, 화면 이미지 생성부(112)는 웹 페이지의 화면을 캡처하여 웹 페이지의 화면 이미지를 생성할 수 있다. 구체적으로, 화면 이미지 생성부(112)는 프레임버퍼에 저장된 비트맵 데이터를 웹 페이지의 화면 이미지로 생성할 수 있다.At this time, the screen
단계(530)에서 캐싱부(113)는 단계(520)에서 생성한 웹 페이지의 화면 이미지를 비휘발성 메모리(130)에 캐싱할 수 있다. 이때, 캐싱부(113)는 웹 페이지의 화면 이미지가 캐싱된 시간을 웹 페이지의 화면 이미지와 함께 비휘발성 메모리(130)에 캐싱할 수 있다. In
단계(540)에서 캐싱부(113)는 웹 페이지의 화면 이미지의 크기, 및 웹 페이지의 화면 이미지가 캐싱된 시간 중 적어도 하나에 기초하여 단계(530)에서 캐싱된 웹 페이지의 화면 이미지의 우선 순위를 설정하고, 우선 순위에 기초하여 비휘발성 메모리(130)에 캐싱된 웹 페이지의 화면 이미지를 관리할 수 있다. In
도 6은 본 발명의 일실시예에 따른 캐싱 방법을 도시한 플로우차트이다.6 is a flowchart illustrating a caching method according to an embodiment of the present invention.
단계(610)에서 검색부(115)는 사용자의 요청에 따라 비휘발성 메모리(130)에서 사용자의 요청에 대응하는 웹 페이지의 화면 이미지를 검색할 수 있다. 이때, 사용자의 요청은 검색부(115)가 사용자로부터 수신한 자원 요청일 수 있다.In
단계(620)에서 검색부(115)는 단계(610)에서 사용자의 요청에 대응하는 웹 페이지의 화면 이미지가 검색되었는지 여부를 확인할 수 있다. 단계(610)에서 사용자의 요청에 대응하는 웹 페이지의 화면 이미지가 검색된 경우, 검색부(115)는 단계(630)을 수행할 수 있다. 또한, 단계(610)에서 사용자의 요청에 대응하는 웹 페이지의 화면 이미지가 검색되지 않은 경우, 검색부(115)는 단계(635)를 수행할 수 있다.In
단계(630)에서 검색부(115)는 단계(610)에서 검색된 웹 페이지의 화면 이미지가 유효한지 여부를 확인할 수 있다. 이때, 검색부(115)는 웹 페이지의 화면 이미지가 캐싱된 시간과 비휘발성 메모리(130)에서 상기 웹 페이지의 화면 이미지를 검색한 시간의 차이에 따라 상기 웹 페이지의 화면 이미지의 유효 여부를 판단할 수 있다. 예를 들어, 웹 페이지의 화면 이미지가 캐싱된 시간과 비휘발성 메모리(130)에서 상기 웹 페이지의 화면 이미지를 검색한 시간의 차이가 임계값 이상인 경우, 검색부(115)는 웹 페이지의 화면 이미지가 유효하지 않다고 판단할 수 있다.In
그리고, 단계(620)에서 검색된 웹 페이지의 화면 이미지가 유효한 경우, 검색부(115)는 단계(640)을 수행할 수 있다. 또한, 단계(610)에서 검색된 웹 페이지의 화면 이미지가 유효하지 않은 경우, 검색부(115)는 단계(635)를 수행할 수 있다.If the screen image of the web page retrieved in
단계(635)에서 검색부(115)는 네트워크에서 사용자의 요청에 대응하는 원본 자원을 검색하여 요청할 수 있다.In
단계(640)에서 웹 페이지 표시부(114)는 단계(610)에서 검색된 웹 페이지의 화면 이미지를 이용하여 웹 페이지를 표시할 수 있다. In
단계(650)에서 검색부(115)는 단계(640)에서 웹 페이지의 화면 이미지를 웹 브라우저에 표시하는 동안, 백그라운드로 네트워크에서 사용자의 요청에 대응하는 원본 자원을 검색하여 요청할 수 있다.In
단계(660)에서 자원 처리부(111)는 검색부(115)가 단계(635), 또는 단계(650)에서 요청한 원본 자원을 수신할 수 있다. 그리고, 자원 처리부(111)는 수신한 원본 자원을 처리하여 처리된 자원을 생성할 수 있다.In
단계(670)에서 화면 이미지 생성부(112)는 단계(660)에서 처리된 차원을 이용하여 웹 페이지의 화면 이미지를 생성할 수 있다. 이때, 웹 페이지 표시부(114)는 웹 브라우저에 표시되고 있는 화면 이미지를 화면 이미지 생성부(112)가 생성한 웹 페이지의 화면 이미지로 업데이트하여 표시할 수 있다. In
단계(680)에서 캐싱부(113)는 단계(670)에서 생성한 웹 페이지의 화면 이미지를 비휘발성 메모리(130)에 캐싱할 수 있다.In
도 7은 본 발명의 일실시예에 따른 캐싱 방법에서 사용자의 입력이 발생한 경우의 동작을 도시한 플로우차트이다.7 is a flowchart illustrating an operation when a user's input occurs in a caching method according to an embodiment of the present invention.
단계(710)에서 자원 처리부(111)는 도 6의 단계(650)에서 요청한 원본 자원을 수신하는 동안 사용자의 입력이 발생하였는지 여부를 확인할 수 있다. 사용자의 입력이 발생하지 않은 경우, 자원 처리부(111)는 도 6에 도시된 바와 같이 단계(660)을 수행하고, 화면 이미지 생성부(112) 및 웹 페이지 표시부(114)는 단계(670)을 수행할 수 있다.In
그러나, 사용자의 입력이 발생한 경우, 자원 처리부(111)는 단계(720)을 수행할 수 있다.However, if the user's input has occurred, the
단계(720)에서 자원 처리부(111)는 단계(720)가 수행되는 현재 시점까지 웹 서버로부터 수신한 원본 자원을 처리하여 처리된 자원을 생성할 수 있다.In
단계(730)에서 화면 이미지 생성부(112)는 단계(720)에서 처리된 자원을 이용하여 웹 페이지의 화면에서 처리된 자원에 대응하는 영역을 표시하는 영역 이미지를 생성할 수 있다. 그리고, 웹 페이지 표시부(114)는 웹 브라우저에 표시되고 있는 화면 이미지에서 영역 이미지에 대응하는 영역을 영역 이미지로 업데이트할 수 있다. In
단계(740)에서 자원 처리부(110)는 단계(650)에서 요청한 원본 자원의 수신이 완료되었는지 여부를 확인할 수 있다. 원본 자원의 수신이 완료되지 않은 경우, 자원 처리부(111)는 단계(720)을 수행할 수 있다. 이때, 자원 처리부(111)는 단계(730)을 수행하는 동안 웹 서버로부터 수신한 원본 자원을 처리할 수 있다.In
또한, 원본 자원의 수신이 완료된 경우, 자원 처리부(111)는 동작을 종료하고, 캐싱부(113)가 단계(680)을 수행할 수 있다.In addition, when the reception of the original resource is completed, the
단계(680)에서 캐싱부(113)는 단계(670)에서 생성한 웹 페이지의 화면 이미지, 또는 단계(730)을 반복하여 모든 영역이 영역 이미지로 업데이트된 웹 페이지의 화면 이미지를 비휘발성 메모리(130)에 캐싱할 수 있다.In
본 발명은 웹 페이지의 화면을 캡쳐하여 생성한 웹 페이지의 화면 이미지를 비휘발성 메모리에 캐싱하고, 캐싱한 웹 페이지의 화면 이미지를 표시함으로써, 웹 페이지의 화면을 웹 브라우저에 표시하기 위하여 필요한 동작을 최소화하여 사용자에게 웹 페이지의 화면을 표시하기 위하여 필요한 시간을 단축할 수 있다.The present invention provides an operation for displaying a screen image of a web page on a web browser by caching a screen image of a web page generated by capturing a screen of the web page in a nonvolatile memory and displaying a screen image of the cached web page The time required for displaying the screen of the web page to the user can be shortened.
또한, 본 발명은 웹 페이지의 화면 이미지를 표시하는 동안 백그라운드로 웹 페이지의 원본 자원을 수신하여 처리함으로써, 사용자의 입력에 대한 웹 페이지의 동작이 가능하도록 할 수 있다.In addition, the present invention enables the operation of a web page with respect to the user's input by receiving and processing the original resource of the web page in the background while displaying the screen image of the web page.
이상과 같이 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다.While the invention has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. This is possible.
그러므로, 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 아니 되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined by the equivalents of the claims, as well as the claims.
110: 캐싱 장치
111: 자원 처리부
112: 화면 이미지 생성부
113: 캐싱부
114: 웹 페이지 표시부
120: 휘발성 메모리
130: 비휘발성 메모리110: Caching device
111: Resource processor
112: Screen image generating unit
113: Caching section
114: Web page display unit
120: volatile memory
130: Nonvolatile memory
Claims (10)
상기 처리된 자원을 이용하여 웹 브라우저에 표시할 웹 페이지의 화면을 생성하는 단계;
상기 웹 페이지의 화면을 캡처하여 웹 페이지의 화면 이미지를 생성하는 단계; 및
상기 웹 페이지의 화면 이미지를 비휘발성 메모리에 캐싱하는 단계
를 포함하는 캐싱 방법.Processing a source resource of a web page to generate a processed resource;
Generating a screen of a web page to be displayed on a web browser using the processed resource;
Capturing a screen of the web page and generating a screen image of the web page; And
Caching a screen image of the web page in a non-volatile memory
Lt; / RTI >
상기 화면 이미지를 생성하는 단계는,
처리된 자원에 포함된 문서 구조에 따라 처리된 자원에 포함된 이미지나 텍스트를 배치하여 웹 페이지의 화면을 생성하고, 웹 페이지의 화면을 캡처하여 웹 페이지의 화면 이미지를 생성하는 캐싱 방법.The method according to claim 1,
Wherein the generating the screen image comprises:
A caching method for creating a screen of a web page by arranging an image or text included in a processed resource according to a document structure included in a processed resource, and capturing a screen of the web page to generate a screen image of the web page.
상기 캐싱하는 단계는,
상기 웹 페이지의 화면 이미지가 캐싱된 시간을 웹 페이지의 화면 이미지와 함께 비휘발성 메모리에 캐싱하는 캐싱 방법.The method according to claim 1,
Wherein the caching comprises:
Wherein the cached time of the screen image of the web page is cached in the non-volatile memory together with the screen image of the web page.
상기 비휘발성 메모리에서 검색한 웹 페이지의 화면 이미지를 웹 브라우저에 표시하는 단계
를 포함하고,
상기 웹 페이지의 화면 이미지는,
웹 브라우저에 표시될 웹 페이지의 화면을 캡처한 이미지이며, 상기 웹 페이지의 원본 자원을 처리하여 생성되는 캐싱 방법.Retrieving a screen image of a web page corresponding to a request from a user in a nonvolatile memory where a screen image of the web page is cached;
Displaying a screen image of a web page retrieved from the nonvolatile memory on a web browser
Lt; / RTI >
Wherein the screen image of the web page comprises:
An image captured by capturing a screen of a web page to be displayed on a web browser, the cached image being generated by processing an original resource of the web page.
상기 비휘발성 메모리에서 검색한 웹 페이지의 화면 이미지의 유효 여부를 판단하는 단계; 및
상기 비휘발성 메모리에서 검색한 웹 페이지의 화면 이미지가 유효하지 않은 경우, 사용자의 요청에 대응하는 웹 페이지의 원본 자원을 수신하여 생성한 웹 페이지의 화면 이미지를 웹 브라우저에 표시하는 단계
를 더 포함하는 캐싱 방법.5. The method of claim 4,
Determining whether a screen image of a web page retrieved from the nonvolatile memory is valid; And
Displaying the screen image of the web page generated by receiving the original resource of the web page corresponding to the request of the user on the web browser when the screen image of the web page retrieved from the nonvolatile memory is invalid;
≪ / RTI >
상기 비휘발성 메모리에서 검색한 웹 페이지의 화면 이미지를 웹 브라우저에 표시하는 단계는,
상기 비휘발성 메모리에서 검색한 웹 페이지의 화면 이미지가 유효한 경우, 수행되는 캐싱 방법.6. The method of claim 5,
Displaying the screen image of the web page retrieved from the nonvolatile memory on the web browser,
And if the screen image of the web page retrieved from the non-volatile memory is valid.
상기 유효 여부를 판단하는 단계는,
상기 웹 페이지의 화면 이미지가 캐싱된 시간과 상기 비휘발성 메모리에서 상기 웹 페이지의 화면 이미지를 검색한 시간의 차이에 따라 상기 웹 페이지의 화면 이미지의 유효 여부를 판단하는 캐싱 방법.6. The method of claim 5,
The method of claim 1,
Determining whether a screen image of the web page is valid according to a difference between a time when the screen image of the web page is cached and a time when the screen image of the web page is searched in the nonvolatile memory.
상기 웹 페이지의 화면 이미지를 웹 브라우저에 표시하는 동안, 백그라운드로 사용자의 요청에 대응하는 웹 페이지의 원본 자원을 수신하여 웹 페이지의 화면 이미지를 생성하는 단계; 및
상기 비휘발성 메모리에서 검색한 웹 페이지의 화면 이미지를 상기 원본 자원을 수신하여 생성한 웹 페이지의 화면 이미지로 업데이트하는 단계
를 더 포함하는 캐싱 방법.5. The method of claim 4,
Receiving a source resource of a web page corresponding to a user's request in the background while displaying a screen image of the web page on a web browser to generate a screen image of the web page; And
Updating the screen image of the web page retrieved from the nonvolatile memory to a screen image of the web page generated by receiving the original resource
≪ / RTI >
상기 원본 자원을 수신하여 생성한 웹 페이지의 화면 이미지를 상기 비휘발성 메모리에 캐싱하는 단계
를 더 포함하는 캐싱 방법.9. The method of claim 8,
Caching the screen image of the web page generated by receiving the original resource in the nonvolatile memory
≪ / RTI >
상기 웹 페이지의 화면 이미지를 웹 브라우저에 표시하는 동안, 사용자의 입력을 받는 경우, 현지 시점까지 수신한 웹 페이지의 원본 자원으로 표시할 수 있는 영역을 표시하는 영역 이미지를 생성하는 단계; 및
상기 영역 이미지로 상기 비휘발성 메모리에서 검색한 웹 페이지의 화면 이미지를 업데이트하는 단계
를 더 포함하는 캐싱 방법.
5. The method of claim 4,
Generating an area image displaying an area that can be displayed as an original resource of a web page received up to a local time when receiving a user input while displaying a screen image of the web page on a web browser; And
Updating the screen image of the web page retrieved from the nonvolatile memory with the area image
≪ / RTI >
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150057505A KR101589870B1 (en) | 2015-04-23 | 2015-04-23 | Apparatus and method for caching web page display image using non-volatile memory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150057505A KR101589870B1 (en) | 2015-04-23 | 2015-04-23 | Apparatus and method for caching web page display image using non-volatile memory |
Publications (1)
Publication Number | Publication Date |
---|---|
KR101589870B1 true KR101589870B1 (en) | 2016-02-01 |
Family
ID=55354126
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020150057505A KR101589870B1 (en) | 2015-04-23 | 2015-04-23 | Apparatus and method for caching web page display image using non-volatile memory |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101589870B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019240404A1 (en) * | 2018-06-15 | 2019-12-19 | 삼성전자 주식회사 | Resource caching method and electronic device supporting same |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050021751A (en) * | 2003-08-26 | 2005-03-07 | 정길도 | Distributed Web Caching System with Client-Based |
-
2015
- 2015-04-23 KR KR1020150057505A patent/KR101589870B1/en active IP Right Grant
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050021751A (en) * | 2003-08-26 | 2005-03-07 | 정길도 | Distributed Web Caching System with Client-Based |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019240404A1 (en) * | 2018-06-15 | 2019-12-19 | 삼성전자 주식회사 | Resource caching method and electronic device supporting same |
US20210365366A1 (en) * | 2018-06-15 | 2021-11-25 | Samsung Electronics Co., Ltd. | Resource caching method and electronic device supporting the same |
US11809313B2 (en) | 2018-06-15 | 2023-11-07 | Samsung Electronics Co., Ltd. | Resource caching method and electronic device supporting the same |
KR102658819B1 (en) * | 2018-06-15 | 2024-04-19 | 삼성전자주식회사 | Resource caching method and electronic device supporting the same |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108804707B (en) | Page processing method and device and related equipment | |
US9916285B2 (en) | Generating a preview of a web page for a mobile terminal | |
US10515142B2 (en) | Method and apparatus for extracting webpage information | |
US20170199850A1 (en) | Method and system to decrease page load time by leveraging network latency | |
US20120005429A1 (en) | Reusing style sheet assets | |
JP2011108102A (en) | Web server, web browser and web system | |
US9401949B1 (en) | Client web content cache purge | |
US9275018B2 (en) | Techniques for analyzing web pages to determine font subsets | |
KR101689745B1 (en) | Web browsing system and method for rendering dynamic resource URI of script | |
ES2717462T3 (en) | Collaborative edition | |
CN103699674A (en) | Webpage storing method, webpage opening method, webpage storing device, webpage opening device and webpage browsing system | |
US20090270076A1 (en) | Performance optimizer for mobile devices website | |
CN106649313B (en) | Method and apparatus for processing cache data | |
WO2022063133A1 (en) | Sensitive information detection method and apparatus, and device and computer-readable storage medium | |
US20110035433A1 (en) | Webpage display method, computer system, and program | |
CN112149039A (en) | Method for increasing front-end webpage loading speed | |
CN111737614B (en) | Page display method, page display device, electronic equipment and storage medium | |
JP2008158589A (en) | Updated information notification device, and updated information notification program | |
CN114297544A (en) | Remote browsing method, device, equipment and storage medium | |
KR101589870B1 (en) | Apparatus and method for caching web page display image using non-volatile memory | |
CN108255898B (en) | Page display method and device | |
KR101574893B1 (en) | Apparatus and method for caching web page layout using non-volatile memory | |
CN106557529B (en) | Display method and device for jump page in page jump | |
CN111143732A (en) | Webpage rendering method and device | |
CN113448649B (en) | Redis-based home page data loading server and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20190114 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20200115 Year of fee payment: 5 |