KR102185851B1 - Method for Producting E-Book and Computer Program Therefore - Google Patents

Method for Producting E-Book and Computer Program Therefore Download PDF

Info

Publication number
KR102185851B1
KR102185851B1 KR1020180102880A KR20180102880A KR102185851B1 KR 102185851 B1 KR102185851 B1 KR 102185851B1 KR 1020180102880 A KR1020180102880 A KR 1020180102880A KR 20180102880 A KR20180102880 A KR 20180102880A KR 102185851 B1 KR102185851 B1 KR 102185851B1
Authority
KR
South Korea
Prior art keywords
information
vector image
image information
data
vector
Prior art date
Application number
KR1020180102880A
Other languages
Korean (ko)
Other versions
KR20200025475A (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 KR1020180102880A priority Critical patent/KR102185851B1/en
Publication of KR20200025475A publication Critical patent/KR20200025475A/en
Application granted granted Critical
Publication of KR102185851B1 publication Critical patent/KR102185851B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

본 실시예는 전자책 관련 콘텐츠를 서비스 시 그 비용 및 시간을 최소화하면서도 텍스트에 대한 높은 가독성을 갖는 콘텐츠를 제작 가능토록 하며, 더 나아가 제작 과정에서 불필요한 데이터를 줄여 파일 사이즈와 속도를 개선 가능토록 하는 전자책 제작방법 및 그를 위한 컴퓨터 프로그램에 관한 것이다.This embodiment minimizes the cost and time when servicing e-book-related content, while making it possible to produce content with high readability for text, and furthermore, it is possible to improve file size and speed by reducing unnecessary data in the production process. It relates to a method for producing an e-book and a computer program therefor.

Description

전자책 제작방법 및 그를 위한 컴퓨터 프로그램{Method for Producting E-Book and Computer Program Therefore}Method for Producting E-Book and Computer Program Therefore}

본 실시예는 전자책 제작방법 및 그를 위한 컴퓨터 프로그램에 관한 것이다. 보다 상세하게는, 벡터 그래픽 기반의 전자책을 제작하는 데 있어서, 아웃라인 처리된 벡터 그래픽 텍스트를 최적화하는 방법 및 그를 위한 컴퓨터 프로그램에 관한 것이다.The present embodiment relates to a method for producing an electronic book and a computer program therefor. More specifically, it relates to a method for optimizing an outlined vector graphic text and a computer program therefor in producing a vector graphic-based e-book.

이하에 기술되는 내용은 단순히 본 발명에 따른 실시예들과 관련되는 배경 정보만을 제공할 뿐 종래기술을 구성하는 것이 아니다.The content described below merely provides background information related to the embodiments according to the present invention and does not constitute the prior art.

근래에 들어, 정부의 교육 정책 및 교육 환경이 변화함에 따라, 교육에 대한 인식이 다양화되고 있으며, 이러한 변화된 인식을 지원하기 위한 다양한 시도가 이루어지고 있다. 이 중 전자책(electronic book; e-book)은 문자, 이미지 또는 동영상과 같은 시청각 정보를 전자매체에 기록하여 종래의 서책과 같이 이용할 수 있는 디지털 도서를 말한다. 이러한 전자책은 이러닝(e-learning) 콘텐츠 개발 및 보급이 활성화되면서 새로운 교육 서비스 모델로서 주목받고 있다.In recent years, as the government's educational policy and educational environment change, awareness of education has diversified, and various attempts have been made to support this changed awareness. Among them, an electronic book (e-book) refers to a digital book that can be used like a conventional book by recording audio-visual information such as text, images, or moving pictures on an electronic medium. These e-books are attracting attention as a new educational service model as e-learning content development and distribution are activated.

ePUB(electronic publication)은 IDPF(international digital publishing forum)에서 개발한 전자책 포맷의 표준으로, 현재 전자책 시장에서는 사실상 표준(de facto standard)으로 자리매김하고 있다. 이러한 추세에 발맞추어, 현재 대부분의 출판사들은 ePUB 포맷으로 전자책을 제작하고 있다. 다만, ePUB 시장이 활성화되고 있음에도 불구하고, 아직 전통적인 서책을 출판하던 출판사 또는 콘텐츠를 보유하고 있는 개인이 ePUB 전자책을 제작하고 출판하기에는 어려움이 많다. 이러한 연유로 출판사나 개인은 유통사에서 무료로 배포되는 전자책 저작툴을 사용하여 ePUB 전자책을 제작하고 있다. 하지만, 지금까지의 전자책 저작툴은 여전히 사용자들이 다루기가 어렵다는 문제점이 존재하며, 이는 ePUB 시장 활성화의 장벽으로 작용한다.ePUB (electronic publication) is an e-book format standard developed by IDPF (international digital publishing forum), and is currently positioned as a de facto standard in the e-book market. In keeping with this trend, most publishers are currently producing e-books in ePUB format. However, even though the ePUB market is revitalizing, it is difficult for a publisher who has been publishing traditional books or an individual who has content to produce and publish ePUB e-books. For this reason, publishers and individuals are producing ePUB e-books using e-book authoring tools distributed free of charge from distribution companies. However, the e-book authoring tool up to now still has a problem that it is difficult for users to handle, which acts as a barrier to vitalization of the ePUB market.

따라서, 전자책 관련 콘텐츠를 서비스 시 그 비용 및 노동력을 최소화하면서도 텍스트에 대한 높은 가독성을 갖는 전자책을 보다 손쉽게 제작 가능토록 하며, 더 나아가 제작 과정에서 불필요한 데이터를 줄여 파일 사이즈와 속도를 개선 가능토록 하는 새로운 유형의 전자책 제작 방안을 필요로 한다.Therefore, when servicing e-book-related contents, it is possible to produce e-books with high legibility for text more easily while minimizing the cost and labor, and further, reducing unnecessary data during the production process, improving file size and speed. There is a need for a new type of e-book production plan.

본 실시예는 전자책 관련 콘텐츠를 서비스 시 그 비용 및 시간을 최소화하면서도 텍스트에 대한 높은 가독성을 갖는 콘텐츠를 제작 가능토록 하며, 더 나아가 제작 과정에서 불필요한 데이터를 줄여 파일 사이즈와 속도를 개선 가능토록 하는 전자책 제작방법 및 그를 위한 컴퓨터 프로그램을 제공하는 데 그 목적이 있다.This embodiment minimizes the cost and time when servicing e-book-related content, while making it possible to produce content with high readability for text, and furthermore, it is possible to improve file size and speed by reducing unnecessary data in the production process. Its purpose is to provide an e-book production method and a computer program for the same.

본 실시예는, 전자책 제작 프로그램이 전자책 제작장치의 하드웨어와 결합되어, 텍스트 정보를 포함하는 원본 콘텐츠를 입력받는 과정; 상기 원본 콘텐츠로부터 상기 텍스트 정보를 추출한 후 상기 텍스트 정보의 형식을 벡터 이미지 형식으로 재구성하여 벡터 이미지 정보로 변환하는 과정; 상기 변환하는 과정에서 산출되는 벡터 그래픽 데이터값을 기반으로 상기 벡터 이미지 정보 중 상기 텍스트 정보에 대응하는 데이터 값이 서로 동일한 동일 벡터 이미지 정보를 선별하는 과정; 및 상기 벡터 그래픽 데이터값을 기준으로 상기 동일 벡터 이미지 정보가 저장되는 형태인 데이터 구조를 재구성하는 과정을 실행시키기 위하여 컴퓨터로 읽을 수 있는 기록매체에 저장된 전자책 제작 프로그램을 제공한다.In the present embodiment, the e-book production program is combined with the hardware of the e-book production apparatus to input original content including text information; Extracting the text information from the original content, reconstructing the text information format into a vector image format, and converting the text information into vector image information; Selecting the same vector image information having the same data value corresponding to the text information among the vector image information based on the vector graphic data value calculated in the conversion process; And an e-book making program stored in a computer-readable recording medium in order to execute a process of reconstructing a data structure in which the same vector image information is stored based on the vector graphic data value.

또한, 본 실시예의 다른 측면에 의하면, 텍스트 정보를 포함하는 원본 콘텐츠를 입력받는 입력부; 상기 원본 콘텐츠로부터 상기 텍스트 정보를 추출한 후 상기 텍스트 정보의 형식을 벡터 이미지 형식으로 재구성하여 벡터 이미지 정보로 변환하는 벡터 이미지 생성부; 상기 변환하는 과정에서 산출되는 벡터 그래픽 데이터값을 기반으로 상기 벡터 이미지 정보 중 상기 텍스트 정보에 대응하는 데이터 값이 서로 동일한 동일 벡터 이미지 정보를 선별하는 선별부; 및 상기 벡터 그래픽 데이터값을 기준으로 상기 동일 벡터 이미지 정보가 저장되는 형태인 데이터 구조를 재구성하는 데이터 처리부를 포함하는 것을 특징으로 하는 전자책 제작장치를 제공한다.In addition, according to another aspect of the present embodiment, there is provided an input unit for receiving original content including text information; A vector image generator for extracting the text information from the original content, reconstructing the text information format into a vector image format, and converting the text information into vector image information; A selection unit that selects the same vector image information having the same data value corresponding to the text information among the vector image information based on the vector graphic data value calculated in the conversion process; And a data processing unit configured to reconstruct a data structure in which the same vector image information is stored based on the vector graphic data value.

