WO2016032267A1 - 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법 - Google Patents

도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법 Download PDF

Info

Publication number
WO2016032267A1
WO2016032267A1 PCT/KR2015/009010 KR2015009010W WO2016032267A1 WO 2016032267 A1 WO2016032267 A1 WO 2016032267A1 KR 2015009010 W KR2015009010 W KR 2015009010W WO 2016032267 A1 WO2016032267 A1 WO 2016032267A1
Authority
WO
WIPO (PCT)
Prior art keywords
responsive web
mass
document
web
converting
Prior art date
Application number
PCT/KR2015/009010
Other languages
English (en)
French (fr)
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 주식회사 나인트리
Publication of WO2016032267A1 publication Critical patent/WO2016032267A1/ko

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing

Definitions

  • the present invention relates to a responsive web generation method for converting a document generated by a dedicated software into a responsive web. Specifically, a first step of converting a document into a PDF document and converting the generated PDF document into a responsive web is performed. It relates to a responsive web generation method for generating a responsive web through.
  • the inventor of the present application first converts a document generated by document creation software to PDF, and then converts the PDF into a web page again (Document ⁇ PDF). ⁇ web pages).
  • 'responsive web' refers to a web page that is adjusted to automatically optimize its size according to the type and resolution of the display.
  • a web page is a web page that is best suited to the user's environment or response. I can show you.
  • the responsive web typically uses CSS media query technology to apply different CSS based on the device-width of the user's browser.
  • responsive web has many advantages, such as improving development and management efficiency, increasing user convenience, using a single URL, and maintaining a consistent site concept.
  • administrators need to manage a single source, which improves the efficiency of management, while allowing users to use it in various forms such as PCs, tablets, and smartphones.
  • the inventor of the present invention considered a method of using PDF as an intermediate product.
  • An object of the present invention is to provide a responsive web generation method capable of easily converting a document created by document creation software into a responsive web to generate a responsive web.
  • Another object of the present invention is to provide a method for converting a document into a reactive web using PDF as an intermediate product.
  • Responsive web generation method for converting a document into a responsive web as a responsive web generation method executed on a computer,
  • a PDF generation step of generating a PDF document by converting a document generated by the document creation software And a responsive web generation step of generating the responsive web HTML by converting the generated PDF document.
  • the reactive web generation step may include a first step of generating a line from a character array of the generated PDF document; And a second step of generating a mass from the array of the generated lines, wherein the mass is a unit of an object that can move in a mass in the reactive web.
  • the first step may be performed using at least one of a font size of a character, an X position of a character, and a Y position of the character. Characteristic of merging a character into a single line.
  • the font size is used to determine whether a difference in font size between neighboring characters is within a predetermined range
  • the X position is used to determine whether a distance between neighboring characters is within a predetermined range
  • the Y position of the character is used to determine whether a difference in Y position between neighboring characters is within a predetermined range. do.
  • the second step may be performed using at least one of an X position of a line, a Y position of a line, and a font size of a line. And a process of merging the lines of M into one Mass.
  • the X position of the line is used to determine whether the difference in X position between neighboring lines is within a predetermined range
  • the Y position of the line is used to determine whether the distance between neighboring lines is within a predetermined range
  • the font size of the line is used to determine whether a difference in font size of neighboring lines is within a predetermined range. It is done.
  • a third step of generating a merged mass by merging the mass generated in the second step may include merging a plurality of masses using at least one of an X position of the mass and a Y position of the mass.
  • the X position and the Y position of the mass are used to determine whether the distance between the masses is within a predetermined range. .
  • the computer has a database including a plurality of responsive web templates or interoperates with the database. And a fourth step of generating a mass matrix by allocating one or a plurality of masses to the responsive web template selected from the database while searching the arrangement of the masses generated in the third step.
  • the fourth step is performed when there is another mass overlapping a predetermined ratio or more between a Top Y position and a Bottom Y position of a mass. It is characterized by including the process of allocating to the same mass matrix.
  • the fifth step includes inserting content of the mass matrix into a ⁇ div> ⁇ / div> region of the responsive web template. It characterized in that it comprises a process.
  • FIG. 1 is a diagram illustrating a situation in which a responsive web generation method according to an embodiment of the present invention may be applied or serviced.
  • FIG. 2 is a flowchart illustrating a process of generating responsive web HTML from a document in order from an object point of view according to an embodiment of the present invention.
  • FIG. 3 is a flowchart illustrating a process of generating a line from an arrangement of characters according to an embodiment of the present invention.
  • FIG. 4 is a flowchart illustrating a process of generating mass from an array of lines in a reactive web generating method according to an embodiment of the present invention.
  • FIG. 5 (A) is a diagram conceptually showing a simple example of a responsive web template
  • FIG. 5 (B) is a diagram illustrating an example of Mass for illustratively explaining the selection of a responsive web template.
  • FIG. 6 is a diagram illustrating a document before the responsive web generation method according to an embodiment of the present invention is applied.
  • FIG. 7 is a diagram illustrating lines generated by merging an arrangement of letters in a responsive web generation method according to an embodiment of the present invention.
  • FIG. 8 is a diagram illustrating an example of a second mass which is an intermediate product in the method of generating a reactive web according to an embodiment of the present invention.
  • FIG. 9 is a diagram illustrating a responsive web page generated by converting the document shown in FIG. 6 into a responsive web according to an embodiment of the present invention.
  • FIG. 9 (a) is displayed on a high-resolution device.
  • b) is indicated on low resolution equipment.
  • FIG. 1 is a diagram illustrating a situation in which a responsive web generation method according to an embodiment of the present invention may be applied or serviced.
  • the DTRW server 10 is a computer that generates a responsive web by converting a document (hereinafter, simply referred to as a document) generated by document creation software into a responsive web. 11) may be included.
  • the web server 20 provides a responsive web service by request from the user terminal 30 in various forms such as a PC, a tablet, or a smart phone, and manages a web page from an administrator through the manager terminal 40. Receive the command or document to convert.
  • the web server 20 uploads a document generated by document creation software through an administrator terminal 40 or the like
  • the web server ( 20) provides this to the DTRW server 10
  • the DTRW server 10 performs a function of converting the document into a responsive web using the database (11) together.
  • the DTRW server 10 is mounted on the web server 20 by providing the generated responsive web to the web server 20, and responsive web services are available upon request of various user terminals 30.
  • the method of generating a responsive web according to an embodiment of the present invention is executed in the DTRW server 10, but it is of course possible to execute in the web server 20.
  • FIG. 2 is a flowchart illustrating a process of generating responsive web HTML from a document in order from an object point of view according to an embodiment of the present invention.
  • the DTRW server 10 first converts the document 100 to generate a PDF document 110, and converts the PDF document 110 to generate a responsive web HTML 170, but as raw materials (120). ), A line 130, a first Mass 140, a second Mass 150, and a Mass Matrix 160.
  • the converted PDF document 110 is configured to include media and text including images and videos as a minimum unit.
  • the PDF document 110 is extracted to prepare an arrangement of media and text separately, or the PDF document 110 is extracted. The following process is performed while sequentially searching the media and the characters in the package.
  • the DTRW server 10 generates the line 130 from the arrangement of the characters 122 in step S10, generates the first mass 140 from the arrangement of the lines 130 in step S20, and the media and A second Mass 150 is generated from the first Mass 140.
  • a mass matrix 160 is generated from the second mass 150.
  • a reactive web template 180 is generated from the mass matrix 160. Responsive Web HTML (170) is output using.
  • the process of generating a line from the character array in step S10 takes advantage of the characteristics of the characters, which is the font size of the character, the X position which is the position in the X-axis direction of the character, and the Y position which is the position in the Y-axis direction of the character. Merging a plurality of characters into one line using at least one of the above.
  • characters belonging to the same line have the same font size, and neighboring characters have the same Y position.
  • neighboring characters that belong to the same line are within a certain distance.
  • This determination can be performed by using attribute values such as font size, X position and Y position among the attribute values of the character.
  • attribute values such as font size, X position and Y position among the attribute values of the character.
  • the difference in font size between neighboring characters is 1/100 of the preceding character.
  • the difference in the X position is less than 1.5 times the font size (or / and the size of the space) among the attribute values of the character, and the difference in the Y position is less than 0.01 among the attribute values of the character. In the case of the same line can be determined.
  • FIG. 3 is a flowchart illustrating a process of generating a line from an arrangement of characters according to an embodiment of the present invention.
  • step S11 is a process of reading one character from the character array. If the flow of Fig. 3 is started, the first character of the array is read; otherwise, the next character in the sequence is read. In step S12, it is determined whether there is a newly read character in the character array, and if the last character of the array has already been processed, there is no newly read character and the process ends.
  • step S14 it is determined whether or not the read character can be merged with the current line to which the comparison character belongs, that is, if the read character is the same line as the comparison character.
  • the comparison character is usually the leading character adjacent to the read character, and if the read character is the first character of the line, the comparison character is empty at that time, and if there is a null character in the middle, the comparison character becomes the nearest character except Null.
  • step S14 information on the comparison character, the font size of the read character, the X position of the character, and the Y position of the character may be used, and the above-described determination methods may be used.
  • step S16 If it is impossible to merge the result of the determination of step S14, the process proceeds to step S16. In addition, when the comparison character is empty, it cannot be merged naturally, and the flow proceeds to step S16.
  • step S15 it is determined whether the read character is possible as a line. For example, when the read character is a null object, the flow returns directly to step S11 so as not to be merged into the current line and not to be stored as a comparison character.
  • step S16 a new line is created in the arrangement of the lines, and the character read as the line start character is stored (S17), and in step S18, the current line (which is a newly created line when the step S16 passes) is read. The character is added, and in step S19, the character read as the "comparative character" is stored.
  • FIG. 6 is a diagram illustrating a document before the method of generating a responsive web according to an embodiment of the present invention
  • Figure 7 by merging the arrangement of letters in the method of generating a responsive web according to an embodiment of the present invention A diagram illustrating the generated lines.
  • the reactive web generation method includes the step (S20) of generating a first mass (140) from the arrangement of the generated line 130, at the first mass and the second mass Mass is the unit of an object that can move in a chunk on a responsive web.
  • the X position which is the position in the X-axis direction of the line the Y position which is the position in the Y-axis direction of the line, and the font of the line Merging a plurality of lines into one first mass 140 using at least one of the sizes.
  • the X position of the line is used to determine whether the difference in X position between neighboring lines is within a predetermined range
  • the Y position of the line is used to determine whether the distance between neighboring lines is within a predetermined range.
  • the font size of the line may be used to determine whether the difference in font size of the neighboring line is within a predetermined range.
  • the spacing of the Y position in the neighboring line is within 1.5 times the font size, whether the difference in the starting position of two lines in the X position in the neighboring line is within 2 times the font size, and the neighboring line. It may be determined based on whether the size difference of the representative font size is less than twice.
  • FIG. 4 is a flowchart illustrating a process of generating mass from an array of lines in a reactive web generating method according to an embodiment of the present invention.
  • Step S21 is a process of reading one line in the arrangement of the lines. If the flow of Fig. 4 is started, the first line of the arrangement is read; otherwise, the next line in the sequence is read. In step S22, it is determined whether there is a line newly read in the array of lines, and if the process has already been processed to the last line of the array, the process ends because there are no newly read lines.
  • step S23 it is determined whether the read line can be merged with the current mass to which the compare line belongs by comparing the read line with the 'comparison line'.
  • the comparison line is usually a preceding line adjacent to the lead line.
  • step S23 information about the font size of the comparison line and the read line, the X position of the line, and the Y position of the line may be used, and the above-described determination methods may be used.
  • step S24 If it is impossible to merge the result of the determination of step S23, the process proceeds to step S24. In addition, when the comparison line is empty, it is naturally impossible to merge, and the flow proceeds to step S24.
  • step S24 a new mass is generated and added to the array of masses. That is, since it is determined that the new line read in step S23 cannot be merged with the current mass, a new mass is generated.
  • step S25 a line read in the current mass is added. If a new mass is generated in step 24, the generated mass becomes the current mass.
  • step S26 the read line is stored as a "comparison line" so that it can be used for comparison in step S23.
  • step S30 of FIG. 2 the second mass 150 is generated from the media (image, video) 121 and the first mass 140, and thus the plurality of generated first mass 140 are merged.
  • a second mass 150 is created that includes the media.
  • Step S30 includes at least a process of merging a plurality of masses using at least one of an X position and a Y position of Mass.
  • Steps to form mass for mass matrix composition by combining the mass that can be combined formally for template application out of the grouping process meaning up to the previous stage, and sum the mass within the limit of X-axis and Y-axis standard.
  • the X position and the Y position of the mass are used to determine whether the distance between the masses is within a predetermined range. For example, if the distance on the X axis is less than 30px in two horizontally arranged masses and the distance on the Y axis is less than 15px in two vertically arranged masses, the two masses are combined to form a single mass.
  • the distance on the X axis can be calculated as the difference between the right end X position of the preceding mass and the left end X position of the trailing mass, and the distance on the Y axis is determined between the Bottom Y position of the preceding mass and the Top Y position of the trailing mass. It can be calculated as the difference value of. Merging between masses is only for text masses, not media masses.
  • FIG. 8 is a view showing an example of the second mass as an intermediate product in the reactive web generation method according to an embodiment of the present invention.
  • the second mass includes a text mass composed of text and a media mass such as an image and a video.
  • a mass matrix 160 is generated from the second mass 150.
  • the DTRW server 10 includes or cooperates with a database 11 including a plurality of responsive web templates.
  • the DTRW server 10 allocates the Mass Matrix 160 by allocating one or a plurality of second Masss 150 to the responsive web template selected from the database 11 while searching the generated second mass 150s.
  • Create Mass Matrix is the result of selecting a responsive web template and assigning the mass accordingly, so that the mass matrix generation is in order to be placed in the responsive web template.
  • FIG. 5 (A) conceptually illustrates a simple example of a responsive web template.
  • Template 1 shows a template in which the mass occupies one space in the horizontal direction when there is no left and right direction.
  • Template 2 shows a template in which two masses are disposed in the horizontal direction at the same Y position. Drawing.
  • FIG. 5B is a diagram showing an example of Mass for exemplarily explaining the selection of a responsive web template.
  • Mass 1 and Mass 2 are different between the Top Y and Bottom Y positions of any Mass (Mass 1 in the drawing). you can assign Mass 1 and Mass 2 to two templates 1 respectively. Or, decide whether to assign Mass 1 and Mass 2 to Template 2.
  • Mass 2 in the drawing there is another mass (Mass 2 in the drawing) that overlaps more than a predetermined ratio between the Top Y and Bottom Y positions of a certain mass (Mass 1 in the drawing), for example, 15% or more compared to the height of Mass 1. It may include the process of allocating to the same mass matrix.
  • step S50 of FIG. 2 the responsive web HTML 170 is output from the mass matrix 160 using the responsive web template 180.
  • the DTRW server 10 outputs the responsive web HTML by interworking the generated mass matrix with the responsive web template of the database 11. For example, insert the contents of the Mass Matrix into the ⁇ div> ⁇ / div> area of the responsive web template to get the HTML data of the completed structure.
  • FIG. 9 is a diagram illustrating a responsive web page generated by converting the document shown in FIG. 6 into a responsive web according to an embodiment of the present invention.
  • FIG. 9 (a) is displayed on a high-resolution device.
  • b) is indicated on low resolution equipment.
  • the DTRW server 10 provides the responsive web HTML 170 to the web server 20, and the web server 20 is mounted thereon to provide responsive web services according to requests of various user terminals 30. Can be.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Document Processing Apparatus (AREA)

