KR100945485B1 - E-Book system and method thereof - Google Patents
E-Book system and method thereof Download PDFInfo
- Publication number
- KR100945485B1 KR100945485B1 KR1020030011634A KR20030011634A KR100945485B1 KR 100945485 B1 KR100945485 B1 KR 100945485B1 KR 1020030011634 A KR1020030011634 A KR 1020030011634A KR 20030011634 A KR20030011634 A KR 20030011634A KR 100945485 B1 KR100945485 B1 KR 100945485B1
- Authority
- KR
- South Korea
- Prior art keywords
- page
- layout
- rendering
- layout tree
- unit
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0483—Interaction with page-structured environments, e.g. book metaphor
-
- 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
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/205—Parsing
Abstract
본 발명은 전자책 시스템 및 그 방법에 관한 것으로, 전자책 컨텐츠 파일을 화면에 렌더링하는 전자책 시스템은 전자책 컨텐츠 파일을 소정 단위로 읽고 파싱하는 파싱부; 파싱부에서 파싱된 데이터를 이용하여 레이아웃 트리를 생성하는 레이아웃 트리 생성부; 생성된 레이아웃 트리를 이용하여 페이지를 분할하고, 분할된 각 페이지에 대해 페이지 분할 정보를 생성하는 페이지 분할부; 및 페이지 분할 정보를 이용하여 현재 페이지 구간의 엘레멘트를 읽고 파싱하며 레이아웃을 수행하여 렌더링 레이아웃 트리를 구성한 다음 렌더링 레이아웃 트리에 따라 해당 페이지를 렌더링하는 렌더링부를 포함하는 것을 특징으로한다.The present invention relates to an e-book system and a method thereof, comprising: a parsing unit for reading and parsing an e-book content file in a predetermined unit; A layout tree generation 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 page split information, perform a layout, construct a rendering layout tree, and then render a corresponding page according to the rendering layout tree.
Description
도 1은 종래의 전자책 표시 장치에 대한 블록도이다.1 is a block diagram of a conventional e-book display device.
도 2는 본 발명에 따른 전자책 시스템을 블록도로 도시한 것이다.2 is a block diagram illustrating an e-book system according to the present invention.
도 3은 도 2의 페이지 분할 정보 생성부에서 생성된 페이지 분할 정보의 구조를 도시한 것이다.FIG. 3 illustrates a structure of page split information generated by the page split information generator of FIG. 2.
도 4는 전자책 컨텐츠 파일의 레이아웃 페이지를 도시한 것이다.4 illustrates a layout page of an e-book content file.
본 발명은 전자책 시스템 및 그 방법에 관한 것으로, 전자책을 화면 크기에 맞게 분할하면서 화면 렌더링을 수행하는 전자책 시스템 및 그 방법에 관한 것이다.The present invention relates to an e-book system and a method thereof, and more particularly, to an e-book system and method for performing 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, the memory usage of the layout tree increases in proportion to the size of the e-book content file, so that memory shortage may occur in an e-book device or a computer that uses relatively little memory. In addition, as the content file grows, the time required for constructing the layout tree also increases, which may cause the user to wait for the first page to be long.
본 발명이 이루고자하는 기술적 과제는 전자책을 화면 크기에 맞게 페이지 단위로 분할하면서 화면에 렌더링하는 전자책 시스템 및 그 방법을 제공하는데 있 다.An object of the present invention is to provide an e-book system and method for rendering an e-book 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 then render a corresponding page according to the rendering layout tree.
상기 기술적 과제를 이루기위한, 본 발명은 전자책 컨텐츠 파일을 화면에 렌더링하는 방법에 있어서, 전자책 컨텐츠 파일을 소정 단위로 읽고 파싱하는 단계; 파싱된 데이터를 이용하여 레이아웃 트리를 생성하는 단계; 상기 레이아웃 트리를 이용하여 페이지를 분할하고, 분할된 각 페이지에 대해 페이지 분할 정보를 생성하는 단계; 및 상기 페이지 분할 정보를 이용하여 현재 페이지 구간의 엘레멘트를 읽고 파싱하며 레이아웃을 수행하여 렌더링 레이아웃 트리를 구성하고 상기 렌더링 레이아웃 트리에 따라 해당 페이지를 렌더링하는 단계를 포함함을 특징으로한다.According to an aspect of the present invention, there is provided a method of rendering an e-book content file on a screen, the method comprising: reading and parsing the e-book content file in a predetermined unit; Generating a layout tree using the parsed data; Dividing a page using the layout tree and generating page dividing information for each divided page; And constructing a rendering layout tree by reading and parsing an element of a current page section using the page split information to perform a layout, and rendering a corresponding page according to the rendering layout tree.
이하에서 첨부된 도면을 참조하여 본 발명을 상세하게 설명하기로한다.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)에 각 페이지에 대해 레이아웃이 시작하고 끝나는 엘레멘트의 파일 옵셋 정보와 레이아웃 시작 위치를 저장한다. 페이지 분할이 완료되면 다음 페이지로 나뉘어지는 엘레멘트의 파일 위치와 레이아웃 시작 위치를 읽는다. 또한, 페이지 분할부(23)는 분할된 페이지에 대해 도 3에 도시된 바와 같은 페이지 분할 정보를 생성하여 페이지 분할정보 저장부(23-1)에 임시 저장한다. 도 3에 따르면, 페이지 분할정보는 스타일 정보와 같은 통상의 페이지 정보를 포함하는 필드(30), 페이지가 시작되는 엘레먼트의 위치를 나타내는 필드(31), 페이지의 끝에 해당하는 엘레먼트의 위치를 나타내는 필드(32) 그리고 페이지 구분을 위한 레이아웃 페이지의 시작 위치를 나타내는 필드(33)를 구비한다.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의 바디부분에 해당하는 크기의 파일을 읽는다. 레이아웃의 시작위치는 이전 페이지 분할에서 저장된 레이아웃 시작위치를 더하여 설정된다.The
사용자는 상기 페이지 분할 정보로부터 문장이나 이미지 위치를 전자책 컨텐 츠 파일(20)에서 직접 검색하여 해당 페이지를 볼 수 있다.The user may directly search the
본 발명에 따르면 전자책 컨텐츠 파일을 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. In addition, by using a separate page-split layout tree, you can render the current page to the screen while performing page splits for the next N bytes, thus reducing the waiting time for 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.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020030011634A KR100945485B1 (en) | 2003-02-25 | 2003-02-25 | E-Book system and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020030011634A KR100945485B1 (en) | 2003-02-25 | 2003-02-25 | E-Book system and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20040076327A KR20040076327A (en) | 2004-09-01 |
KR100945485B1 true KR100945485B1 (en) | 2010-03-05 |
Family
ID=37362539
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020030011634A KR100945485B1 (en) | 2003-02-25 | 2003-02-25 | E-Book system and method thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100945485B1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101147256B1 (en) * | 2009-09-07 | 2012-05-18 | 주식회사 인큐브테크 | Producing apparatus and method for a standized electronic book |
WO2011135474A1 (en) | 2010-04-26 | 2011-11-03 | Nds Limited | Method for formatting text for display on an e-reader |
KR101368610B1 (en) * | 2011-08-08 | 2014-03-03 | 인텔렉추얼디스커버리 주식회사 | Method and system for selecting paragraph on electronic book environments |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010093988A (en) * | 2000-04-03 | 2001-10-31 | 이용선 | Portable eletronic-book and Operating method |
KR20030013940A (en) * | 2001-08-10 | 2003-02-15 | 삼성전자주식회사 | electronic Book for displaying emulation data at screen inputting from outside |
-
2003
- 2003-02-25 KR KR1020030011634A patent/KR100945485B1/en not_active IP Right Cessation
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010093988A (en) * | 2000-04-03 | 2001-10-31 | 이용선 | Portable eletronic-book and Operating method |
KR20030013940A (en) * | 2001-08-10 | 2003-02-15 | 삼성전자주식회사 | electronic Book for displaying emulation data at screen inputting from outside |
Also Published As
Publication number | Publication date |
---|---|
KR20040076327A (en) | 2004-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101308488B (en) | Document stream type information processing method based on format document and device therefor | |
CN105446946B (en) | Rearrangement method, system and the electronic reading terminal of format document | |
WO2009000141A1 (en) | Representation method, system and device of layout file logical structure information | |
JP4990302B2 (en) | Data processing method, data processing program, and data processing apparatus | |
US20080301545A1 (en) | Method and system for the intelligent adaption of web content for mobile and handheld access | |
EP1451675A1 (en) | Directory for multi-page svg document | |
WO2001029635A2 (en) | System and method to efficiently generate and switch page display views on a portable electronic book | |
WO1998008168A1 (en) | Original text generating apparatus and its program storage medium | |
KR101147256B1 (en) | Producing apparatus and method for a standized electronic book | |
JP2006202297A5 (en) | ||
KR100945485B1 (en) | E-Book system and method thereof | |
US9817913B2 (en) | Method and apparatus for collecting, merging and presenting content | |
KR20120104883A (en) | E-book system | |
JP2009265770A (en) | Significant sentence presentation system | |
JP2001175673A (en) | Electronic book display device and storage medium stored with electronic book display program | |
JP2004178085A (en) | Information display device, information display program, program recording medium and information display method | |
JP5570202B2 (en) | Structured document analysis apparatus, structured document analysis method, and computer program | |
JP2004021746A (en) | Method and system for displaying character string of retrieved result | |
JP4173770B2 (en) | Data processing apparatus, data processing method, data processing program, and recording medium | |
CN112445474B (en) | Display method for long text file name and storage medium | |
JP2004220109A (en) | Text high-speed sequential switching display system and text high-speed sequential switching display program, and text high-speed sequential switching display method | |
JP2009098829A (en) | Frame retrieval device for cartoon | |
JPH11249941A (en) | Method of generating file for arrangement | |
KR101295005B1 (en) | Method for generating file of electronic book and playing the same file | |
JPH10116285A (en) | Method and device for layout processing utilizing element-to-element reference |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20130130 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20140128 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20150129 Year of fee payment: 6 |
|
FPAY | Annual fee payment |
Payment date: 20160128 Year of fee payment: 7 |
|
LAPS | Lapse due to unpaid annual fee |