이상에서 설명한 바와 같이 본 실시예에 의하면, 전자책 제작 시 화면에 표시되는 동일 텍스트 정보를 참조타입의 벡터 그래픽으로 변환하여 제공함으로써 전체 용량은 최소화되면서도, 종래 대비 텍스트 정보에 대한 가독성이 높은 콘텐츠를 제공 가능한 효과가 있다.As described above, according to the present embodiment, by converting and providing the same text information displayed on the screen when producing an e-book into a vector graphic of a reference type, the total capacity is minimized, and content with high readability for text information is provided. There is a possible effect.

또한, 본 실시예에 의하면, 텍스트 정보를 벡터 방식의 그래픽으로 변환하여 제공함으로써 전자책 뷰어 장치마다 지원 가능한 폰트 렌더링 방식의 차이로 인해 야기되는 표현의 오류 발생에 대한 문제점을 사전에 해결할 수 있는 효과가 있다.In addition, according to the present embodiment, by converting and providing text information into vector-based graphics, it is possible to solve the problem of expression errors caused by differences in font rendering methods supported by e-book viewer devices in advance. There is.

또한, 본 실시예에 의하면, 전자책 제작 과정에서 참조 형식으로 동일한 데이터를 모아 불필요한 데이터를 줄임으로써 파일 사이즈와 속도를 개선 가능토록 하는 효과가 있다.Further, according to the present embodiment, there is an effect that it is possible to improve the file size and speed by reducing unnecessary data by collecting the same data in a reference format in the process of producing an e-book.

도 1은 본 실시예에 따른 전자책 서비스 시스템을 개략적으로 나타낸 블록 구성도이다.
도 2는 본 실시예에 따른 전자책 제작장치를 개략적으로 나타낸 블록 구성도이다.
도 3은 본 실시예에 따른 선별부를 개략적으로 나타낸 블록 구성도이다.
도 4는 본 실시예에 따른 데이터 처리부를 개략적으로 나타낸 블록 구성도이다.
도 5는 본 실시예에 따른 전자책 제작 시의 데이터 최적화 방법을 설명하기 위한 순서도이다.
도 6은 본 실시예에 따른 전자책 제작 시의 데이터 최적화 과정을 도시한 도면이다.
도 7a 및 도 7b는 본 실시예에 따른 데이터 최적화 방법에 따른 벡터 이미지 정보의 데이터 구조를 예시한 예시도이다.
1 is a block diagram schematically showing an e-book service system according to the present embodiment.
2 is a block diagram schematically showing an e-book making apparatus according to the present embodiment.
3 is a block diagram schematically showing a selection unit according to the present embodiment.
4 is a block diagram schematically illustrating a data processing unit according to the present embodiment.
5 is a flowchart illustrating a data optimization method when producing an e-book according to the present embodiment.
6 is a diagram showing a data optimization process when producing an e-book according to the present embodiment.
7A and 7B are exemplary diagrams illustrating a data structure of vector image information according to a data optimization method according to the present embodiment.

이하, 본 실시예를 첨부된 도면을 참조하여 상세하게 설명한다.Hereinafter, this embodiment will be described in detail with reference to the accompanying drawings.

도 1은 본 실시예에 따른 전자책 서비스 시스템을 개략적으로 나타낸 블록 구성도이다.1 is a block diagram schematically showing an e-book service system according to the present embodiment.

도 1에 도시하듯이, 본 실시예에 따른 전자책 서비스 시스템은 전자책 제작장치(100), 웹 서버(110) 및 전자책 뷰어장치(120)를 포함한다.As shown in FIG. 1, the e-book service system according to the present embodiment includes an e-book making device 100, a web server 110, and an e-book viewer device 120.

전자책 제작장치(100)는 웹 서버(110) 또는 사용자로부터 텍스트 정보 및 이미지 정보를 포함하는 원본 콘텐츠를 입력받고, 입력받은 원본 콘텐츠를 기반으로 전자책 관련 콘텐츠 파일을 자동 생성하여 제공하는 장치이다.The e-book production device 100 is a device that receives original content including text information and image information from the web server 110 or a user, and automatically generates and provides an e-book-related content file based on the received original content. .

전자책 제작장치(100)는 사용자의 키 조작에 따라 네트워크 등을 경유하여 각종 데이터를 송수신할 수 있는 단말기를 말하는 것이며, 태블릿 PC(Tablet PC), 랩톱(Laptop), 개인용 컴퓨터(PC: Personal Computer), 스마트폰(Smart Phone), 개인휴대용 정보단말기(PDA: Personal Digital Assistant) 및 이동통신 단말기(Mobile Communication Terminal) 등 중 어느 하나일 수 있다.The e-book making device 100 refers to a terminal capable of transmitting and receiving various data via a network according to a user's key operation, and a tablet PC, a laptop, and a personal computer (PC). ), a smart phone, a personal digital assistant (PDA), and a mobile communication terminal.

본 실시예에 따른 전자책 제작장치(100)는 전자책 제작 애플리케이션(102)을 탑재하여 전자책 관련 콘텐츠에 대한 제작 기능을 제공할 수 있다. 전자책 제작장치(100)는 사용자의 조작 또는 명령에 의해 전자책 제작 애플리케이션(102)을 구동하며, 전자책 제작 애플리케이션(102)을 통해 전자책 관련 콘텐츠에 대한 제작 기능을 제공할 수 있다.The e-book production apparatus 100 according to the present embodiment may provide a production function for e-book-related content by mounting the e-book production application 102. The e-book making apparatus 100 drives the e-book making application 102 by a user's operation or command, and may provide a production function for e-book-related contents through the e-book making application 102.

이하, 전자책 제작장치(100)가 전자책 관련 콘텐츠에 대한 제작 기능을 제공하는 동작에 대하여 설명하도록 한다. 전자책 제작장치(100)는 탑재된 전자책 제작 애플리케이션(102)이 실행되는 경우 수신한 원본 콘텐츠를 파싱하여 원본 콘텐츠에 포함된 텍스트 정보 및 이미지 정보에 대한 메타 정보들을 추출하고, 추출한 메타 정보들을 기반으로 수집 데이터를 생성한다. 이때, 메타 정보로는 텍스트 정보 및 이미지 정보 각각에 대한 위치 좌표값을 포함하는 레이아웃 정보가 수집될 수 있으며, 텍스트 정보에 대응하는 데이터 값(텍스트 내용)을 포함하는 속성정보가 수집될 수 있다. 실시예에 따라, 텍스트 정보에 대한 속성정보로는 텍스트 정보에 대한 폰트 정보, 위치, 크기, 기울임 정보 및 색상 정보 중 하나 이상의 정보가 추가로 수집될 수 있다.Hereinafter, an operation in which the e-book production apparatus 100 provides a production function for e-book-related content will be described. When the loaded e-book making application 102 is executed, the e-book making apparatus 100 parses the received original content, extracts meta information about text information and image information included in the original content, and extracts the extracted meta information. It generates collected data based on it. In this case, as meta information, layout information including position coordinate values for each of text information and image information may be collected, and attribute information including data values (text content) corresponding to text information may be collected. According to an embodiment, as attribute information for text information, one or more of font information, position, size, tilt information, and color information for text information may be additionally collected.