Abstract

본 발명에 따른 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법은, 문서 작성 소프트웨어에 의해 생성된 도큐먼트(100)를 변환하여 PDF 문서(110)를 생성하는 PDF 생성 단계; 및 상기 생성된 PDF 문서(110)를 변환하여 반응형웹 HTML(170)을 생성하는 반응형웹 생성 단계;를 포함하며, 상기 반응형웹 생성 단계는, 상기 생성된 PDF 문서(110)의 문자 배열로부터 라인(130)을 생성하는 제 1 단계; 상기 생성된 라인(130)의 배열로부터 Mass(140,150)를 생성하는 제 2 단계;를 포함하며, 상기에서 Mass는 반응형웹에서 한 덩어리로 움직일 수 있는 오브젝트의 단위인 것을 특징으로 한다.

Description

도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법
본 발명은 전용 소프트웨어에 의해 생성된 도큐먼트를 반응형웹으로 변환하는 반응형웹 생성 방법에 관한 것으로서, 구체적으로는 먼저 도큐먼트를 PDF 문서로 변환하고 생성된 PDF 문서를 다시 반응형웹으로 변환하는 2단계의 변환을 통해서 반응형웹을 생성하는 반응형웹 생성 방법에 관한 것이다.
마이크로소프트의 MS워드, 파워포인트 및 엑셀과 한글과컴퓨터의 아래아 한글 등 문서 작성 소프트웨어에 의해서 생성된 도큐먼트(doc, ppt, xls, hwp 등과 같은 확장자를 가진 문서)를 웹웨이지(html)로 자동 변환해주는 기술 및 소프웨어들이 공지되어 있다.
그런데, 이러한 기술 및 소프트웨어에서는 변환할 도큐먼트의 종류에 따라서 각각 개발되어야 하므로, 다양한 도큐먼트의 종류에 모두 대응하기 위해서는 많은 개발 비용이 소요된다. 나아가 문서 작성 소프트웨어의 버전이 업그레이드되는 경우 이에 맞추어서 변환 소프트웨어도 업그레이드되어야 하므로 업그레이드 비용도 많이 소요되는 단점이 있다.
이에 본 출원의 발명자는 도큐먼트를 웹페이지로 변환함에 있어서, 먼저 문서 작성 소프트웨어에 의해 생성된 도큐먼트를 PDF로 변환한 후, 다시 PDF를 웹페이지로 변환하는 2 단계로 구성되도록 하는 방법(도큐먼트 → PDF → 웹페이지)을 고려하였다.
도큐먼트를 PDF로 변환하는 기술 및 소프트웨어와, PDF를 웹페이지로 변환하는 기술 및 소프트웨어는 이미 공지되어 있으며, 도큐먼트를 PDF로 변환하는 것은 프린팅과 매우 유사하여, 문서 작성 소프트웨어의 업그레이드에 따른 영향을 받지 않거나 쉽게 업그레이드가 가능한 장점이 있는 것으로 생각된다.
한편, '반응형웹'이란 디스플레이의 종류 및 해상도 등에 따라 크기 등이 자동으로 최적화되도록 조절되는 웹페이지를 말하는 것으로서, 이론적으로는 하나의 웹페이지로써 사용자의 환경이나 반응에 맞춰 가장 적절하게 웹페이지를 보여줄 수 있다.
최근 스마트기기의 보급으로 모바일 디바이스에서 웹서핑을 하는 일이 많아졌고, 스마트폰 또는 태블릿 등은 서로 다른 해상도를 가지고 있어 고정적인 값으로는 모두에게 동일한 화면을 보여줄 수가 없다. 이에 반해 반응형 웹은 대표적으로는 CSS의 미디어쿼리 기술을 사용하여 사용자 브라우저의 가로폭(device-width)을 기준으로 각각 다른 CSS를 적용시킬 수 있다.
이와 같이 반응형웹은 개발 및 관리의 효율성 향상, 사용자 편의성 증대, 단일 URL 사용 및 일관성 있는 사이트 컨셉 유지 등 다양한 장점이 있다. 특히 관리자로서는 단일 소스를 관리하면 되므로 관리의 효율성이 향상되며 그러면서도 사용자는 PC, 태블릿 및 스마트폰 등 다양한 장치에서 최적화된 모양으로 이용할 수 있게 된다.
그리고 상기한 바와 유사하게, 문서 작성 소프트웨어에 의해 작성된 도큐먼트를 '반응형웹'으로 변환하기 위하여, 본 발명의 발명자는 중간 생성물로서 PDF를 이용하는 방법을 고려하였다.
그런데, 문서 작성 소프트웨어에 의해 작성된 도큐먼트를 PDF로 변환하는 과정과는 달리, PDF를 '반응형웹'로 변환하는 과정에 있어서, PDF를 웹으로 변환하는 기존의 기술 또는 소프트웨어를 적용하는 것이 힘들거나 불가능하다는 점을 알게 되었다. 기존 PDF를 웹으로 변환하는 기술에 따르면 문자 단위로만 움직이는 HTML을 생성할 수 있을 뿐이며, 이에 따라 반응형웹을 구성할 수는 없게 된다. 따라서 본 출원의 발명자는 전혀 새로운 관점 및 어프로치로써 PDF를 반응형웹으로 변환하는 기술을 개발하게 되었다.
상기한 종래 기술의 문제점 및 과제에 대한 인식은 본 발명의 기술 분야에서 통상의 지식을 가진 자에게 자명한 것이 아니므로 이러한 인식을 기반으로 선행기술들과 대비한 본 발명의 진보성을 판단하여서는 아니됨을 밝혀둔다.
본 발명의 목적은 문서 작성 소프트웨어에 의해 작성된 도큐먼트를 반응형 웹으로 용이하게 변환하여 반응형웹을 생성할 수 있는 반응형웹 생성 방법을 제공하기 위한 것이다.
또한, 본 발명의 다른 목적은 중간 생성물로서 PDF를 이용하여 도큐먼트를 반응형웹으로 변환하는 방법을 제공하기 위한 것이다.
본 발명에서 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급하지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.
본 발명의 일 양상에 따른 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법은, 컴퓨터에서 실행되는 반응형웹 생성 방법으로서,
문서 작성 소프트웨어에 의해 생성된 도큐먼트를 변환하여 PDF 문서를 생성하는 PDF 생성 단계; 및 상기 생성된 PDF 문서를 변환하여 반응형웹 HTML을 생성하는 반응형웹 생성 단계;를 포함하며,
상기 반응형웹 생성 단계는, 상기 생성된 PDF 문서의 문자 배열로부터 라인을 생성하는 제 1 단계; 상기 생성된 라인의 배열로부터 Mass를 생성하는 제 2 단계;를 포함하며, 상기에서 Mass는 반응형웹에서 한 덩어리로 움직일 수 있는 오브젝트의 단위인 것을 특징으로 한다.
본 발명의 일 양상에 따른 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법에서, 상기 제 1 단계는, 문자의 폰트 사이즈, 문자의 X 위치 및 문자의 Y 위치 중에서 적어도 하나 이상을 이용하여 복수의 문자를 하나의 라인으로 병합하는 과정을 포함하는 것을 특징으로 한다.
본 발명의 일 양상에 따른 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법에서, 상기 폰트 사이즈는 이웃하는 문자 사이에 폰트 사이즈의 차이가 정해진 범위 이내인지를 판단하는 데 이용되며, 상기 문자의 X 위치는 이웃하는 문자 사이의 거리가 정해진 범위 이내인지를 판단하는 데 이용되며, 상기 문자의 Y 위치는 이웃하는 문자 사이에 Y 위치의 차이가 정해진 범위 이내인지를 판단하는 데 이용되는 것을 특징으로 한다.
본 발명의 일 양상에 따른 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법에서, 상기 제 2 단계는, 라인의 X 위치, 라인의 Y 위치 및 라인의 폰트 사이즈 중에서 적어도 하나 이상을 이용하여 복수의 라인을 하나의 Mass로 병합하는 과정을 포함하는 것을 특징으로 한다.
본 발명의 일 양상에 따른 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법에서, 상기 라인의 X 위치는 이웃하는 라인 사이에 X 위치의 차이가 정해진 범위 이내인지를 판단하는 데 이용되며, 상기 라인의 Y 위치는 이웃하는 라인 사이의 거리가 정해진 범위 이내인지를 판단하는 데 이용되며, 상기 라인의 폰트 사이즈는 이웃하는 라인의 폰트 사이즈의 차이가 정해진 범위 이내인지를 판단하는 데 이용되는 것을 특징으로 한다.
본 발명의 일 양상에 따른 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법에서, 상기 제 2 단계에서 생성된 Mass를 병합하여 병합된 Mass를 생성하는 제 3 단계;를 더 포함하며, 상기 제 3 단계는, Mass의 X 위치 및 Mass의 Y 위치 중에서 적어도 하나 이상을 이용하여 복수의 Mass를 병합하는 과정을 포함하는 것을 특징으로 한다.
본 발명의 일 양상에 따른 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법에서, 상기 Mass의 X 위치 및 Y 위치는 Mass 사이의 거리가 정해진 범위 이내인지를 판단하는 데 이용되는 것을 특징으로 한다.
본 발명의 일 양상에 따른 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법에서, 상기 컴퓨터는 복수의 반응형웹 템플릿을 포함하는 데이터베이스를 구비하거나 상기 데이터베이스와 연동하며, 상기 반응형 웹 생성 방법은, 상기 제 3 단계에서 생성된 Mass의 배열을 탐색하면서 상기 데이터베이스에서 선택되는 반응형웹 템플릿에 하나 또는 복수의 Mass를 배당함으로써 Mass Matrix를 생성하는 제 4 단계;를 더 포함하는 것을 특징으로 한다.
본 발명의 일 양상에 따른 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법에서, 상기 제 4 단계는, 어떤 Mass의 Top Y 위치와 Bottom Y 위치 사이에 정해진 비율 이상 겹치는 다른 Mass가 존재하는 경우 동일 Mass Matrix에 배당하는 과정을 포함하는 것을 특징으로 한다.
본 발명의 일 양상에 따른 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법에서, 상기 제 4 단계에서 생성된 Mass Matrix와 상기 데이터베이스의 반응형웹 템플릿을 연동하여 반응형웹 HTML을 출력하는 제 5 단계;를 포함하는 것을 특징으로 한다.
본 발명의 일 양상에 따른 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법에서, 상기 제 5 단계는, 상기 반응형웹 템플릿의 <div></div> 영역에 상기 Mass Matrix의 컨텐츠를 삽입하는 과정을 포함하는 것을 특징으로 한다.
본 발명의 일 양상에 따르면, 문서 작성 소프트웨어에 의해 작성된 도큐먼트를 반응형 웹으로 용이하게 변환하여 반응형웹을 생성할 수 있는 효과가 있다. 본 발명의 일 양상에 따르면 다양한 도큐먼트를 PDF로 변환하는 공지 기술을 이용할 수 있으며, 다양한 문서 작성 소프트웨어로 작성된 임의의 도큐먼트를 반응형웹으로 용이하게 변환할 수 있는 효과가 있다.
또한, 종래 PDF를 웹으로 변환하는 기술에 따르면 문자 단위로만 움직이는 HTML을 생성할 수 있었지만 본 발명의 일 양상에 따르면 덩어리로 움직이는 반응형웹으로 변환할 수 있게 됨으로써, 모바일 기기를 포함하는 다양한 기기에서 단일 소스로 구현되는 웹 서비스를 제공할 수 있게 되는 효과가 있다. 나아가 기존 도큐먼트로 존재하는 컨텐츠에 대해서 자동으로 반응형웹을 생성할 수 있게 됨으로써 반응형웹의 생성 비용을 대폭 저감할 수 있는 효과가 있다.
도 1은 본 발명의 일 실시예에 따른 반응형웹 생성 방법이 적용되거나 서비스될 수 있는 상황을 예시적으로 도시한 도면이다.
도 2는 본 발명의 일 실시예에 따라 도큐먼트로부터 반응형웹 HTML을 생성하는 과정을 오브젝트의 관점에서 순서대로 나타낸 플로우차트이다.
도 3은 본 발명의 일 실시예에 따라 문자의 배열로부터 라인을 생성하는 과정을 도시한 플로우차트이다.
도 4는 본 발명의 일 실시예에 따른 반응형웹 생성 방법에서 라인의 배열로부터 Mass를 생성하는 과정을 도시한 플로우차트이다.
도 5(A)는 반응형웹 템플릿의 간단한 예를 개념적으로 도시한 도면이며, 도 5(B)는 반응형웹 템플릿의 선택을 예시적으로 설명하기 위한 Mass의 예를 도시한 도면이다.
도 6은 본 발명의 일 실시예에 따른 반응형 웹 생성 방법이 적용되기 전 도큐먼트를 예시한 도면이다.
도 7은 본 발명의 일 실시예에 따른 반응형 웹 생성 방법에서 글자의 배열을 병합하여 생성된 라인들을 예시한 도면이다.
도 8은 본 발명의 일 실시예에 따른 반응형웹 생성 방법에서 중간 생성물인 제 2 Mass의 예를 도시한 도면이다.
도 9는 본 발명의 일 실시예에 따라 도 6에 도시된 도큐먼트를 반응형웹으로 변환하여 생성한 반응형 웹페이지를 예시한 도면으로서, 도 9(a)는 고해상도 기기에 표시된 것이며, 도 9(b)는 저해상도 기기에 표시된 것이다.
첨부한 도면을 참고로 하여 본 발명의 실시예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 명칭 및 도면 부호를 사용한다.
도 1은 본 발명의 일 실시예에 따른 반응형웹 생성 방법이 적용되거나 서비스될 수 있는 상황을 예시적으로 도시한 도면이다.
DTRW 서버(10)는 문서 작성 소프트웨어에 의해 생성된 도큐먼트(이하 간단히 '도큐먼트'라고도 한다)를 반응형웹으로 변환하여 반응형웹을 생성하는 컴퓨터로서, 내부 또는 외부에 반응형웹 템플릿 등을 보유하는 데이터베이스(11)를 포함할 수 있다.
웹서버(20)는 PC, 태블릿 또는 스마트폰과 같이 다양한 형태의 사용자 단말(30)로부터의 요청에 의해 반응형 웹서비스를 제공하며, 관리자 단말(40)를 통하여 관리자로부터 웹페이지를 관리하기 위한 명령 또는 변환할 도큐먼트를 수신한다.
본 발명의 일 실시예에 따른 반응형웹의 생성 과정을 예를 들어 설명하면, 먼저 관리자 단말(40) 등을 통하여 웹서버(20)가 문서 작성 소프트웨어에 의해 생성된 도큐먼트를 업로드받으면, 웹서버(20)는 이를 DTRW 서버(10)에 제공하며 DTRW 서버(10)는 데이터베이스(11)를 함께 이용하여 도큐먼트를 반응형웹으로 변환하는 기능을 수행한다. 그리고 DTRW 서버(10)는 생성된 반응형웹을 웹서버(20)로 제공함으로써 웹서버(20)에 탑재되며, 다양한 사용자 단말(30)의 요청에 따라 반응형 웹서비스가 가능하게 된다.
상기에서는 본 발명의 일 실시예에 따른 반응형웹 생성 방법이 DTRW 서버(10)에서 실행되는 것으로 했으나, 웹서버(20) 내에서 실행되는 것도 물론 가능하다.
도 2는 본 발명의 일 실시예에 따라 도큐먼트로부터 반응형웹 HTML을 생성하는 과정을 오브젝트의 관점에서 순서대로 나타낸 플로우차트이다.
DTRW 서버(10)는, 먼저, 도큐먼트(100)를 변환하여 PDF 문서(110)를 생성하고, PDF 문서(110)를 변환하여 반응형웹 HTML(170)을 생성하되, 중간 생성물들로서 Raw Material(120), 라인(130), 제 1 Mass(140), 제 2 Mass(150) 및 Mass Matrix(160)를 가진다.
문서 작성 소프트웨어에 의해 생성된 도큐먼트(100)를 변환하여 PDF 문서(110)를 생성하는 PDF 생성 과정은 공지된 기존 기술 및 소프트웨어를 이용하여 수행되므로 구체적인 설명은 생략하며, 이하에서는 생성된 PDF 문서(110)를 변환하여 반응형웹 HTML(170)을 생성하는 반응형웹 생성 단계를 상세히 설명한다.
변환된 PDF 문서(110)는 최소 Unit으로서 이미지 및 동영상을 포함하는 미디어와 문자를 포함하여 구성되며, 본 발명의 일 실시예에서는 이들을 추출하여 미디어 및 문자의 배열을 별도로 준비하거나, PDF 문서(110)내의 미디어 및 문자를 순차 탐색하면서 후속의 과정을 진행한다.
DTRW 서버(10)는, 단계 S10에서 문자(122)의 배열로부터 라인(130)을 생성하며, 단계 S20에서는 라인(130)의 배열로부터 제 1 Mass(140)를 생성하며, 단계 S30에서는 미디어 및 제 1 Mass(140)로부터 제 2 Mass(150)를 생성하며, 단계 S40에서는 제 2 Mass(150)으로부터 Mass Matrix(160)을 생성하며, 단계 S50에서는 Mass Matrix(160)으로부터 반응형웹 템플릿(180)을 이용하여 반응형웹 HTML(170)을 출력한다. 이하 단계 S10 내지 단계 S 50에 대해서 도 3 내지 도 9를 이용하여 상세히 설명한다.
단계 S10에서 문자 배열로부터 라인을 생성하는 과정은 문자들이 가진 특성을 이용하는 것으로서, 문자의 폰트 사이즈와, 문자의 X축 방향에서의 위치인 X 위치와, 문자의 Y축 방향에서의 위치인 Y 위치 중에서 적어도 하나 이상을 이용하여 복수의 문자를 하나의 라인으로 병합하는 과정을 포함한다.
일반적으로 같은 라인에 속하는 문자들은 같은 폰트 사이즈를 가지며, 이웃하는 문자들은 같은 Y 위치를 가진다. 그리고 일반적으로 같은 라인에 속하면서 이웃하는 문자들은 일정한 거리내에 있게 된다.
이러한 일반 경향을 이용하여, 본 발명의 일 실시예에서는 (i) 폰트 사이즈와 관련하여, 이웃하는 문자 사이에 폰트 사이즈의 차이가 정해진 범위 이내인지의 판단, (ii) 문자의 X 위치와 관련하여, 이웃하는 문자 사이의 거리가 정해진 범위 이내인지의 판단, (iii) 문자의 Y 위치와 관련하여, 이웃하는 문자 사이에 Y 위치의 차이가 정해진 범위 이내인지의 판단을 선택 또는 조합하여 이용한다.
이러한 판단은 문자의 속성값들중 폰트 사이즈, X 위치 및 Y 위치와 같은 속성값을 이용하여 실행될 수 있으며, 구체적으로 예를 들면, 이웃하는 문자 사이에 폰트 사이즈의 차이가 선행 문자의 1/100 이내인지, 문자의 속성값중에서 X 위치의 차이가 폰트 사이즈(또는/및 스페이스의 크기)의 1.5배 이내인지, 및 문자의 속성값중에서 Y 위치의 차이가 0.01 이내인지를 판단하고 이를 모두 만족하는 경우 동일한 라인으로 판단할 수 있다.
도 3은 본 발명의 일 실시예에 따라 문자의 배열로부터 라인을 생성하는 과정을 도시한 플로우차트이다.
먼저 문자의 배열을 준비하며, PDF 문서(110)로부터 미디어(121) 및 문자(122)를 포함하는 Raw Material(120)을 추출하는 것으로서 또는 Raw Material(120)속의 문자를 배열로 따로 만드는 것으로서 문자의 배열을 준비할 수 있으며, 또는 PDF 문서(110)속의 문자들을 순차 탐색하는 것으로서 별도로 준비하지 않을 수도 있다.
그리고, 단계 S11은 문자 배열에서 한 문자를 리드 하는 과정으로서, 도 3의 플로우를 시작한 경우에는 배열의 첫 문자를 리드하고 그렇지 않은 경우에는 순서에 따른 다음 문자를 리드한다. 그리고 단계 S12에서는 문자 배열에서 새롭게 리드한 문자가 있는지를 판단하여, 이미 배열의 마지막 문자까지 처리하였으면 새로 리드한 문자가 없으므로 종료한다.
만약 남은 문자가 있어서 새롭게 한 문자를 리드했으면, 단계 S14로 진행한다. 단계 S14에서는 리드한 문자와 '비교 문자'를 비교하여 리드한 문자를 비교 문자가 속하는 현재 라인에 병합할 수 있는지, 즉 리드한 문자가 비교 문자와 동일 라인인지를 판단하게 된다.
여기서 비교 문자는 통상 리드한 문자와 인접하는 선행 문자이며, 리드한 문자가 라인의 첫 문자라면 그 때 비교 문자는 비어 있게 되고, 중간에 Null이 있는 경우에는 Null을 제외하고 가장 인접한 문자가 된다.
그리고, 단계 S14의 판단을 위하여 비교 문자와 리드한 문자의 폰트 사이즈, 문자의 X 위치 및 문자의 Y 위치에 관한 정보들이 이용될 수 있으며, 이미 전술한 판단 방법들이 이용될 수 있다.
그리고 단계 S14의 판단 결과 병합 불가능하다면 단계 S16으로 진행하며, 병합 가능하다면 단계 S15로 진행한다. 또한 비교 문자가 비어있을 때는 당연히 병합 불가능한 것으로 하여 단계 S16으로 진행한다.
그리고 단계 S15에서는 리드한 문자가 라인으로 가능한지를 판단하는 바, 예를 들어 리드한 문자가 Null Object인 경우에는 현재 라인으로 병합하지 않고 비교 문자로도 기억하지 않도록 하기 위해 바로 단계 S11로 돌아간다.
그리고 단계 S16에서는 라인의 배열에 새로운 라인을 생성하며, 라인 시작 글자로서 리드한 문자를 기억하며(S17), 단계 S18에서는 현재 라인(단계 S16을 거친 경우에는 새롭게 생성된 라인이 된다)에 리드한 문자를 추가하며 단계 S19에서는 '비교 문자'로서 리드한 문자를 기억한다.
도 6은 본 발명의 일 실시예에 따른 반응형 웹 생성 방법이 적용되기 전 도큐먼트를 예시한 도면이며, 도 7은 본 발명의 일 실시예에 따른 반응형 웹 생성 방법에서 글자의 배열을 병합하여 생성한 라인들을 예시한 도면이다.
한편, 본 발명의 일 실시예에 따른 반응형웹 생성 방법은 생성된 라인(130)의 배열로부터 제 1 Mass(140)를 생성하는 단계(S20)를 포함하며, 상기 제 1 Mass 및 제 2 Mass에서 Mass란 반응형웹에서 한 덩어리로 움직일 수 있는 오브젝트의 단위가 된다.
단계 S 20에서 라인(130)의 배열로부터 제 1 Mass(140)를 생성할 때, 라인의 X축 방향에서의 위치인 X 위치, 라인의 Y축 방향에서의 위치인 Y 위치, 및 라인의 폰트 사이즈 중에서 적어도 하나 이상을 이용하여 복수의 라인을 하나의 제 1 Mass(140)로 병합하는 과정을 포함한다.
그리고, 라인의 X 위치는 이웃하는 라인 사이에 X 위치의 차이가 정해진 범위 이내인지를 판단하는 데 이용되며, 라인의 Y 위치는 이웃하는 라인 사이의 거리가 정해진 범위 이내인지를 판단하는 데 이용되며, 라인의 폰트 사이즈는 이웃하는 라인의 폰트 사이즈의 차이가 정해진 범위 이내인지를 판단하는 데 이용될 수 있다.
예를 들어, 이웃하는 라인에서 Y 위치의 간격이 폰트 사이즈의 1.5배 이내인지 여부, 이웃하는 라인에서 X 위치상 두 라인의 시작 위치의 차이가 폰트 사이즈의 2배 이내인지 여부, 및 이웃하는 라인의 대표 폰트 사이즈의 크기 차이가 2배이내인지 여부를 기준으로 판단할 수 있다.
도 4는 본 발명의 일 실시예에 따른 반응형웹 생성 방법에서 라인의 배열로부터 Mass를 생성하는 과정을 도시한 플로우차트이다.
단계 S21은 라인의 배열에서 한 라인을 리드 하는 과정으로서, 도 4의 플로우를 시작한 경우에는 배열의 첫 라인을 리드하고 그렇지 않은 경우에는 순서에 따른 다음 라인을 리드한다. 그리고 단계 S22에서는 라인의 배열에서 새롭게 리드한 라인이 있는지를 판단하여, 이미 배열의 마지막 라인까지 처리하였으면 새로 리드한 라인이 없으므로 종료한다.
만약 남은 라인이 있어서 새롭게 한 라인을 리드했으면, 단계 S23로 진행한다. 단계 S23에서는 리드한 라인과 '비교 라인'를 비교하여 리드한 라인을 비교 라인이 속하는 현재 Mass에 병합할 수 있는지를 판단하게 된다. 여기서 비교 라인은 통상 리드한 라인과 인접하는 선행 라인이 된다.
그리고, 단계 S23의 판단을 위하여 비교 라인과 리드한 라인의 폰트 사이즈, 라인의 X 위치 및 라인의 Y 위치에 관한 정보들이 이용될 수 있으며, 전술한 판단 방법들이 이용될 수 있다.
그리고 단계 S23의 판단 결과 병합 불가능하다면 단계 S24로 진행하며, 병합 가능하다면 단계 S25로 진행한다. 또한 비교 라인이 비어있을 때는 당연히 병합 불가능한 것으로 하여 단계 S24로 진행한다.
그리고 단계 S24에서는 새로운 Mass를 생성하고 이를 Mass의 배열에 추가한다. 즉, 단계 S23에서 리드한 새로운 라인을 현재 Mass에 병합할 수 없다고 판단하였으므로, 새로운 Mass를 생성하게 되는 것이다.
그리고 단계 S25에서는 현재 Mass에 리드한 라인을 추가하며, 여기서 단계 24를 통하여 새로운 Mass를 생성한 경우에는 생성된 Mass가 현재 Mass가 된다. 그리고 단계 S26에서는 리드한 라인을 '비교 라인'으로 기억함으로써 단계 S23에서의 비교에 이용할 수 있도록 한다.
한편, 도 2의 단계 S30에서는 미디어(이미지, 동영상)(121) 및 제 1 Mass(140)로부터 제 2 Mass(150)를 생성하는 바, 생성된 복수의 제 1 Mass(140)를 병합하고 또한 미디어를 포함함하는 제 2 Mass(150)를 생성한다. 단계 S30은 Mass의 X 위치 및 Mass의 Y 위치 중에서 적어도 하나 이상을 이용하여 복수의 Mass를 병합하는 과정을 적어도 포함한다.
이전 단계까지의 의미를 가진 그룹화 과정에서 벗어나 템플릿 적용을 위해 형태적으로 합칠 수 있는 Mass를 합쳐서 Mass Matrix 구성을 위한 Mass를 구성하는 단계로서, X축과 Y축 기준의 한계 범위 이내의 Mass를 합혀서 형태적인 특성을 파악한다.
Mass의 X 위치 및 Y위치는 Mass 사이의 거리가 정해진 범위 이내인지를 판단하는 데 이용된다. 예를 들어, 가로로 배열된 두 Mass에서 X축상에서의 거리가 30px 이내인 경우와 세로로 배열된 두 Mass에서 Y축상에서의 거리가 15px 이내인 경우 두 Mass를 합쳐서 단일의 Mass로 한다. 그리고 X축상에서의 거리는 선행 Mass의 우측끝 X 위치와 후행 Mass의 좌측끝 X 위치 사이의 차이값으로 계산될 수 있으며, Y축상에서의 거리는 선행 Mass의 Bottom Y 위치와 후행 Mass의 Top Y 위치 사이의 차이값으로 계산될 수 있다. 그리고 Mass 사이의 병합은 텍스트 Mass만을 대상으로 하며 미디어 Mass는 제외한다.
도 8은 본 발명의 일 실시예에 따른 반응형웹 생성 방법에서 중간 생성물인 제 2 Mass들의 예를 도시한 도면이다.
도시된 바와 같이 제 2 Mass는 이미지 및 동영상과 같은 미디어 Mass와 텍스트로 구성되는 텍스트 Mass를 포함한다.
한편, 도 2의 단계 S40에서는 제 2 Mass(150)로부터 Mass Matrix(160)를 생성한다. 전술한 바와 같이 DTRW 서버(10)는 복수의 반응형웹 템플릿을 포함하는 데이터베이스(11)를 구비하거나 이러한 데이터베이스(11)와 연동한다.
그리고 DTRW 서버(10)는 생성된 제 2 Mass(150)의 배열을 탐색하면서 데이터베이스(11)에서 선택되는 반응형웹 템플릿에 하나 또는 복수의 제 2 Mass(150)를 배당함으로써 Mass Matrix(160)를 생성한다. Mass Matrix는 이와 같이 반응형웹 템플릿을 선택하고 그에 맞추어서 Mass를 배당한 결과물로서, 결국 Mass Matrix 생성은 반응형웹 템플릿에 배치되기 위한 순서를 맞추는 것이다.
도 5(A)는 반응형웹 템플릿의 간단한 예를 개념적으로 도시한 도면이다.
템플릿 1은 좌우 방향이 없는 경우로서 가로 방향으로 Mass가 한 칸을 차지하는 템플릿을 도시한 것이며, 템플릿 2는 좌우 방향이 있는 경우로서 같은 Y위치에서 가로 방향으로 두 Mass가 좌우 배치되는 템플릿을 도시한 도면이다.
그리고 템플릿을 선택하고 배당함에 있어서는 여러 가지 기준이 고려될 수 있다.
도 5(B)는 반응형웹 템플릿의 선택을 예시적으로 설명하기 위한 Mass의 예를 도시한 도면이다.
도시된 바와 같이 어떤 Mass(도면에서 Mass 1)의 Top Y 위치와 Bottom Y 위치 사이에 다른 Mass(도면에서 Mass 2)가 존재하는 경우, Mass 1 및 Mass 2를 각각 2개의 템플릿 1에 배당할 지, 아니면 Mass 1 및 Mass 2를 템플릿 2에 배당할 지 판단된다.
구체적으로 어떤 Mass(도면에서 Mass 1)의 Top Y 위치와 Bottom Y 위치 사이에 정해진 비율 이상, 예를 들면 Mass 1의 높이와 비교하여 15% 이상 겹치는 다른 Mass(도면에서 Mass 2)가 존재하는 경우 동일 Mass Matrix에 배당하는 과정을 포함할 수 있다.
한편, 도 2의 단계 S50에서는 Mass Matrix(160)으로부터 반응형웹 템플릿(180)을 이용하여 반응형웹 HTML(170)을 출력한다.
DTRW 서버(10)는 생성된 Mass Matrix와 데이터베이스(11)의 반응형웹 템플릿을 연동하여 반응형웹 HTML을 출력한다. 예를 들면, 반응형웹 템플릿의 <div></div> 영역에 Mass Matrix의 컨텐츠를 삽입하여 완성된 구조의 HTML 데이터를 얻는다.
도 9는 본 발명의 일 실시예에 따라 도 6에 도시된 도큐먼트를 반응형웹으로 변환하여 생성한 반응형 웹페이지를 예시한 도면으로서, 도 9(a)는 고해상도 기기에 표시된 것이며, 도 9(b)는 저해상도 기기에 표시된 것이다.
그리고 DTRW 서버(10)는 반응형웹 HTML(170)을 웹서버(20)에게 제공하며, 웹서버(20)는 이를 탑재하여, 다양한 사용자 단말(30)의 요청에 따라 반응형 웹서비스를 제공할 수 있다.

