KR20120104883A - E-book system - Google Patents
E-book system Download PDFInfo
- Publication number
- KR20120104883A KR20120104883A KR1020110022563A KR20110022563A KR20120104883A KR 20120104883 A KR20120104883 A KR 20120104883A KR 1020110022563 A KR1020110022563 A KR 1020110022563A KR 20110022563 A KR20110022563 A KR 20110022563A KR 20120104883 A KR20120104883 A KR 20120104883A
- Authority
- KR
- South Korea
- Prior art keywords
- page
- unit
- rendering
- layout tree
- layout
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/106—Display of layout of documents; Previewing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/02—Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
- G06F15/025—Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application
- G06F15/0291—Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application for reading, e.g. e-books
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computing Systems (AREA)
- Document Processing Apparatus (AREA)
Abstract
Description
본 발명은 전자책 시스템에 관한 것으로, 전자책을 화면 크기에 맞게 분할하면서 화면 렌더링을 수행하는 전자책 시스템에 관한 것이다.The present invention relates to an e-book system, and relates to an e-book system that performs screen rendering while dividing the e-book according to the screen size.
전자책(e-book)은 정보저장수단에 저장된 문서나 출판물 등을 사용자가 페이지 단위로 읽을 수 있도록 화면에 렌더링 하는 가상 수단이다.An e-book is a virtual means for rendering a document or a publication stored in an information storage means on a screen so that a user can read it in units of pages.
도 1은 종래의 전자책 장치에 대한 블록도이다. 도시된 바에 따르면, 전자책 컨텐츠 파일(10), 파싱(parsing)부(11), 레이아웃 트리(layout tree) 생성부(12), 레이아웃트리부(12-1), 페이지 분할 정보 생성부(13), 페이지 분할 정보부(13-1) 및 렌더링(rendering)부(14)로 구성된다.1 is a block diagram of a conventional e-book device. As illustrated, the
그 동작은 다음과 같다. 파싱부(11)는 전자책 컨텐츠 파일(10)에 저장된 컨텐츠 파일 전체에 대해 파싱하고, 레이아웃 트리 생성부(12)는 파싱된 데이터를 이용하여 레이아웃 트리를 생성하고, 이를 레이아웃 트리부(12-1)에 저장한다. 페이지 분할 정보 생성부(13)는 생성된 레이아웃 트리를 화면 크기에 맞추어 페이지 분할 정보를 생성하고, 페이지 분할 정보부(13-1)에 저장한다. 렌더링부(14)는 페이지 분할 정보부(13-1)에 저장된 페이지 분할 정보를 이용하여 레이아웃 트리부(12-1)에 저장된 레이아웃 트리중에서 현재 페이지에 해당하는 레이아웃 트리를 화면에 렌더링한다. 사용자는 페이지 분할 정보 저장부(13-1)에 저장된 페이지 분할 정보와 레이아웃 트리부(12-1)에 저장된 레이아웃을 참조하여 문장 찾기나 북마크 등의 검색을 수행한다.The operation is as follows. The
이러한 종래의 전자책 장치는 전자책 컨텐츠 파일 크기가 클수록 그에 비례하여 레이아웃 트리의 메모리 사용량이 증가하기 때문에, 상대적으로 적은 메모리를 사용하는 전자책 디바이스나 컴퓨터에서 메모리 부족 현상이 발생할 수가 있다. 또한, 상기 컨텐츠 파일이 커지면 레이아웃 트리 구성에 소요되는 시간 역시 증가하게 되므로, 사용자가 처음 페이지를 보기 위해 대기하는 시간이 길어질 수 있는 문제점이 있다.In the conventional e-book device, as the e-book content file size increases, the memory usage of the layout tree increases in proportion to the size of the e-book content file. Accordingly, a memory shortage may occur in an e-book device or a computer that uses relatively little memory. In addition, since the time required for constructing the layout tree also increases as the content file becomes larger, there is a problem that the user waits for the first page to be long.
본 발명이 이루고자 하는 기술적 과제는 전자책을 화면 크기에 맞게 페이지 단위로 분할하면서 화면에 렌더링 하는 전자책 시스템을 제공하는 데 있다.An object of the present invention is to provide an e-book system that renders on a screen while dividing the e-book into page units according to the screen size.
상기 기술적 과제를 이루기 위한, 본 발명은 전자책 컨텐츠 파일을 화면에 렌더링 하는 전자책 시스템에 있어서, 전자책 컨텐츠 파일을 소정 단위로 읽고 파싱하는 파싱부; 상기 파싱부에서 파싱된 데이터를 이용하여 레이아웃 트리를 생성하는 레이아웃 트리 생성부; 생성된 레이아웃 트리를 이용하여 페이지를 분할하고, 분할된 각 페이지에 대해 페이지 분할 정보를 생성하는 페이지 분할부; 및 상기 페이지 분할 정보를 이용하여 현재 페이지 구간의 엘레멘트를 읽고 파싱하며 레이아웃을 수행하여 렌더링 레이아웃 트리를 구성한 다음 상기 렌더링 레이아웃 트리에 따라 해당 페이지를 렌더링하는 렌더링부를 포함함을 특징으로 한다.According to an aspect of the present invention, there is provided an e-book system for rendering an e-book content file on a screen, including: a parsing unit configured to read and parse an e-book content file in a predetermined unit; A layout tree generating unit generating a layout tree using data parsed by the parser; A page divider for dividing pages using the generated layout tree and generating page split information for each divided page; And a rendering unit configured to read and parse an element of a current page section using the page split information, perform a layout, construct a rendering layout tree, and render a corresponding page according to the rendering layout tree.
본 발명에 따르면 전자책 컨텐츠 파일을 N바이트씩 읽어서 페이지 분할과 페이지의 화면 렌더링을 수행하므로 보다 적은 메모리를 사용하여 전자책을 표시할 수 있다. 또한 별도의 페이지 분할 레이아웃 트리를 사용하므로, 현재 페이지를 화면에 렌더링하면서도 다음 N바이트에 대해 페이지 분할을 수행할 수 있으므로, 첫 페이지 화면을 보기 위해 대기하는 시간이 줄어든다. 따라서 메모리 용량과 CPU의 성능이 충분하지 않은 저사양의 전자책 디바이스나 컴퓨터에서도 무리 없이 큰 용량의 전자책 컨텐츠를 이용할 수 있게 되고, 그에 따라 전자책 전용 디바이스의 생산 비용을 낮출 수 있다.According to the present invention, since the e-book content file is read by N bytes for page division and page rendering, the e-book can be displayed using less memory. It also uses a separate page split layout tree, which allows you to render the current page to the screen while performing page splits for the next N bytes, thus reducing the time spent waiting to see the first page screen. Therefore, even a low specification e-book device or a computer that does not have sufficient memory capacity and CPU performance can use a large-capacity e-book content without difficulty, thereby lowering the production cost of the e-book dedicated device.
도 1은 종래의 전자책 표시 장치에 대한 블록도이다.
도 2는 본 발명에 따른 전자책 시스템을 블록도로 도시한 것이다.
도 3은 도 2의 페이지 분할 정보 생성부에서 생성된 페이지 분할 정보의 구조를 도시한 것이다.
도 4는 전자책 컨텐츠 파일의 레이아웃 페이지를 도시한 것이다.1 is a block diagram of a conventional e-book display device.
2 is a block diagram illustrating an e-book system according to the present invention.
FIG. 3 illustrates a structure of page split information generated by the page split information generator of FIG. 2.
4 illustrates a layout page of an e-book content file.
이하에서 첨부된 도면을 참조하여 본 발명을 상세하게 설명하기로 한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
도 2는 본 발명에 따른 전자책 시스템을 블록도로 도시한 것이다. 도시된 바에 따른, 전자책 시스템은 전자책 컨텐츠 파일(20), 파싱부(21), 레이아웃 트리 생성부(22), 페이지 분할 레이아웃 트리부(22-1), 렌더링 레이아웃 트리부(22-2), 페이지 분할부(23), 페이지 분할 정보 저장부(23-1) 및 렌더링부(24)를 포함한다. 상기 페이지 분할 레이아웃 트리부(22-1)와 렌더링 레이아웃 트리부(22-2)는 각각 페이지 분할과 렌더링시 참조되는 페이지 분할 레이아웃 트리와 렌더링 레이아웃 트리를 임시 저장한다.2 is a block diagram illustrating an e-book system according to the present invention. As illustrated, the e-book system includes an
파싱부(21)는 전자책 컨텐츠 파일(20)을 N바이트 단위로 읽어서 헤드(head) 파일의 크기를 구하고, 파싱한다. 여기서, N바이트는 한 페이지 이상으로 분할할 수 있는 크기이다. 레이아웃 트리 생성부(22)는 파싱된 데이터를 이용하여 페이비 분할 레이아웃 트리를 생성하고, 이를 페이지 분할 레이아웃 트리부(22-1)에 저장하며, 각 엘레먼트(element)에 매칭되는 컨텐츠 파일의 옵셋(offset)위치를 저장한다. 여기서, 엘레멘트는 단락(paragraph)과 같은 것으로 텍스트, 이미지, 속성 등을 포함하고, 전자책 국제 표준(Open eBook Publication Structure Specification)의 규격을 준수하는 XML, HTML 택(tag) 등도 포함한다.The
페이지 분할부(23)는 페이지 분할 레이아웃 트리를 페이지 분할하고, 페이지 분할 정보 저장부(23-1)에 각 페이지에 대해 레이아웃이 시작하고 끝나는 엘레멘트의 파일 옵셋 정보와 레이아웃 시작 위치를 저장한다. 페이지 분할이 완료되면 다음 페이지로 나뉘어지는 엘레멘트의 파일 위치와 레이아웃 시작 위치를 읽는다.The
또한, 페이지 분할부(23)는 분할된 페이지에 대해 도 3에 도시된 바와 같은 페이지 분할 정보를 생성하여 페이지 분할정보 저장부(23-1)에 임시 저장한다. 도 3에 따르면, 페이지 분할정보는 스타일 정보와 같은 통상의 페이지 정보를 포함하는 필드(30), 페이지가 시작되는 엘레먼트의 위치를 나타내는 필드(31), 페이지의 끝에 해당하는 엘레먼트의 위치를 나타내는 필드(32) 그리고 페이지 구분을 위한 레이아웃 페이지의 시작 위치를 나타내는 필드(33)를 구비한다.In addition, the
도 4는 전자책 컨텐츠 파일의 레이아웃 페이지를 도시한 것이다. 도시된 바에 다르면, 상기 N바이트 데이터는 헤드 부분과 바디 부분으로 구분된다. 헤드 부분은 전자책 컨텐츠 파일의 기본 속성을 갖는 스타일 정보 등을 포함하고, 바디 부분은 복수의 엘레멘트들로 구성된다. 상기 바디부분은 복수의 레이아웃 페이지로 구성되며, 각 페이지에 대해 시작 위치가 페이지 분할 정보 저장부(23-1)에 저장된다. 페이지 분할 정보부(23)는 페이지 분할을 완료하면, 다음 페이지로 나뉘어지는 엘레멘트에 대해서 파일의 해당 위치와 레이아웃 시작 위치를 저장한다.4 illustrates a layout page of an e-book content file. As shown, the N-byte data is divided into a head portion and a body portion. The head portion includes style information having basic attributes of the e-book content file, and the body portion is composed of a plurality of elements. The body portion includes a plurality of layout pages, and a start position of each page is stored in the page division information storage unit 23-1. When the page
렌더링부(24)는 상기 페이지 분할 정보 저장부(23-1)에 저장된 페이지 분할 정보를 이용하여 컨텐츠 파일의 헤드 파일과 현재 페이지 구간의 엘레멘트를 읽고, 파싱하며, 레이아웃을 수행하여 렌더링 레이아웃 트리를 렌더링 레이아웃 트리부(22-2)에 생성한다. 렌더링부(24)는 상기 렌더링 레이아웃 트리를 이용하여 각 엘레멘트의 레이아웃 시작위치를 결정하고, 해당 페이지를 화면에 렌더링한다.The
파싱부(20)는 전차책 컨텐츠 파일(20)의 헤드 파일과 이전에 저장된 엘레멘트 파일 위치로부터부터 도 4의 바디 부분에 해당하는 크기의 파일을 읽는다. 레이아웃의 시작위치는 이전 페이지 분할에서 저장된 레이아웃 시작위치를 더하여 설정된다. 사용자는 상기 페이지 분할 정보로부터 문장이나 이미지 위치를 전자책 컨텐츠 파일(20)에서 직접 검색하여 해당 페이지를 볼 수 있다.The
Claims (1)
전자책 컨텐츠 파일을 소정 단위로 읽고 파싱하는 파싱부;
상기 파싱부에서 파싱된 데이터를 이용하여 레이아웃 트리를 생성하는 레이아웃 트리 생성부;
생성된 레이아웃 트리를 이용하여 페이지를 분할하고, 분할된 각 페이지에 대해 페이지 분할 정보를 생성하는 페이지 분할부; 및
상기 페이지 분할 정보를 이용하여 현재 페이지 구간의 엘레멘트를 읽고 파싱하며 레이아웃을 수행하여 렌더링 레이아웃 트리를 구성한 다음 상기 렌더링 레이아웃 트리에 따라 해당 페이지를 렌더링하는 렌더링부를 포함하고,
상기 렌더링부는 상기 페이지 분할부에 의해 페이지 분할이 이루어지는 동안에도, 페이지 분할이 완료된 페이지에 대해서 렌더링을 수행하는 것을 특징으로하는 전자책 시스템.An e-book system for rendering an e-book content file on a screen,
A parsing unit configured to read and parse the e-book content file in a predetermined unit;
A layout tree generating unit generating a layout tree using data parsed by the parser;
A page divider for dividing pages using the generated layout tree and generating page split information for each divided page; And
A rendering unit configured to read and parse an element of a current page section using the page split information, perform a layout, construct a rendering layout tree, and then render a corresponding page according to the rendering layout tree;
And the rendering unit performs rendering on the page where the page division is completed, even while page division is performed by the page division unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110022563A KR20120104883A (en) | 2011-03-14 | 2011-03-14 | E-book system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110022563A KR20120104883A (en) | 2011-03-14 | 2011-03-14 | E-book system |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20120104883A true KR20120104883A (en) | 2012-09-24 |
Family
ID=47112100
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020110022563A KR20120104883A (en) | 2011-03-14 | 2011-03-14 | E-book system |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20120104883A (en) |
-
2011
- 2011-03-14 KR KR1020110022563A patent/KR20120104883A/en not_active Application Discontinuation
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101308488B (en) | Document stream type information processing method based on format document and device therefor | |
US9317622B1 (en) | Methods and systems for fragmenting and recombining content structured language data content to reduce latency of processing and rendering operations | |
US8775472B2 (en) | Dynamic presentation framework | |
RU2370810C2 (en) | Methods and systems for document marking | |
US20130061124A1 (en) | Managing forms in electronic documents | |
KR20150079867A (en) | Html5-protocol-based webpage presentation method and device | |
JP2012518836A5 (en) | ||
US20140210863A1 (en) | Information processing apparatus, information processing system, information processing method, and program | |
US20130174024A1 (en) | Method and device for converting document format | |
WO2003048922A1 (en) | Directory for multi-page svg document | |
CN104346322A (en) | Document format processing device and document format processing method | |
WO2009000141A1 (en) | Representation method, system and device of layout file logical structure information | |
US20130227407A1 (en) | Method and device for displaying an electronic document | |
JP2006202297A5 (en) | ||
JP5976825B2 (en) | User terminal device and scroll method for supporting high-speed web scrolling of web documents | |
US9727293B1 (en) | Method and apparatus for paginating electronic documents | |
CN109543128A (en) | A kind of the front end frame project implementation method and electronic equipment of language based on programming | |
KR101147256B1 (en) | Producing apparatus and method for a standized electronic book | |
KR100945485B1 (en) | E-Book system and method thereof | |
CN114330245A (en) | OFD document processing method and device | |
CN110609981A (en) | Text processing method and device, electronic equipment and computer readable storage medium | |
KR20120104883A (en) | E-book system | |
CN107391175A (en) | Control data collocation method and computer-readable recording medium | |
CN107423013B (en) | A kind of data display method, device and electronic equipment | |
CN111125581A (en) | Picture loading method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WITN | Withdrawal due to no request for examination |