본 실시예의 경우 전자책 제작장치(100)는 전자책 제작 시 그 가독성이 중요한 텍스트 정보의 경우 벡터 방식의 그래픽으로 변환하여 제공한다. 이때, 텍스트 정보의 형식을 벡터 이미지 형식으로 재구성하는 과정에서 기존의 텍스트 정보에 대한 관련 데이터의 손실이 발생하게 된다. 이는 곧, 이후, 전자책 뷰어장치에서 텍스트 정보와 관련된 기능을 수행 시 텍스트 정보를 정확하게 인지하지 못함에 따라 오류가 발생할 수 있다는 문제점이 존재할 수 있다. 이 점에 기인하여, 본 실시예에 따른 전자책 제작장치(100)는 텍스트 정보에 대한 벡터 이미지화 과정에 앞서, 원본 콘텐츠에 포함된 텍스트 정보 및 이미지 정보에 대한 메타 정보들을 추출하고, 추출한 메타 정보들을 기반으로 수집 데이터를 생성하여 제공한다. 이러한, 수집 데이터는 텍스트 정보의 벡터 이미지화 과정에서 손실되는 텍스트 정보에 대한 관련 데이터를 대체하는 대체 데이터로서의 기능을 수행한다.In the case of the present embodiment, the e-book making apparatus 100 converts and provides text information whose readability is important when making an e-book into a vector-type graphic. At this time, in the process of reconstructing the text information format into a vector image format, related data for the existing text information is lost. This may cause a problem in that an error may occur as the e-book viewer device does not accurately recognize text information when performing a function related to text information in the future. Due to this, the e-book making apparatus 100 according to the present embodiment extracts meta information for text information and image information included in the original content, and extracts meta information before the process of converting text information into a vector image. It creates and provides collected data based on the data. The collected data functions as replacement data that replaces related data for text information that is lost in the process of converting text information into a vector image.

전자책 제작장치(100)는 원본 콘텐츠로부터 텍스트 정보를 추출한 후 텍스트 정보를 벡터 이미지 정보로 변환한다. 벡터 이미지 정보는 벡터라는 점들과 선을 사용해 테두리와 내부를 채워 만든 이미지로써 확대 및 축소 시에도 원본과 동일한 모습을 얻을 수 있는 이미지 포맷 형식을 의미한다. 이러한, 벡터 이미지 정보는 경계선이 선의 연결로 이루어져 있기 때문에 원본에 대한 확대/축소와 무관하게 항상 선명한 이미지를 제공할 수 있다는 장점이 존재한다.The e-book making apparatus 100 extracts text information from the original content and then converts the text information into vector image information. Vector image information is an image created by filling the borders and insides using dots and lines called vectors, and refers to an image format format that can obtain the same appearance as the original even when enlarged or reduced. Such vector image information has an advantage that a clear image can always be provided irrespective of the enlargement/reduction of the original because the boundary line consists of a connection of lines.

본 실시예에 따른 전자책 제작장치(100)는 전자책 제작 시 가독성이 중요한 텍스트 정보에 대해서는 벡터 방식의 그래픽으로 변환하여 제공함에 따라 종래 대비 높은 가독성을 갖는 콘텐츠가 제공될 수 있도록 한다. 또한, 텍스트 정보의 형식을 벡터 이미지 형식으로 재구성하여 제공함에 따라 텍스트 정보에 대하여 왜곡 없이 그대로 화면상에 출력될 수 있도록 하며, 이를 통해, 전자책 뷰어장치마다 지원 가능한 폰트의 렌더링 차이로 인해 야기될 수 있는 텍스트 정보의 표현 오류 발생을 사전에 방지할 수 있도록 하는 효과를 제공한다.The e-book making apparatus 100 according to the present embodiment converts and provides text information for which readability is important when making an e-book into a vector-type graphic, so that content having a higher readability compared to the prior art can be provided. In addition, as the format of text information is reconstructed into a vector image format and provided, the text information can be displayed on the screen as it is without distortion. Through this, it is caused by differences in rendering of fonts that can be supported by each e-book viewer device. It provides the effect of preventing the occurrence of expression errors of possible text information in advance.

본 실시예에 있어서, 전자책 제작장치(100)는 텍스트 정보를 벡터 이미지 정보로 변환하는 과정에서 텍스트 정보의 형식을 벡터 그래픽 데이터값 및 메트릭스 정보로 구성되는 백터 그래픽 파일 포맷(SVG: Scalable Vector Graphics) 형태로 생성한다. 이때, 벡터 그래픽 데이터값은 텍스트 정보의 글자 모양을 벡터 방식의 데이터로 표현한 정보를 의미한다. 또한, 메트릭스 정보로는 벡터 이미지 정보의 메트릭스 좌표, 크기 및 스타일 정보(ex: 색상 정보, 굵기 정보 등) 등이 포함될 수 있다.In the present embodiment, the e-book making apparatus 100 converts the text information into vector image information in a vector graphic file format (SVG: Scalable Vector Graphics) consisting of vector graphic data values and matrix information. ) Form. In this case, the vector graphic data value means information in which the character shape of text information is expressed in vector format data. In addition, the matrix information may include matrix coordinates of vector image information, size and style information (eg, color information, thickness information, etc.).

한편, 같은 페이지 내에 동일한 텍스트에 대하여 변환된 벡터 이미지 정보를 살펴보면, 각각의 벡터 이미지 정보들은 서로 동일한 벡터 그래픽 데이터값을 갖으며, 다만, 메트릭스 정보에 있어서 차이점이 존재한다. 종래의 경우, 이를 백터 그래픽 파일 포맷 형태로 표현함에 있어서, 글자별로 각각 동일한 벡터 그래픽 데이터값을 반복 생성해야 함에 따라 불필요하게 데이터가 발생할 수 밖에 없으며, 이는 곧 파일 사이즈가 증가되는 문제점이 존재하였다.On the other hand, looking at the vector image information converted for the same text in the same page, each vector image information has the same vector graphic data value, but there is a difference in the matrix information. In the conventional case, in expressing this in the form of a vector graphic file format, data must be generated unnecessarily as the same vector graphic data value must be repeatedly generated for each character, which leads to an increase in file size.

이 점에 기인하여, 본 실시예에 따른 전자책 제작장치(100)는 텍스트 정보를 벡터 이미지 정보로 변환하는 과정에서 텍스트 정보에 대응하는 데이터 값이 서로 동일한 벡터 이미지 정보(이하, 동일 벡터 이미지 정보로 명시하여 설명하도록 한다)들에 대해서는 벡터 그래픽 데이터값을 기준으로 벡터 그래픽 파일 포맷이 저장되는 데이터 구조를 재구성하여 저장한다. 이를 통해, 전자책 제작장치(100)는 이후, 벡터 이미지 정보를 화면에 렌더링 할때, 동일 벡터 이미지 정보에 대해서는 메트릭스 정보만을 활용하여 대응되는 각각의 위치에 동일한 벡터 그래픽 데이터값이 동시에 렌더링될 수 있도록 한다. 이는 곧, 불필요한 데이터를 줄여 파일사이즈와 속도를 개선할 수 있다는 효과가 있다.Due to this, in the process of converting text information into vector image information, the e-book making apparatus 100 according to the present embodiment has the same vector image information (hereinafter, the same vector image information as the data values corresponding to the text information). For these, the data structure in which the vector graphic file format is stored is reconstructed and stored based on the vector graphic data value. Through this, when the e-book production apparatus 100 then renders the vector image information on the screen, the same vector graphic data value can be simultaneously rendered at each corresponding position using only the matrix information for the same vector image information. To be. This has the effect of improving file size and speed by reducing unnecessary data.

한편, 본 실시예에 따른 전자책 제작장치(100)가 벡터 이미지 정보의 데이터를 최적화하는 구체적인 방법에 대해서는 도 2에서 보다 자세하게 설명하도록 한다.Meanwhile, a detailed method of optimizing data of vector image information by the e-book production apparatus 100 according to the present embodiment will be described in more detail with reference to FIG. 2.

전자책 제작장치(100)는 원본 콘텐츠로부터 이미지 정보를 추출하고, 추출한 이미지 정보를 기 설정된 이미지 포맷으로 저장하여 제공한다. 이때, 전자책 제작장치(100)에 의해 추출되는 이미지 정보는 콘텐츠 내 배경(Background) 이미지에 해당하는 이미지 정보인 것이 바람직하나 반드시 이에 한정되는 것은 아니다.The e-book making apparatus 100 extracts image information from the original content, stores the extracted image information in a preset image format, and provides it. In this case, the image information extracted by the e-book making apparatus 100 is preferably image information corresponding to a background image in the content, but is not limited thereto.

본 실시예에 따른 전자책 제작장치(100)는 추출한 이미지 정보를 비트맵 이미지 포맷으로 저장한다. 비트맵 이미지 포맷의 경우 전체 그림을 구성하는 픽셀 데이터의 배열을 통해 이미지를 형성 및 저장하는 방식으로 아무리 복잡하고 미려한 그림의 경우라도 시스템에 큰 부하를 미치지 않는다는 장점이 존재한다. 즉, 본 실시예에 따른 전자책 제작장치(100)는 원본 콘텐츠로부터 추출한 이미지 정보를 비트맵 이미지 포맷으로 저장하여 제공함으로써 이후 생성되는 전자책 파일에 대한 전체 용량이 최소화될 수 있도록 한다.The e-book making apparatus 100 according to the present embodiment stores the extracted image information in a bitmap image format. In the case of a bitmap image format, an image is formed and stored through an array of pixel data constituting an entire picture, and there is an advantage that it does not place a large load on the system, no matter how complex and beautiful pictures are. That is, the e-book production apparatus 100 according to the present embodiment stores and provides image information extracted from the original content in a bitmap image format, so that the total capacity of the e-book file generated later can be minimized.