Claims (11)

  1. 컴퓨터에서 실행되는 반응형웹 생성 방법으로서,
    문서 작성 소프트웨어에 의해 생성된 도큐먼트를 변환하여 PDF 문서를 생성하는 PDF 생성 단계; 및
    상기 생성된 PDF 문서를 변환하여 반응형웹 HTML을 생성하는 반응형웹 생성 단계;를 포함하며,
    상기 반응형웹 생성 단계는,
    상기 생성된 PDF 문서의 문자 배열로부터 라인을 생성하는 제 1 단계;
    상기 생성된 라인의 배열로부터 Mass를 생성하는 제 2 단계;를 포함하며,
    상기에서 Mass는 반응형웹에서 한 덩어리로 움직일 수 있는 오브젝트의 단위인 것을 특징으로 하는 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법.
  2. 청구항 1에 있어서,
    상기 제 1 단계는,
    적어도 문자의 X 위치 및 문자의 Y 위치를 이용하여 복수의 문자를 하나의 라인으로 병합하는 과정을 포함하는 것을 특징으로 하는 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법.
  3. 청구항 2에 있어서,
    상기한 적어도 문자의 X 위치 및 문자의 Y 위치를 이용하여 복수의 문자를 하나의 라인으로 병합하는 과정에 있어서, 문자의 폰트 사이즈를 더 이용하며,
    상기 폰트 사이즈는 이웃하는 문자 사이에 폰트 사이즈의 차이가 정해진 범위 이내인지를 판단하는 데 이용되며,
    상기 문자의 X 위치는 이웃하는 문자 사이의 거리가 정해진 범위 이내인지를 판단하는 데 이용되며,
    상기 문자의 Y 위치는 이웃하는 문자 사이에 Y 위치의 차이가 정해진 범위 이내인지를 판단하는 데 이용되는,
    것을 특징으로 하는 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법.
  4. 청구항 1에 있어서,
    상기 제 2 단계는,
    라인의 X 위치, 라인의 Y 위치 및 라인의 폰트 사이즈 중에서 적어도 하나 이상을 이용하여 복수의 라인을 하나의 Mass로 병합하는 과정을 포함하는 것을 특징으로 하는 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법.
  5. 청구항 4에 있어서,
    상기 라인의 X 위치는 이웃하는 라인 사이에 X 위치의 차이가 정해진 범위 이내인지를 판단하는 데 이용되며,
    상기 라인의 Y 위치는 이웃하는 라인 사이의 거리가 정해진 범위 이내인지를 판단하는 데 이용되며,
    상기 라인의 폰트 사이즈는 이웃하는 라인의 폰트 사이즈의 차이가 정해진 범위 이내인지를 판단하는 데 이용되는,
    것을 특징으로 하는 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법.
  6. 청구항 1에 있어서,
    상기 제 2 단계에서 생성된 Mass를 병합하여 병합된 Mass를 생성하는 제 3 단계;를 더 포함하며,
    상기 제 3 단계는,
    Mass의 X 위치 및 Mass의 Y 위치 중에서 적어도 하나 이상을 이용하여 복수의 Mass를 병합하는 과정을 포함하는,
    것을 특징으로 하는 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법.
  7. 청구항 6에 있어서,
    상기 Mass의 X 위치 및 Y 위치는 Mass 사이의 거리가 정해진 범위 이내인지를 판단하는 데 이용되는,
    것을 특징으로 하는 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법.
  8. 청구항 6에 있어서,
    상기 컴퓨터는 복수의 반응형웹 템플릿을 포함하는 데이터베이스를 구비하거나 상기 데이터베이스와 연동하며,
    상기 반응형 웹 생성 방법은,
    상기 제 3 단계에서 생성된 Mass의 배열을 탐색하면서 상기 데이터베이스에서 선택되는 반응형웹 템플릿에 하나 또는 복수의 Mass를 배당함으로써 Mass Matrix를 생성하는 제 4 단계;
    를 더 포함하는 것을 특징으로 하는 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법.
  9. 청구항 8에 있어서,
    상기 제 4 단계는,
    어떤 Mass의 Top Y 위치와 Bottom Y 위치 사이에 정해진 비율 이상 겹치는 다른 Mass가 존재하는 경우 동일 Mass Matrix에 배당하는 과정을 포함하는,
    것을 특징으로 하는 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법.
  10. 청구항 8에 있어서,
    상기 제 4 단계에서 생성된 Mass Matrix와 상기 데이터베이스의 반응형웹 템플릿을 연동하여 반응형웹 HTML을 출력하는 제 5 단계;
    를 포함하는 것을 특징으로 하는 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법.
  11. 청구항 10에 있어서,
    상기 제 5 단계는,
    상기 반응형웹 템플릿의 <div></div> 영역에 상기 Mass Matrix의 컨텐츠를 삽입하는 과정을 포함하는,
    것을 특징으로 하는 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법.