전자책 제작장치(100)는 수집 데이터, 벡터 이미지 정보 및 이미지 정보를 기반으로 기 설정된 포맷의 전자책 파일을 생성한다. 본 실시예에 있어서, 전자책 제작장치(100)는 수집 데이터, 벡터 이미지 정보 및 이미지 정보를 기반으로 ePUB(Electronic Publication) 포맷 형태의 전자책 파일을 생성하는 것이 바람직하나 반드시 이에 한정되는 것은 아니다.The e-book making apparatus 100 generates an e-book file of a preset format based on collected data, vector image information, and image information. In the present embodiment, the e-book making apparatus 100 preferably generates an e-book file in the form of an ePUB (Electronic Publication) format based on collected data, vector image information, and image information, but is not limited thereto.

전자책 제작 애플리케이션(102)은 전자책 제작장치(100)가 수행하는 별도의 소프트웨어적 기능 또는 하드웨어적 기능을 구비한 형태로 독립적으로 운용되도록 구현되거나 전자책 제작장치(100)가 수행하는 별도의 소프트웨어적 기능 또는 하드웨어적 기능과 연동하는 형태로 구현될 수 있다.The e-book making application 102 is implemented to be independently operated in a form having a separate software function or a hardware function performed by the e-book making device 100, or a separate It can be implemented in the form of interlocking with software functions or hardware functions.

웹 서버(110)는 전자책 파일을 생성하는 데 있어서 사용되는 원본 콘텐츠를 전자책 제작장치(100)로 제공하는 기능을 수행한다. 한편, 웹 서버(110)로부터 제공되는 원본 콘텐츠는 EPS(Encapsulated PostScript) 또는 PDF(Portable Document Format) 포맷 형태로 제작된 문서인 것이 바람직하나 반드시 이에 한정되는 것은 아니다.The web server 110 performs a function of providing the original content used in generating the e-book file to the e-book production apparatus 100. Meanwhile, the original content provided from the web server 110 is preferably a document produced in an EPS (Encapsulated PostScript) or PDF (Portable Document Format) format, but is not limited thereto.

전자책 뷰어장치(120)는 웹 서버(110) 또는 전자책 제작장치(110)로부터 전자책 파일을 제공받고, 제공받은 전자책 파일의 내용을 사용자가 볼 수 있도록 하는 장치를 의미한다.The e-book viewer device 120 is a device that receives an e-book file from the web server 110 or the e-book production device 110 and allows a user to view the contents of the provided e-book file.

본 실시예에 따른 전자책 뷰어장치(120)는 전자책 뷰어 애플리케이션(122)을 탑재하여 전자책 관련 콘텐츠에 대한 뷰어 기능을 제공할 수 있다. 전자책 뷰어장치(120)는 사용자의 조작 또는 명령에 의해 전자책 뷰어 애플리케이션(122)을 구동하며, 전자책 뷰어 애플리케이션(122)을 통해 전자책 관련 콘텐츠에 대한 뷰어 기능을 제공할 수 있다.The e-book viewer device 120 according to the present embodiment may provide a viewer function for e-book-related content by mounting the e-book viewer application 122. The e-book viewer device 120 drives the e-book viewer application 122 by a user's manipulation or command, and may provide a viewer function for e-book-related content through the e-book viewer application 122.

이하, 전자책 뷰어장치(120)가 전자책 관련 콘텐츠에 대한 뷰어 기능을 제공하는 동작에 대해 설명하도록 한다. 전자책 뷰어장치(120)는 탑재된 전자책 뷰어 애플리케이션(122)이 실행되는 경우 수신한 전자책 파일을 파싱하여 전자책 파일에 포함된 수집 데이터, 벡터 이미지 정보 및 이미지 정보를 추출한다.Hereinafter, an operation in which the e-book viewer device 120 provides a viewer function for e-book-related content will be described. When the mounted e-book viewer application 122 is executed, the e-book viewer device 120 parses the received e-book file and extracts collection data, vector image information, and image information included in the e-book file.

전자책 뷰어장치(120)는 수집 데이터에 포함된 레이아웃 정보를 추출하고, 추출한 레이아웃 정보에 포함된 텍스트 정보의 위치 좌표값에 대응하는 위치에 벡터 이미지 정보를 표시한다. 본 실시예에 있어서, 전자책 제작장치(100)는 전자책 제작 시 그 가독성 중요한 텍스트 정보의 경우 벡터 방식의 그래픽으로 변환하여 제공한다. 즉, 전자책 뷰어장치(120)는 수집 데이터에 포함된 레이아웃 정보를 기반으로, 종래의 텍스트 정보가 표시되는 위치상에 해당 텍스트 정보에 대응하는 벡터 이미지 정보를 표시하여 제공한다.The e-book viewer device 120 extracts layout information included in the collected data, and displays vector image information at a position corresponding to a position coordinate value of text information included in the extracted layout information. In this embodiment, the e-book making apparatus 100 converts and provides text information that is important for readability when making an e-book into a vector-type graphic. That is, the e-book viewer device 120 displays and provides vector image information corresponding to the text information on a location where conventional text information is displayed, based on the layout information included in the collected data.

전자책 뷰어장치(120)는 레이아웃 정보에 포함된 이미지 정보의 위치 좌표값에 대응하는 위치에 이미지 정보를 표시한다.The e-book viewer device 120 displays image information at a position corresponding to a position coordinate value of image information included in the layout information.

전자책 뷰어장치(120)는 수집 데이터를 활용하여 벡터 이미지 정보로 표시되는 텍스트 정보와 관련된 다양한 추가 기능을 제공한다.The e-book viewer device 120 provides various additional functions related to text information displayed as vector image information by utilizing the collected data.

전자책 뷰어 애플리케이션(122)은 전자책 뷰어장치(120)가 수행하는 별도의 소프트웨어적 기능 또는 하드웨어적 기능을 구비한 형태로 독립적으로 운용되도록 구현되거나 전자책 뷰어장치(120)가 수행하는 별도의 소프트웨어적 기능 또는 하드웨어적 기능과 연동하는 형태로 구현될 수 있다.The e-book viewer application 122 is implemented to be independently operated in a form having a separate software function or hardware function performed by the e-book viewer device 120, or a separate It can be implemented in the form of interlocking with software functions or hardware functions.

도 2는 본 실시예에 따른 전자책 제작장치를 개략적으로 나타낸 블록 구성도이다.2 is a block diagram schematically showing an e-book making apparatus according to the present embodiment.

도 2는 본 실시예에 따른 전자책 제작장치(100)의 내부 블록도로서, 이러한, 전자책 제작장치(100)는 단말기의 하드웨어와 전자책 제작 애플리케이션(102)의 소프트웨어가 결합된 별도의 자립형 장치로 구현될 수 있다. 예컨대, 도 2에 도시된 전자책 제작장치(100)의 기능 모듈들은 전자책 제작장치(100)에 탑재된 전자책 제작 애플리케이션(102)이 구동되는 경우 실현될 수 있다.2 is an internal block diagram of the e-book making apparatus 100 according to the present embodiment. This e-book making apparatus 100 is a separate standalone type in which hardware of a terminal and software of the e-book making application 102 are combined. It can be implemented as a device. For example, the functional modules of the e-book making apparatus 100 shown in FIG. 2 may be realized when the e-book making application 102 mounted in the e-book making apparatus 100 is driven.

도 2에 도시하듯이, 본 실시예에 따른 전자책 제작장치(100)는 입력부(200), 수집 데이터 생성부(210), 벡터 이미지 생성부(220), 선별부(230) 및 데이터 처리부(240)를 포함한다. 본 실시예에 따른 전자책 제작장치(100)에 포함되는 구성 요소는 반드시 이에 한정되는 것은 아니다. 즉 도 2의 경우는 본 실시예에 따른 전자책 제작장치(100)의 구성요소 중 데이터 최적화 기능을 제공하기 위한 구성요소만을 예시적으로 도시한 것으로서, 이러한, 전자책 제작장치(100)는 다른 기능의 구현을 위해 도시한 것보다 많거나 적은 구성요소 또는 상이한 구성요소의 구성을 가질 수 있음을 인식하여야 한다.As shown in FIG. 2, the e-book making apparatus 100 according to the present embodiment includes an input unit 200, a collection data generation unit 210, a vector image generation unit 220, a selection unit 230, and a data processing unit ( 240). Components included in the e-book making apparatus 100 according to the present embodiment are not necessarily limited thereto. That is, in the case of FIG. 2, only a component for providing a data optimization function among the components of the e-book production apparatus 100 according to the present embodiment is illustrated as an example, and the e-book production apparatus 100 is different It should be appreciated that more or less components or configurations of different components than those shown for implementation of the function may be provided.

입력부(200)는 전자책 제작을 위한 원본 콘텐츠를 입력받기 위한 장치이다.The input unit 200 is a device for receiving input of original content for producing an e-book.

본 실시예에 있어서, 입력부(200)는 웹 서버(110) 또는 사용자로부터 원본 콘텐츠를 입력받을 수 있다. 이를 위해, 입력부(200)는 외부 장치와의 통신을 위한 통신수단 및 사용자로부터 선택명령을 입력받기 위한 사용자 인터페이스 등을 구비할 수 있다.In this embodiment, the input unit 200 may receive original content from the web server 110 or a user. To this end, the input unit 200 may include a communication means for communication with an external device and a user interface for receiving a selection command from a user.

한편, 입력부(200)를 통해 입력되는 원본 콘텐츠는 텍스트 정보 및 이미지 정보를 포함하여 구성될 수 있으며, EPS 또는 PDF 포맷 형태로 제작된 콘텐츠 파일인 것이 바람직하나 반드시 이에 한정되는 것은 아니다.Meanwhile, the original content input through the input unit 200 may include text information and image information, and is preferably a content file produced in an EPS or PDF format, but is not limited thereto.

수집 데이터 생성부(210)는 원본 콘텐츠를 파싱하여 원본 콘텐츠에 포함된 텍스트 정보 및 이미지 정보에 대한 메타 정보들을 추출하고, 추출한 메타 정보들을 기반으로 수집 데이터를 생성한다.The collection data generation unit 210 parses the original content, extracts meta information about text information and image information included in the original content, and generates collected data based on the extracted meta information.

이때, 메타 정보로는 텍스트 정보 및 이미지 정보 각각에 대한 위치 좌표값을 포함하는 레이아웃 정보가 수집될 수 있으며, 텍스트 정보에 대응하는 데이터 값(텍스트 내용)을 포함하는 속성정보가 수집될 수 있다. 실시예에 따라, 텍스트 정보에 대한 속성정보로는 텍스트 정보에 대한 폰트 정보, 크기 정보 및 색상 정보 중 하나 이상의 정보가 추가로 수집될 수 있다.In this case, as meta information, layout information including position coordinate values for each of text information and image information may be collected, and attribute information including data values (text content) corresponding to text information may be collected. According to an embodiment, one or more of font information, size information, and color information about text information may be additionally collected as attribute information about text information.

이러한, 수집 데이터는 텍스트 정보의 이미지화 과정에서 손실되는 텍스트 정보에 대한 관련 데이터들을 대체하는 대체 데이터로서의 기능을 수행하는 동시에 동일 벡터 이미지 정보를 선별하는 과정에서 기준 데이터로서 활용될 수 있다.The collected data may function as replacement data to replace related data for text information lost in the process of imaging text information and may be used as reference data in a process of selecting the same vector image information.

벡터 이미지 생성부(220)는 원본 콘텐츠로부터 텍스트 정보를 추출한 후 텍스트 정보를 벡터 이미지 정보로 변환한다.The vector image generator 220 extracts text information from the original content and then converts the text information into vector image information.

벡터 이미지 생성부(220)는 텍스트 정보의 글자 윤곽선을 아웃라인(Outline) 처리하여 텍스트 정보의 형태를 구성하는 복수 개의 선들에 대한 좌표 및 수치 정보를 산출한다. 벡터 이미지 생성부(220)는 산출한 좌표 및 수치 정보를 바탕으로 텍스트 정보의 형식을 벡터 그래픽 데이터값 및 메트릭스 정보로 구성되는 백터 그래픽 파일 포맷(SVG: Scalable Vector Graphics) 형태로 생성한다.The vector image generator 220 calculates coordinates and numerical information for a plurality of lines constituting the form of text information by processing the outline of the text of the text information. The vector image generator 220 generates a format of text information in the form of a vector graphic file format (SVG: Scalable Vector Graphics) consisting of vector graphic data values and matrix information based on the calculated coordinates and numerical information.

선별부(230)는 텍스트 정보의 이미지화 과정에서 산출되는 벡터 그래픽 데이터값을 기반으로, 벡터 이미지 생성부(220)로부터 생성된 벡터 이미지 정보 중 텍스트 정보에 대응하는 데이터 값이 서로 동일한 동일 벡터 이미지 정보를 선별한다. 여기서, 동일 벡터 이미지 정보는 같은 페이지 내에 배치 위치만 상이한 동일 텍스트들에 대하여 생성된 벡터 이미지 정보를 의미한다. 예컨대, 페이지 내에 "가"라는 글자에 대하여 생성된 벡터 이미지 정보들이 동일 벡터 이미지 정보일 수 있다.The selection unit 230 is the same vector image information in which the data values corresponding to the text information are the same among the vector image information generated by the vector image generator 220 based on the vector graphic data value calculated in the process of imaging the text information. Screen. Here, the same vector image information means vector image information generated for the same texts that differ only in the arrangement position in the same page. For example, vector image information generated for the character "A" in the page may be the same vector image information.

본 실시예에 있어서, 선별부(230)는 동일 벡터 이미지 정보를 선별하는 과정에 있어서, 앞서 수집 데이터 생성부(210)를 통해 생성한 수집 데이터 및 벡터 이미지 생성부(220)를 통해 산출된 메트릭스 정보 중 일부 또는 전부를 추가로 활용하여 동일 벡터 이미지 정보를 선별할 수 있다.In this embodiment, in the process of selecting the same vector image information, the selection unit 230 includes collected data generated by the collection data generation unit 210 and metrics calculated through the vector image generation unit 220 The same vector image information can be selected by additionally utilizing some or all of the information.

도 3을 참고하여 설명하자면, 본 실시예에 있어서, 선별부(230)는 동일글자 비교부(300), 벡터 그래픽 비교부(310) 및 스타일 정보 비교부(320)를 포함하는 형태로 구현될 수 있다.Referring to FIG. 3, in the present embodiment, the selection unit 230 may be implemented in a form including an identical character comparison unit 300, a vector graphic comparison unit 310, and a style information comparison unit 320. I can.

동일글자 비교부(300)는 앞서 수집 데이터 생성부(210)를 통해 생성한 수집 데이터를 기준 데이터로서 활용하여 동일 벡터 이미지 정보를 선별하는 기능을 수행한다.The same character comparison unit 300 performs a function of selecting the same vector image information by using the collected data previously generated through the collected data generation unit 210 as reference data.

동일글자 비교부(300)는 수집 데이터에 포함되는 텍스트 정보에 대한 속성정보를 기반으로 각 벡터 이미지 정보에 대응하는 텍스트 정보의 데이터 값이 서로 동일한 벡터 이미지 정보들을 동일 벡터 이미지 정보로서 선별할 수 있다.The same character comparison unit 300 may select vector image information having the same data value of text information corresponding to each vector image information as the same vector image information based on attribute information about text information included in the collected data. .

벡터 그래픽 비교부(310)는 텍스트 정보의 이미지화 과정에서 산출되는 벡터 그래픽 데이터값을 기준 데이터로서 활용하여 동일 벡터 이미지 정보를 선별하는 기능을 수행한다.The vector graphic comparison unit 310 performs a function of selecting the same vector image information by using the vector graphic data value calculated in the process of imaging text information as reference data.

벡터 그래픽 비교부(310)는 벡터 이미지 정보별로 상응하는 벡터 그래픽 데이터값을 비교하여 서로 동일한 벡터 그래픽 데이터값을 갖는 벡터 이미지 정보들을 동일 벡터 이미지 정보로서 선별한다.The vector graphic comparison unit 310 compares corresponding vector graphic data values for each vector image information and selects vector image information having the same vector graphic data values as the same vector image information.

스타일 정보 비교부(320)는 텍스트 정보의 이미지화 과정에서 산출되는 메트릭스 정보를 기준 데이터로서 활용하여 동일 벡터 이미지 정보를 선별하는 기능을 수행한다. 한편, 스타일 정보 비교부(320)로부터의 비교결과는 앞서, 동일글자 비교부(300) 및 벡터 그래픽 비교부(310)의 비교결과에 대한 보조 정보로서 활용될 수 있다.The style information comparison unit 320 performs a function of selecting the same vector image information by using the matrix information calculated in the process of imaging text information as reference data. Meanwhile, the comparison result from the style information comparison unit 320 may be used as auxiliary information on the comparison result of the same character comparison unit 300 and the vector graphic comparison unit 310.