PCT/KR2015/009010 2014-08-27 2015-08-27 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법 WO2016032267A1 (ko)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2014-0112108 2014-08-27
KR1020140112108A KR101516213B1 (ko) 2014-08-27 2014-08-27 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법

Publications (1)

Publication Number Publication Date
WO2016032267A1 true WO2016032267A1 (ko) 2016-03-03

Family

ID=53393419

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2015/009010 WO2016032267A1 (ko) 2014-08-27 2015-08-27 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법

Country Status (2)

Country Link
KR (1) KR101516213B1 (ko)
WO (1) WO2016032267A1 (ko)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176648A (zh) * 2018-11-09 2020-05-19 北京嘀嘀无限科技发展有限公司 免安装程序转换处理方法、装置、电子设备及存储介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101771475B1 (ko) 2017-04-20 2017-08-25 주식회사 코코아스튜디오 반응형 웹페이지 생성 방법 및 장치
KR101771473B1 (ko) 2017-04-20 2017-08-25 주식회사 코코아스튜디오 반응형 웹페이지 생성 방법 및 장치
KR102591757B1 (ko) * 2023-02-14 2023-10-20 주식회사 테스트뱅크 디지털 참고서를 생산하기 위한 PDF 파일을 Semantic HTML 형태로 변환하기 위한 방법 및 장치

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009091210A2 (ko) * 2008-01-17 2009-07-23 텍스트 정보를 활용하는 전자 서적 서비스 제공 방법 및 그 시스템
KR20110027210A (ko) * 2009-09-10 2011-03-16 박경원 피디에프 변환 시스템
WO2013042809A1 (ko) * 2011-09-22 2013-03-28 Ko Youn Hwan 애플리케이션의 사용 현황 정보 제공 시스템 및 방법
WO2013137671A1 (ko) * 2012-03-15 2013-09-19 Kim Dae Il 이동통신 단말기용 문서전송 시스템 및 그 전송방법
WO2013172562A1 (ko) * 2012-04-24 2013-11-21 주식회사 파수닷컴 콘텐츠의 객체별 권한 설정 장치 및 방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009091210A2 (ko) * 2008-01-17 2009-07-23 텍스트 정보를 활용하는 전자 서적 서비스 제공 방법 및 그 시스템
KR20110027210A (ko) * 2009-09-10 2011-03-16 박경원 피디에프 변환 시스템
WO2013042809A1 (ko) * 2011-09-22 2013-03-28 Ko Youn Hwan 애플리케이션의 사용 현황 정보 제공 시스템 및 방법
WO2013137671A1 (ko) * 2012-03-15 2013-09-19 Kim Dae Il 이동통신 단말기용 문서전송 시스템 및 그 전송방법
WO2013172562A1 (ko) * 2012-04-24 2013-11-21 주식회사 파수닷컴 콘텐츠의 객체별 권한 설정 장치 및 방법

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176648A (zh) * 2018-11-09 2020-05-19 北京嘀嘀无限科技发展有限公司 免安装程序转换处理方法、装置、电子设备及存储介质
CN111176648B (zh) * 2018-11-09 2024-01-05 北京嘀嘀无限科技发展有限公司 免安装程序转换处理方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
KR101516213B1 (ko) 2015-05-04