스타일 정보 비교부(320)는 벡터 이미지 정보별로 메트릭스 정보 내 스타일 정보를 비교하교, 비교결과에 따라 스타일 정보가 서로 동일한 벡터 그래픽 정보들을 동일 벡터 이미지 정보로서 선별할 수 있다.The style information comparison unit 320 may compare style information in the matrix information for each vector image information, and select vector graphic information having the same style information as the same vector image information according to a comparison result.

데이터 처리부(240)는 벡터 그래픽 데이터값을 기준으로, 앞서 선별부(230)를 통해 선별된 동일 벡터 이미지 정보가 저장되는 형태인 데이터 구조를 재구성하는 기능을 수행한다.The data processing unit 240 performs a function of reconstructing a data structure in which the same vector image information previously selected by the selection unit 230 is stored based on the vector graphic data value.

본 실시예에 있어서, 데이터 처리부(240)는 텍스트 정보에 대응하는 데이터 값이 서로 동일한 벡터 이미지 정보들에 대해서는 벡터 그래픽 데이터값을 기준으로 벡터 그래픽 파일 포맷이 저장되는 데이터 구조를 재구성하여 저장한다In this embodiment, the data processing unit 240 reconstructs and stores a data structure in which a vector graphic file format is stored for vector image information having the same data value corresponding to text information based on the vector graphic data value.

도 4를 참고하여 설명하자면, 본 실시예에 있어서, 데이터 처리부(240)는 공용 레퍼런스 생성부(400), 데이터 매칭부(410) 및 데이터 제거부(420)를 포함하는 형태로 구현될 수 있다.Referring to FIG. 4, in the present embodiment, the data processing unit 240 may be implemented in a form including a common reference generation unit 400, a data matching unit 410, and a data removal unit 420. .

공용 레퍼런스 생성부(400)는 동일 벡터 이미지 정보 각각에 상응하는 벡터 그래픽 데이터값을 하나의 공용 레퍼런스 데이터로서 생성한다. 즉, 공용 레퍼런스 생성부(400)는 동일 벡터 이미지 정보 간에 서로 공통되는 값인 벡터 그래픽 데이터값을 공용 정보로서 생성한다.The common reference generation unit 400 generates vector graphic data values corresponding to each of the same vector image information as one common reference data. That is, the common reference generation unit 400 generates a vector graphic data value, which is a value common to each other between the same vector image information, as common information.

데이터 매칭부(410)는 공용 레퍼런스 데이터 상에 동일 벡터 이미지 정보 각각에 상응하는 메트릭스 정보들을 매칭시켜 저장한다. 예컨대, 데이터 매칭부(410)는 공용 레퍼런스 데이터의 하위 노드로서 동일 벡터 이미지 정보 각각에 상응하는 메트릭스 정보들을 순차적으로 매칭시켜 저장할 수 있다.The data matching unit 410 matches and stores matrix information corresponding to each of the same vector image information on common reference data. For example, the data matching unit 410 may sequentially match and store matrix information corresponding to each of the same vector image information as a lower node of the common reference data.

데이터 제거부(420)는 동일 벡터 이미지 정보들에 대한 데이터 구조 재구성으로 인해 야기되는 중복된 불필요한 데이터를 삭제 처리하는 기능을 수행한다. 예컨대, 데이터 제거부(420)는 데이터 구조의 재구성 과정에 앞서 기 저장된 벡터 그래픽 파일 포맷 중, 동일 벡터 이미지 정보 각각에 대하여 공용 레퍼런스 데이터로서 선별된 벡터 그래픽 데이터값을 삭제 처리할 수 있다.The data removal unit 420 performs a function of erasing redundant unnecessary data caused by reconstruction of a data structure for the same vector image information. For example, the data removal unit 420 may delete a vector graphic data value selected as common reference data for each of the same vector image information from among the vector graphic file formats previously stored prior to the reconstruction process of the data structure.

도 5는 본 실시예에 따른 전자책 제작 시의 데이터 최적화 방법을 설명하기 위한 순서도이다.5 is a flowchart illustrating a data optimization method when producing an e-book according to the present embodiment.

전자책 제작장치(100)는 텍스트 정보를 포함하는 원본 콘텐츠를 수신한다(S502). 단계 S502에서 전자책 제작장치(100)는 원본 콘텐츠로부터 텍스트 정보에 대한 메타 정보를 추출하여 수집 데이터를 생성할 수 있다. The e-book production apparatus 100 receives original content including text information (S502). In step S502, the e-book production apparatus 100 may generate collection data by extracting meta information on text information from the original content.

전자책 제작장치(100)는 단계 S502에서 수신한 원본 콘텐츠로부터 텍스트 정보를 추출하고, 추출한 텍스트 정보를 벡터 이미지 정보로 변환한다(S504). 단계 S504에서 전자책 제작장치(100)는 텍스트 정보의 글자 윤곽선을 아웃라인 처리하여 텍스트 정보의 형태를 구성하는 복수 개의 선들에 대한 좌표 및 수치 정보를 산출하고, 산출한 좌표 및 수치 정보를 바탕으로 텍스트 정보의 형식을 이미지 형식으로 재구성한다.The e-book making apparatus 100 extracts text information from the original content received in step S502, and converts the extracted text information into vector image information (S504). In step S504, the e-book making apparatus 100 calculates coordinates and numerical information for a plurality of lines constituting the form of text information by processing the outline of the characters of the text information, and based on the calculated coordinates and numerical information. The format of text information is reconstructed into image format.

전자책 제작장치(100)는 단계 S504의 변환 과정에서 산출되는 벡터 그래픽 데이터값을 기반으로 벡터 이미지 정보 중 텍스트 정보에 대응하는 데이터 값이 서로 동일한 동일 벡터 이미지 정보를 선별한다(S506). 단계 S506에서 전자책 제작장치(100)는 앞서 단계 S502에서 생성한 수집 데이터 및 단계 S504에서 산출된 메트릭스 정보 중 일부 또는 전부를 추가로 활용하여 동일 벡터 이미지 정보를 선별할 수 있다.The e-book making apparatus 100 selects the same vector image information having the same data value corresponding to the text information among the vector image information based on the vector graphic data value calculated in the conversion process of step S504 (S506). In step S506, the e-book making apparatus 100 may select the same vector image information by additionally utilizing some or all of the collected data generated in step S502 and the matrix information calculated in step S504.

전자책 제작장치(100)는 단계 S506에서 선별된 동일 벡터 이미지 정보가 저장되는 형태인 데이터 구조를 벡터 그래픽 데이터값을 기준으로 재구성하여 제공한다(S508). 단계 S508에서 전자책 제작장치(100)는 동일 벡터 이미지 정보들 간의 공통된 벡터 그래픽 데이터값을 하나의 레퍼런스 타입의 벡터그래픽 데이타로 만들고, 해당 벡터그래픽 데이터 상에 동일 벡터 이미지 정보 각각에 상응하는 메트릭스 정보들을 각각 매칭시켜 저장한다.The e-book making apparatus 100 reconstructs and provides a data structure in which the same vector image information selected in step S506 is stored based on the vector graphic data value (S508). In step S508, the e-book making apparatus 100 converts a common vector graphic data value between the same vector image information into one reference type vector graphic data, and matrix information corresponding to each of the same vector image information on the corresponding vector graphic data. Match each of them and store them.

여기서, 단계 S502 내지 S508은 앞서 설명된 전자책 제작장치(100)의 각 구성요소의 동작에 대응되므로 더 이상의 상세한 설명은 생략한다.Here, since steps S502 to S508 correspond to the operation of each component of the e-book making apparatus 100 described above, further detailed description will be omitted.

도 5에서는 각각의 과정을 순차적으로 실행하는 것으로 기재하고 있으나, 반드시 이에 한정되는 것은 아니다. 다시 말해, 도 5에 기재된 과정을 변경하여 실행하거나 하나 이상의 과정을 병렬적으로 실행하는 것으로 적용 가능할 것이므로, 도 5는 시계열적인 순서로 한정되는 것은 아니다.In FIG. 5, it is described that each process is sequentially executed, but is not limited thereto. In other words, since the process described in FIG. 5 may be changed and executed or one or more processes may be executed in parallel, FIG. 5 is not limited to a time series order.

한편, 도 5에 기재된 전자책 제작방법은 프로그램으로 구현되고 컴퓨터의 소프트웨어를 이용하여 읽을 수 있는 기록매체(CD-ROM, RAM, ROM, 메모리 카드, 하드 디스크, 광자기 디스크, 스토리지 디바이스 등)에 기록될 수 있다.On the other hand, the e-book production method illustrated in FIG. 5 is implemented as a program and is stored on a recording medium (CD-ROM, RAM, ROM, memory card, hard disk, magneto-optical disk, storage device, etc.) Can be recorded.

도 6은 본 실시예에 따른 전자책 제작 시의 데이터 최적화 과정을 도시한 도면이며, 도 7a 및 도 7b는 본 실시예에 따른 데이터 최적화 방법에 따른 벡터 이미지 정보의 데이터 구조를 예시한 예시도이다.6 is a diagram illustrating a data optimization process when producing an e-book according to the present embodiment, and FIGS. 7A and 7B are exemplary diagrams illustrating a data structure of vector image information according to the data optimization method according to the present embodiment. .

도 6에 도시하듯이, 본 실시예에 따른 전자책 제작장치(100)는 전자책 제작 시 가독성이 중요한 텍스트 정보에 대해서는 벡터 방식의 그래픽으로 변환하여 제공함에 따라 종래 대비 높은 가독성을 갖는 콘텐츠가 제공될 수 있도록 한다.As shown in FIG. 6, the e-book production apparatus 100 according to the present embodiment provides content with higher readability compared to the prior art by converting and providing text information that is important to readability when producing an e-book. To be able to.

이때, 전자책 제작장치(100)는 텍스트 정보를 벡터 이미지 정보로 변환하는 과정에서 텍스트 정보의 형식을 벡터 그래픽 데이터값 및 메트릭스 정보로 구성되는 백터 그래픽 파일 포맷 형태로 생성한다. 한편, 같은 페이지 내에 동일한 텍스트에 대하여 변환된 벡터 이미지 정보를 살펴보면, 각각의 벡터 이미지 정보들은 서로 동일한 벡터 그래픽 데이터값을 갖으며, 다만, 메트릭스 정보에 있어서 차이점이 존재한다.At this time, the e-book making apparatus 100 generates a format of text information in a vector graphic file format consisting of vector graphic data values and matrix information in a process of converting text information into vector image information. On the other hand, looking at the vector image information converted for the same text in the same page, each vector image information has the same vector graphic data value, but there is a difference in the matrix information.

도 7a를 참고하여 설명하자면, 종래의 벨류 타입에 의하는 경우 텍스트 정보의 형식을 백터 그래픽 파일 포맷 형태로 표현함에 있어서, 글자별로 각각 동일한 벡터 그래픽 데이터값을 반복 생성해야 함에 따라 불필요하게 데이터가 발생할 수 밖에 없으며, 이는 곧 파일 사이즈가 증가되는 문제점이 존재하였다.Referring to FIG. 7A, in the case of the conventional value type, in expressing the format of text information in the form of a vector graphic file format, data is unnecessarily generated as the same vector graphic data values must be repeatedly generated for each character. Inevitably, there was a problem in that the file size was soon increased.

반면, 본 실시예에 따른 레퍼런스 타입에 의하는 경우 텍스트 정보를 벡터 이미지 정보로 변환하는 과정에서 텍스트 정보에 대응하는 데이터 값이 서로 동일한 벡터 이미지 정보들에 대해서는 도 7b에 도시된 바와 같이 벡터 그래픽 데이터값을 기준으로 벡터 그래픽 파일 포맷이 저장되는 데이터 구조를 재구성하여 저장한다.On the other hand, in the case of the reference type according to the present embodiment, in the process of converting text information into vector image information, vector image information having the same data value corresponding to text information is vector graphic data as shown in FIG. 7B. The data structure in which the vector graphic file format is stored is reconstructed and stored based on the value.

이러한, 본 실시예에 따른 데이터 최적화에 의하는 경우, 파일 사이즈, 로딩속도, CPU 점유율, 데이터 구조 등에 있어서 종래의 벨류 타입 대비 기능이 향상되는 효과가 있다.In the case of data optimization according to the present embodiment, there is an effect of improving functions compared to the conventional value type in file size, loading speed, CPU occupancy rate, data structure, and the like.

이상의 설명은 본 실시예의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 실시예가 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 실시예의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서, 본 실시예들은 본 실시예의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 실시예의 기술 사상의 범위가 한정되는 것은 아니다. 본 실시예의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 실시예의 권리범위에 포함되는 것으로 해석되어야 할 것이다.The above description is merely illustrative of the technical idea of the present embodiment, and those of ordinary skill in the technical field to which the present embodiment belongs will be able to make various modifications and variations without departing from the essential characteristics of the present embodiment. Accordingly, the present exemplary embodiments are not intended to limit the technical idea of the present exemplary embodiment, but are illustrative, and the scope of the technical idea of the present exemplary embodiment is not limited by these exemplary embodiments. The scope of protection of this embodiment should be interpreted by the following claims, and all technical ideas within the scope equivalent thereto should be construed as being included in the scope of the present embodiment.

100: 전자책 제작장치 102: 전자책 제작 애플리케이션
110: 웹 서버 120: 전자책 뷰어장치
122: 전자책 뷰어 애플리케이션 200: 입력부
210: 수집데이터 생성부 220: 벡터 이미지 생성부
230: 선별부 240: 데이터 처리부
300: 동일글자 비교부 310: 벡터 그래픽 비교부
320: 스타일 정보 비교부 400: 공용 레퍼런스 생성부
410: 데이터 매칭부 420: 데이터 제거부
100: e-book making device 102: e-book making application
110: web server 120: e-book viewer device
122: e-book viewer application 200: input
210: collection data generation unit 220: vector image generation unit
230: selection unit 240: data processing unit
300: same character comparison unit 310: vector graphic comparison unit
320: style information comparison unit 400: common reference generation unit
410: data matching unit 420: data removing unit

Claims (9)