Similar Documents

Publication Publication Date Title
US11514234B2 (en) Method and system for annotation and connection of electronic documents
WO2016032267A1 (ko) 도큐먼트를 반응형 웹으로 변환하는 반응형 웹 생성 방법
WO2018212484A1 (ko) 객체의 서식을 유지하는 문서 편집 장치 및 그의 동작 방법
CN103353878A (zh) 将多种格式的文档显示在网页中的方法
WO2012141433A2 (ko) 피디에프 문서 기반의 이북용 멀티미디어 재생 시스템 및 그 재생 방법, 그리고 이를 구현한 피씨 또는 모바일 장치용 어플리케이션
WO2021056782A1 (zh) 一种图片识别翻译方法、装置、终端及介质
WO2018004021A1 (ko) 전자 문서의 공동 편집을 위한 협업 지원 장치 및 그 동작 방법
WO2014058146A1 (ko) 웹 문서의 고속 웹 스크롤을 지원하는 사용자 단말 장치 및 스크롤 방법
US9030378B2 (en) Sharing display processing system, display processing system, and display method
WO2013105716A1 (ko) 이미지 제공 시스템, 이를 위한 장치 및 이미지 제공 방법
WO2021066325A1 (ko) 웹 페이지를 생성하는 방법 및 장치
WO2018004020A1 (ko) 마크업 언어 기반 문서에 대한 동시 편집 정합성 검증 장치 및 방법
US20180081860A1 (en) Information processing system and control method therefor
US20170180569A1 (en) Information processing apparatus and image processing system
JP2014219833A (ja) 文書読解支援装置、文書読解支援システムおよびプログラム
WO2018008861A1 (ko) 사용자 서버를 이용한 html 제어 시스템 및 방법
WO2014058230A1 (en) Portable device and image displaying method thereof
JP2009145963A (ja) 文書処理装置および文書処理方法
WO2023106526A1 (ko) 고해상도의 2차원 바코드 출력을 위한 벡터 이미지 구현 방법, 장치 및 컴퓨터-판독 가능 기록 매체
WO2014133343A1 (en) Apparatus and method for manufacturing web widget
WO2024101597A1 (ko) 콘텐츠 무단 복사 무력화 방법 및 장치
WO2023229087A1 (ko) 위젯을 편집하기 위한 방법 및 전자 장치
CN110795914A (zh) 一种pdf文档转换为图片的方法、装置及电子设备
WO2020045704A1 (ko) 전자책 제작방법 및 그를 위한 컴퓨터 프로그램
WO2021177719A1 (ko) 번역 플랫폼 운용 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15835120

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15835120

Country of ref document: EP

Kind code of ref document: A1