전자책 제작 프로그램이 전자책 제작장치의 하드웨어와 결합되어,
텍스트 정보를 포함하는 원본 콘텐츠를 입력받는 과정;
상기 원본 콘텐츠로부터 상기 텍스트 정보에 대한 메타 정보들을 추출하여 수집 데이터를 생성하는 과정;
상기 원본 콘텐츠로부터 상기 텍스트 정보를 추출한 후 상기 텍스트 정보의 형식을 벡터 이미지 형식으로 재구성하여 벡터 이미지 정보로 변환하는 과정;
상기 변환하는 과정에서 산출되는 벡터 그래픽 데이터값을 기반으로 상기 벡터 이미지 정보 중 상기 텍스트 정보에 대응하는 데이터 값이 서로 동일한 동일 벡터 이미지 정보를 선별하되, 상기 벡터 이미지 정보별로 상응하는 메트릭스 정보 및 상기 수집 데이터 중 일부 또는 전부를 추가로 활용하여 상기 동일 벡터 이미지 정보를 선별하는 과정; 및
상기 동일 벡터 이미지 정보 각각에 대하여 서로 공통되는 값인 상기 벡터 그래픽 데이터값을 추출하여 하나의 공용 레퍼런스 데이터로서 생성하고, 상기 동일 벡터 이미지 정보 각각에 상응하는 서로 상이한 메트릭스 정보들을 상기 공용 레퍼런스 데이터의 하위 노드로서 순차적으로 매칭시켜 저장하여 상기 동일 벡터 이미지 정보가 저장되는 형태인 데이터 구조를 재구성하는 과정
을 실행시키기 위하여 컴퓨터로 읽을 수 있는 기록매체에 저장된 전자책 제작 프로그램.
The e-book making program is combined with the hardware of the e-book making device,
Receiving original content including text information;
Generating collected data by extracting meta information on the text information from the original content;
Extracting the text information from the original content, reconstructing the text information format into a vector image format, and converting the text information into vector image information;
Based on the vector graphic data value calculated in the conversion process, the same vector image information having the same data value corresponding to the text information among the vector image information is selected, and the matrix information corresponding to each vector image information and the collection Selecting the same vector image information by additionally utilizing some or all of the data; And
The vector graphic data values, which are common values for each of the same vector image information, are extracted and generated as one common reference data, and different matrix information corresponding to each of the same vector image information is a lower node of the common reference data. The process of reconstructing a data structure in which the same vector image information is stored by sequentially matching and storing
E-book production program stored in a computer-readable recording medium to execute.
제 1항에 있어서,
상기 벡터 이미지 정보로 변환하는 과정은,
상기 텍스트 정보의 글자 윤곽선을 아웃라인 처리하여 상기 텍스트 정보의 형태를 구성하는 복수 개의 선들에 대한 좌표 및 수치 정보를 산출하는 과정; 및
상기 좌표 및 수치 정보를 바탕으로 상기 텍스트 정보의 형식을 벡터 이미지 형식으로 재구성하는 과정을 포함하는 것을 특징으로 하는 기록매체에 저장된 전자책 제작 프로그램.
The method of claim 1,
The process of converting the vector image information,
Calculating coordinates and numerical information for a plurality of lines constituting the form of the text information by processing a character outline of the text information as an outline; And
And reconfiguring the format of the text information into a vector image format based on the coordinates and numerical information.
제 2항에 있어서,
상기 벡터 이미지 형식으로 재구성하는 과정은,
상기 텍스트 정보의 형식을, 상기 벡터 그래픽 데이터값 및 메트릭스 정보로 구성되는 백터 그래픽 파일 포맷(SVG: Scalable Vector Graphics)으로 저장하여 제공하는 것을 특징으로 하는 기록매체에 저장된 전자책 제작 프로그램.
The method of claim 2,
The process of reconstructing the vector image format,
The electronic book production program stored in a recording medium, characterized in that the format of the text information is stored and provided in a vector graphic file format (SVG: Scalable Vector Graphics) consisting of the vector graphic data value and matrix information.
제 1항에 있어서,
상기 선별하는 과정은,
상기 벡터 이미지 정보별로 상응하는 벡터 그래픽 데이터값을 비교하여 서로 동일한 벡터 그래픽 데이터값을 갖는 벡터 이미지 정보들을 상기 동일 벡터 이미지 정보로서 선별하는 것을 특징으로 하는 기록매체에 저장된 전자책 제작 프로그램.
The method of claim 1,
The selection process,
The electronic book making program stored in a recording medium, characterized in that the vector image information having the same vector graphic data value is selected as the same vector image information by comparing corresponding vector graphic data values for each of the vector image information.
삭제delete 제 1항에 있어서,
상기 선별하는 과정은,
상기 벡터 이미지 정보별로 상응하는 메트릭스 정보 및 상기 수집 데이터를 기반으로 상기 텍스트 정보에 상응하는 데이터 값 및 스타일 정보가 서로 동일한 벡터 이미지 정보들을 상기 동일 벡터 이미지 정보로서 선별하는 것을 특징으로 하는 기록매체에 저장된 전자책 제작 프로그램.
The method of claim 1,
The selection process,
Based on the matrix information corresponding to the vector image information and the collected data, vector image information having the same data value and style information corresponding to the text information are selected as the same vector image information. E-book production program.
삭제delete 제 1항에 있어서,
상기 데이터 구조를 재구성하는 과정은,
상기 동일 벡터 이미지 정보 각각에 대하여 상기 공용 레퍼런스 데이터로서 선별된 벡터 그래픽 데이터값을 삭제하는 과정을 더 포함하는 것을 특징으로 하는 기록매체에 저장된 전자책 제작 프로그램.
The method of claim 1,
The process of reconstructing the data structure,
And deleting a vector graphic data value selected as the common reference data for each of the same vector image information.
텍스트 정보를 포함하는 원본 콘텐츠를 입력받는 입력부;
상기 원본 콘텐츠로부터 상기 텍스트 정보에 대한 메타 정보들을 추출하여 수집 데이터를 생성하는 수집데이터 생성부;
상기 원본 콘텐츠로부터 상기 텍스트 정보를 추출한 후 상기 텍스트 정보의 형식을 벡터 이미지 형식으로 재구성하여 벡터 이미지 정보로 변환하는 벡터 이미지 생성부;
상기 변환하는 과정에서 산출되는 벡터 그래픽 데이터값을 기반으로 상기 벡터 이미지 정보 중 상기 텍스트 정보에 대응하는 데이터 값이 서로 동일한 동일 벡터 이미지 정보를 선별하되, 상기 벡터 이미지 정보별로 상응하는 메트릭스 정보 및 상기 수집 데이터 중 일부 또는 전부를 추가로 활용하여 상기 동일 벡터 이미지 정보를 선별하는 선별부; 및
상기 동일 벡터 이미지 정보 각각에 대하여 서로 공통되는 값인 상기 벡터 그래픽 데이터값을 추출하여 하나의 공용 레퍼런스 데이터로서 생성하고, 상기 동일 벡터 이미지 정보 각각에 상응하는 서로 상이한 메트릭스 정보들을 상기 공용 레퍼런스 데이터의 하위 노드로서 순차적으로 매칭시켜 저장하여 상기 동일 벡터 이미지 정보가 저장되는 형태인 데이터 구조를 재구성하는 데이터 처리부
를 포함하는 것을 특징으로 하는 전자책 제작장치.
An input unit for receiving original content including text information;
A collection data generation unit for generating collection data by extracting meta information on the text information from the original content;
A vector image generator configured to extract the text information from the original content, reconstruct the text information format into a vector image format, and convert the text information into vector image information;
Based on the vector graphic data value calculated in the conversion process, the same vector image information having the same data value corresponding to the text information among the vector image information is selected, and the matrix information corresponding to each vector image information and the collection A selection unit that additionally utilizes some or all of the data to select the same vector image information; And
The vector graphic data values, which are common values for each of the same vector image information, are extracted and generated as one common reference data, and different matrix information corresponding to each of the same vector image information is a lower node of the common reference data. As a data processing unit that sequentially matches and stores the same vector image information and reconstructs the data structure
E-book production apparatus comprising a.
KR1020180102880A 2018-08-30 2018-08-30 Method for Producting E-Book and Computer Program Therefore KR102185851B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180102880A KR102185851B1 (en) 2018-08-30 2018-08-30 Method for Producting E-Book and Computer Program Therefore

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180102880A KR102185851B1 (en) 2018-08-30 2018-08-30 Method for Producting E-Book and Computer Program Therefore

Publications (2)

Publication Number Publication Date
KR20200025475A KR20200025475A (en) 2020-03-10
KR102185851B1 true KR102185851B1 (en) 2020-12-02

Family

ID=69801072

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180102880A KR102185851B1 (en) 2018-08-30 2018-08-30 Method for Producting E-Book and Computer Program Therefore

Country Status (1)

Country Link
KR (1) KR102185851B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100803947B1 (en) * 2006-12-01 2008-02-15 주식회사 코아로직 Apparatus and method for open vector graphic application program interface translation, mobiile terminal, and record medium on which the method is recorded
US20150220518A1 (en) * 2014-01-31 2015-08-06 Chegg, Inc. Mapping Published Related Content Layers Into Correlated Reconstructed Documents

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7417645B2 (en) * 2003-03-27 2008-08-26 Microsoft Corporation Markup language and object model for vector graphics
KR101890831B1 (en) * 2017-01-11 2018-09-28 주식회사 펍플 Method for Providing E-Book Service and Computer Program Therefore

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100803947B1 (en) * 2006-12-01 2008-02-15 주식회사 코아로직 Apparatus and method for open vector graphic application program interface translation, mobiile terminal, and record medium on which the method is recorded
US20150220518A1 (en) * 2014-01-31 2015-08-06 Chegg, Inc. Mapping Published Related Content Layers Into Correlated Reconstructed Documents

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Illustrator에서 SVG 형식 사용, https://helpx.adobe.com, (2018.03.13)
svg to font (github), https://gist.github.com/easylogic/e07f51e72c4198b6f3487e4e6fd013b5 (2017.11.01)
안형우 블로그, SVG 활용 2 - 일러스트레이터를 이용해서 SVG 파일 만들기, https://mytory.net/archives/11175, (2013.09.27)

Also Published As

Publication number Publication date
KR20200025475A (en) 2020-03-10

Similar Documents

Publication Publication Date Title
CN110458918B (en) Method and device for outputting information
US11003680B2 (en) Method for providing e-book service and computer program therefor
CN102637264A (en) System and method for name card generating and online printing based on network
US20130191732A1 (en) Fixed Format Document Conversion Engine
US11281849B2 (en) System and method for printable document viewer optimization
CN101699426A (en) Document format conversion system and method
KR20210060585A (en) Font rendering method, device and computer-readable storage medium
KR20150082097A (en) A cloud-based font service system
CN105956133B (en) Method and device for displaying file on intelligent terminal
US20170139875A1 (en) Converting electronic documents having visible objects
CN115659917A (en) Document format restoration method and device, electronic equipment and storage equipment
JP6228106B2 (en) Obfuscating page description language output to prevent conversion to editable format
US10515286B2 (en) Image processing apparatus that performs compression processing of document file and compression method of document file and storage medium
KR101371406B1 (en) Method and system for manufacturing e-book by source analysis of pdf document
KR102185851B1 (en) Method for Producting E-Book and Computer Program Therefore
CN103699520A (en) Font processing method for maintaining e-document layout
US9905030B2 (en) Image processing device, image processing method, information storage medium, and program
CN103870543A (en) Method and device for reconstructing document file
CN111444452B (en) Webpage conversion method and device and storage medium
US20210343056A1 (en) Electronic book manufacturing method and computer program therefor
JP6108105B2 (en) Article image reconstruction device
CN108549762A (en) A kind of circuit diagram drafting reduction system and method for combination digital watermark technology
CN113703699B (en) Real-time output method and device for electronic file
CN102346656B (en) Document is reconstructed to save the system and method for ink and paper
Pfeffer Creating a Conference Poster with High-Resolution Network Figures

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
E902 Notification of reason for refusal
E90F Notification of reason for final refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
G170 Publication of correction