KR102442510B1 - Document editing apparatus that automatically specifies the storage file format for documents and the operating method thereof - Google Patents

Document editing apparatus that automatically specifies the storage file format for documents and the operating method thereof Download PDF

Info

Publication number
KR102442510B1
KR102442510B1 KR1020200131807A KR20200131807A KR102442510B1 KR 102442510 B1 KR102442510 B1 KR 102442510B1 KR 1020200131807 A KR1020200131807 A KR 1020200131807A KR 20200131807 A KR20200131807 A KR 20200131807A KR 102442510 B1 KR102442510 B1 KR 102442510B1
Authority
KR
South Korea
Prior art keywords
document
file format
file
total number
storage
Prior art date
Application number
KR1020200131807A
Other languages
Korean (ko)
Other versions
KR20220048663A (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 KR1020200131807A priority Critical patent/KR102442510B1/en
Publication of KR20220048663A publication Critical patent/KR20220048663A/en
Application granted granted Critical
Publication of KR102442510B1 publication Critical patent/KR102442510B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents

Abstract

문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치 및 그 동작 방법이 개시된다. 본 발명에 따른 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치 및 그 동작 방법은 사용자로부터 문서 편집툴을 통해 작성된 문서에 대한 저장 명령이 인가되면, 상기 문서에 포함된 내용을 기초로 워드 파일 형식, 스프레드시트 파일 형식, 프레젠테이션 파일 형식 중 상기 문서에 가장 적합한 파일 형식을 자동으로 지정함으로써, 상기 사용자에 의해 작성된 문서를 최적화된 파일 형식으로 자동 변환해서 저장할 수 있도록 지원할 수 있다.Disclosed are a document editing apparatus for automatically designating a storage file format for a document, and an operating method thereof. According to the present invention, a document editing apparatus for automatically designating a storage file format for a document and an operating method therefor are provided. When a save command for a document created through a document editing tool is applied from a user, a word based on the contents included in the document By automatically designating a file format most suitable for the document among a file format, a spreadsheet file format, and a presentation file format, it is possible to automatically convert and store the document created by the user into an optimized file format.

Description

문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치 및 그 동작 방법{DOCUMENT EDITING APPARATUS THAT AUTOMATICALLY SPECIFIES THE STORAGE FILE FORMAT FOR DOCUMENTS AND THE OPERATING METHOD THEREOF}A document editing device that automatically specifies a storage file format for a document and an operating method thereof

본 발명은 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치 및 그 동작 방법에 대한 것이다.The present invention relates to a document editing apparatus for automatically designating a storage file format for a document, and an operating method thereof.

최근, 컴퓨터나 스마트폰 또는 태블릿 PC 등이 널리 보급됨에 따라, 이러한 전자 장치를 이용하여 전자 문서를 열람, 작성, 편집할 수 있도록 하는 다양한 종류의 문서 작성 프로그램들이 출시되고 있다.Recently, as computers, smart phones, or tablet PCs have been widely used, various types of document creation programs have been released that allow users to read, write, and edit electronic documents using such electronic devices.

이러한 문서 작성 프로그램들로는 기본적인 문서의 작성, 편집 등을 지원하는 워드프로세서, 데이터의 입력, 산술연산, 데이터 관리를 보조하는 스프레드시트, 발표자의 발표를 보조하기 위한 프레젠테이션 프로그램 등이 있다.These document creation programs include a word processor supporting basic document creation and editing, a spreadsheet supporting data input, arithmetic operations, and data management, and a presentation program supporting a presenter's presentation.

이와 관련해서, 기존에는 사용자가 문서를 작성하고자 할 때, 사용자가 문서를 작성하고자 하는 목적에 따라, 다양한 문서 작성 프로그램들 중 하나를 사용자가 직접 선택하여 실행한 후 실행된 문서 작성 프로그램의 형식에 맞추어 문서를 작성해야 할 필요가 있었다.In this regard, conventionally, when a user wants to create a document, the user directly selects and executes one of various document creation programs according to the purpose for which the user wants to create a document, and then the type of the executed document preparation program is applied. It was necessary to write the documentation accordingly.

예컨대, 사용자가 일반적인 텍스트 위주의 문서를 작성하고자 하는 경우에는 워드프로세서 프로그램을 이용해야 하고, 표 위주의 문서를 작성하고자 하는 경우에는 스프레드시트 프로그램을 이용해야 하며, 이미지/도형 개체들이 많이 포함된 발표용 문서를 작성하고자 하는 경우에는 프레젠테이션 프로그램을 이용해야 할 필요가 있었다.For example, if the user wants to create a text-oriented document, a word processing program should be used, and if a user wants to create a table-oriented document, a spreadsheet program should be used, and presentations containing many image/figure objects It was necessary to use a presentation program in case of writing a document for use.

이로 인해, 문서 작성 프로그램을 잘 모르는 사용자의 경우에는 사용자가 워드프로세서, 스프레드시트, 프레젠테이션 프로그램 등과 같은 문서 작성 프로그램들에 대해 어떠한 기능을 가지고 있는지 인지하기 어렵고, 사용자가 작성하고자 하는 내용에 대해 어떤 문서 작성 프로그램이 가장 적합한지에 대해서도 알기가 어렵다는 점으로 인하여, 사용자의 불편이 초래되는 문제가 발생할 수 있었다. For this reason, in the case of a user who is not familiar with the document creation program, it is difficult to recognize what functions the user has for the document creation programs such as a word processor, a spreadsheet, a presentation program, etc. Due to the fact that it is difficult to know whether the writing program is the most suitable, there may be a problem of causing inconvenience to the user.

따라서, 사용자가 문서를 작성할 때, 어떤 문서 작성 프로그램을 실행해야 할지에 대한 고민없이, 문서 편집 장치에서 사용자가 작성하고자 하는 내용을 작성하기만 하면, 작성된 내용을 기초로 상기 작성된 내용에 가장 적합한 문서 작성 프로그램에 대응하는 문서 포맷을 갖는 문서 파일로 자동 변환해 줄 수 있도록 지원하는 기술에 대한 연구가 필요하다.Therefore, when the user creates a document, without worrying about which document creation program to run, simply write the content the user wants to write in the document editing device, and based on the written content, the most suitable document for the written content It is necessary to study a technology that supports automatic conversion into a document file having a document format corresponding to the writing program.

본 발명에 따른 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치 및 그 동작 방법은 사용자로부터 문서 편집툴을 통해 작성된 문서에 대한 저장 명령이 인가되면, 상기 문서에 포함된 내용을 기초로 워드 파일 형식, 스프레드시트 파일 형식, 프레젠테이션 파일 형식 중 상기 문서에 가장 적합한 파일 형식을 자동으로 지정함으로써, 상기 사용자에 의해 작성된 문서를 최적화된 파일 형식으로 자동 변환해서 저장할 수 있도록 지원하고자 한다.According to the present invention, a document editing apparatus for automatically designating a storage file format for a document and an operating method therefor are provided. When a save command for a document created through a document editing tool is applied from a user, a word based on the contents included in the document By automatically designating the most suitable file format for the document among the file format, the spreadsheet file format, and the presentation file format, the document created by the user can be automatically converted into an optimized file format and saved.

본 발명의 일실시예에 따른 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치는 워드 파일 형식, 스프레드시트 파일 형식, 프레젠테이션 파일 형식 각각에 대응되는 사전 설정된 서로 다른 문서 메타 정보 - 상기 문서 메타 정보는 문서에 포함된 전체 글자 수에 대한 문서에 포함된 전체 표 개체 수의 비율인 제1 비율과 문서에 포함된 전체 글자 수에 대한 문서에 포함된 전체 이미지/도형 개체 수의 비율인 제2 비율로 구성된 정보를 의미함 - 가 저장되어 있는 저장부, 사용자로부터 문서 작성을 위한 사전 설정된 문서 편집툴의 실행 명령이 인가되면, 상기 문서 편집툴을 실행한 후 상기 사용자로부터 상기 문서 편집툴을 통해 작성된 제1 문서에 대한 저장 명령이 수신되면, 상기 제1 문서에 포함된 전체 글자 수, 전체 표 개체 수, 전체 이미지/도형 개체 수를 카운트하는 카운트부, 상기 제1 문서에 포함된 전체 글자 수, 전체 표 개체 수, 전체 이미지/도형 개체 수가 카운트되면, 상기 제1 문서에 포함된 전체 글자 수에 대한 상기 제1 문서에 포함된 전체 표 개체 수의 비율인 상기 제1 비율과 상기 제1 문서에 포함된 전체 글자 수에 대한 상기 제1 문서에 포함된 전체 이미지/도형 개체 수의 비율인 상기 제2 비율을 연산함으로써, 상기 제1 문서에 대한 제1 문서 메타 정보를 생성하는 생성부, 상기 제1 문서 메타 정보가 생성되면, 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 문서 메타 정보를 상기 제1 문서 메타 정보와 비교하여, 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 중 상기 제1 문서 메타 정보와 가장 유사한 문서 메타 정보를 갖는 파일 형식을 상기 제1 문서에 대한 저장 파일 형식으로 결정하는 결정부, 상기 제1 문서에 대한 저장 파일 형식이 결정되면, 상기 제1 문서를 상기 결정된 저장 파일 형식에 따른 문서 파일로 구성하여 저장하는 저장 처리부를 포함한다.A document editing apparatus for automatically designating a storage file format for a document according to an embodiment of the present invention includes preset different document meta information corresponding to each of a word file format, a spreadsheet file format, and a presentation file format - the document meta information The information includes a first ratio, which is the ratio of the total number of table objects included in the document to the total number of characters included in the document, and a second ratio, which is the ratio of the total number of image/figure objects included in the document to the total number of characters included in the document. It means information composed of a ratio - when a command for executing a preset document editing tool for document creation is applied to the storage unit in which is stored, the user executes the document editing tool and then through the document editing tool from the user When a save command for the created first document is received, a count unit for counting the total number of characters included in the first document, the total number of table objects, and the total number of image/figure objects, the total number of characters included in the first document , when the total number of table objects and the total number of image/figure objects are counted, the first ratio that is the ratio of the total number of table objects included in the first document to the total number of characters included in the first document and the first document a generator configured to generate the first document meta information for the first document by calculating the second ratio, which is a ratio of the total number of images/figures included in the first document to the total number of characters included in the . When the first document meta information is generated, document meta information corresponding to each of the word file format, the spreadsheet file format, and the presentation file format is compared with the first document meta information, and the word file format and the spreadsheet a file format, a determination unit configured to determine, among the presentation file formats, a file format having document meta information most similar to the first document meta information as a storage file format for the first document, a storage file format for the first document and a storage processing unit configured to store the first document as a document file according to the determined storage file format when determined do.

또한, 본 발명의 일실시예에 따른 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치의 동작 방법은 워드 파일 형식, 스프레드시트 파일 형식, 프레젠테이션 파일 형식 각각에 대응되는 사전 설정된 서로 다른 문서 메타 정보 - 상기 문서 메타 정보는 문서에 포함된 전체 글자 수에 대한 문서에 포함된 전체 표 개체 수의 비율인 제1 비율과 문서에 포함된 전체 글자 수에 대한 문서에 포함된 전체 이미지/도형 개체 수의 비율인 제2 비율로 구성된 정보를 의미함 - 가 저장되어 있는 단계, 사용자로부터 문서 작성을 위한 사전 설정된 문서 편집툴의 실행 명령이 인가되면, 상기 문서 편집툴을 실행한 후 상기 사용자로부터 상기 문서 편집툴을 통해 작성된 제1 문서에 대한 저장 명령이 수신되면, 상기 제1 문서에 포함된 전체 글자 수, 전체 표 개체 수, 전체 이미지/도형 개체 수를 카운트하는 단계, 상기 제1 문서에 포함된 전체 글자 수, 전체 표 개체 수, 전체 이미지/도형 개체 수가 카운트되면, 상기 제1 문서에 포함된 전체 글자 수에 대한 상기 제1 문서에 포함된 전체 표 개체 수의 비율인 상기 제1 비율과 상기 제1 문서에 포함된 전체 글자 수에 대한 상기 제1 문서에 포함된 전체 이미지/도형 개체 수의 비율인 상기 제2 비율을 연산함으로써, 상기 제1 문서에 대한 제1 문서 메타 정보를 생성하는 단계, 상기 제1 문서 메타 정보가 생성되면, 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 문서 메타 정보를 상기 제1 문서 메타 정보와 비교하여, 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 중 상기 제1 문서 메타 정보와 가장 유사한 문서 메타 정보를 갖는 파일 형식을 상기 제1 문서에 대한 저장 파일 형식으로 결정하는 단계, 상기 제1 문서에 대한 저장 파일 형식이 결정되면, 상기 제1 문서를 상기 결정된 저장 파일 형식에 따른 문서 파일로 구성하여 저장하는 단계를 포함한다.In addition, the operating method of the document editing apparatus for automatically designating a storage file format for a document according to an embodiment of the present invention is a different preset document meta corresponding to each of a word file format, a spreadsheet file format, and a presentation file format. Information - The document meta information includes the first ratio, which is the ratio of the total number of table objects included in the document to the total number of characters included in the document, and the total number of image/figure objects included in the document with respect to the total number of characters included in the document. means information composed of a second ratio that is a ratio of Counting the total number of characters, the total number of table objects, and the total number of image/figure objects included in the first document when a save command for the first document created through the editing tool is received; When the total number of characters, the total number of table objects, and the total number of image/figure objects are counted, the first ratio, which is the ratio of the total number of table objects included in the first document to the total number of characters included in the first document, and the generating the first document meta information for the first document by calculating the second ratio, which is a ratio of the total number of images/figures included in the first document to the total number of characters included in the first document , when the first document meta information is generated, by comparing the document meta information corresponding to each of the word file format, the spreadsheet file format, and the presentation file format with the first document meta information, the word file format, the determining a file format having document meta information most similar to the first document meta information among the spreadsheet file format and the presentation file format as the storage file format for the first document, the storage file format for the first document If this is determined, the step of composing and saving the first document as a document file according to the determined storage file format; include

본 발명에 따른 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치 및 그 동작 방법은 사용자로부터 문서 편집툴을 통해 작성된 문서에 대한 저장 명령이 인가되면, 상기 문서에 포함된 내용을 기초로 워드 파일 형식, 스프레드시트 파일 형식, 프레젠테이션 파일 형식 중 상기 문서에 가장 적합한 파일 형식을 자동으로 지정함으로써, 상기 사용자에 의해 작성된 문서를 최적화된 파일 형식으로 자동 변환해서 저장할 수 있다.According to the present invention, a document editing apparatus for automatically designating a storage file format for a document and an operating method therefor are provided. When a save command for a document created through a document editing tool is applied from a user, a word based on the contents included in the document By automatically designating a file format most suitable for the document among a file format, a spreadsheet file format, and a presentation file format, the document created by the user can be automatically converted into an optimized file format and saved.

도 1은 본 발명의 일실시예에 따른 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치의 구조를 도시한 도면이다.
도 2는 본 발명의 일실시예에 따른 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치의 동작 방법을 도시한 순서도이다.
1 is a diagram illustrating a structure of a document editing apparatus for automatically designating a storage file format for a document according to an embodiment of the present invention.
2 is a flowchart illustrating a method of operating a document editing apparatus for automatically designating a storage file format for a document according to an embodiment of the present invention.

이하에서는 본 발명에 따른 실시예들을 첨부된 도면을 참조하여 상세하게 설명하기로 한다. 이러한 설명은 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였으며, 다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 본 명세서 상에서 사용되는 모든 용어들은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 사람에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다.Hereinafter, embodiments according to the present invention will be described in detail with reference to the accompanying drawings. These descriptions are not intended to limit the present invention to specific embodiments, and should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the present invention. In describing each drawing, like reference numerals are used for similar components, and unless otherwise defined, all terms used in this specification, including technical or scientific terms, refer to those of ordinary skill in the art to which the present invention belongs. It has the same meaning as is commonly understood by those who have it.

본 문서에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있다는 것을 의미한다. 또한, 본 발명의 다양한 실시예들에 있어서, 각 구성요소들, 기능 블록들 또는 수단들은 하나 또는 그 이상의 하부 구성요소로 구성될 수 있고, 각 구성요소들이 수행하는 전기, 전자, 기계적 기능들은 전자회로, 집적회로, ASIC(Application Specific Integrated Circuit) 등 공지된 다양한 소자들 또는 기계적 요소들로 구현될 수 있으며, 각각 별개로 구현되거나 2 이상이 하나로 통합되어 구현될 수도 있다. In this document, when a part "includes" a certain component, it means that other components may be further included, rather than excluding other components, unless otherwise stated. In addition, in various embodiments of the present invention, each of the components, functional blocks or means may be composed of one or more sub-components, and the electrical, electronic, and mechanical functions performed by each component are electronic. A circuit, an integrated circuit, an ASIC (Application Specific Integrated Circuit), etc. may be implemented with various well-known devices or mechanical elements, and may be implemented separately or two or more may be integrated into one.

한편, 첨부된 블록도의 블록들이나 흐름도의 단계들은 범용 컴퓨터, 특수용 컴퓨터, 휴대용 노트북 컴퓨터, 네트워크 컴퓨터 등 데이터 프로세싱이 가능한 장비의 프로세서나 메모리에 탑재되어 지정된 기능들을 수행하는 컴퓨터 프로그램 명령들(instructions)을 의미하는 것으로 해석될 수 있다. 이들 컴퓨터 프로그램 명령들은 컴퓨터 장치에 구비된 메모리 또는 컴퓨터에서 판독 가능한 메모리에 저장될 수 있기 때문에, 블록도의 블록들 또는 흐름도의 단계들에서 설명된 기능들은 이를 수행하는 명령 수단을 내포하는 제조물로 생산될 수도 있다. 아울러, 각 블록 또는 각 단계는 특정된 논리적 기능(들)을 실행하기 위한 하나 이상의 실행 가능한 명령들을 포함하는 모듈, 세그먼트 또는 코드의 일부를 나타낼 수 있다. 또, 몇 가지 대체 가능한 실시예들에서는 블록들 또는 단계들에서 언급된 기능들이 정해진 순서와 달리 실행되는 것도 가능함을 주목해야 한다. 예컨대, 잇달아 도시되어 있는 두 개의 블록들 또는 단계들은 실질적으로 동시에 수행되거나, 역순으로 수행될 수 있으며, 경우에 따라 일부 블록들 또는 단계들이 생략된 채로 수행될 수도 있다.On the other hand, the blocks in the accompanying block diagram or steps in the flowchart are computer program instructions that are loaded in a processor or memory of equipment capable of data processing, such as a general-purpose computer, a special-purpose computer, a portable notebook computer, and a network computer, and perform specified functions. can be interpreted as meaning Since these computer program instructions may be stored in a memory provided in a computer device or in a memory readable by a computer, the functions described in the blocks of the block diagram or the steps of the flowchart are produced in an article containing instruction means for performing the same. it might be In addition, each block or each step may represent a module, segment, or portion of code comprising one or more executable instructions for executing the specified logical function(s). It should also be noted that, in some alternative embodiments, it is possible for the functions recited in blocks or steps to be executed out of the prescribed order. For example, two blocks or steps shown one after another may be performed substantially simultaneously or in the reverse order, and in some cases, some blocks or steps may be omitted.

도 1은 본 발명의 일실시예에 따른 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치의 구조를 도시한 도면이다.1 is a diagram illustrating a structure of a document editing apparatus for automatically designating a storage file format for a document according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 일실시예에 따른 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치(110)는 저장부(111), 카운트부(112), 생성부(113), 결정부(114) 및 저장 처리부(115)를 포함한다.Referring to FIG. 1 , a document editing apparatus 110 for automatically designating a storage file format for a document according to an embodiment of the present invention includes a storage unit 111 , a count unit 112 , a generation unit 113 , It includes a determination unit 114 and a storage processing unit 115 .

저장부(111)에는 워드 파일 형식, 스프레드시트 파일 형식, 프레젠테이션 파일 형식 각각에 대응되는 사전 설정된 서로 다른 문서 메타 정보가 저장되어 있다.The storage unit 111 stores different preset document meta information corresponding to each of a word file format, a spreadsheet file format, and a presentation file format.

여기서, 상기 문서 메타 정보는 문서에 포함된 전체 글자 수(A)에 대한 문서에 포함된 전체 표 개체 수(B)의 비율인 제1 비율(B/A)과 문서에 포함된 전체 글자 수(A)에 대한 문서에 포함된 전체 이미지/도형 개체 수(C)의 비율인 제2 비율(C/A)로 구성된 정보를 의미한다.Here, the document meta information includes a first ratio (B/A), which is the ratio of the total number of table objects (B) included in the document to the total number of characters (A) included in the document, and the total number of characters (B/A) included in the document ( It means information composed of the second ratio (C/A), which is the ratio of the total number of image/figure objects (C) included in the document for A).

예컨대, 저장부(111)에는 하기의 표 1과 같이, 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 상기 사전 설정된 서로 다른 문서 메타 정보가 저장되어 있을 수 있다.For example, the different preset document meta information corresponding to each of the word file format, the spreadsheet file format, and the presentation file format may be stored in the storage unit 111 as shown in Table 1 below.

파일 형식file format 제1 비율(%)first rate (%) 제2 비율(%)Second rate (%) 워드 파일 형식word file format 0.10.1 0.10.1 스프레드시트 파일 형식Spreadsheet file format 33 0.10.1 프레젠테이션 파일 형식Presentation file format 1One 66

카운트부(112)는 사용자로부터 문서 작성을 위한 사전 설정된 문서 편집툴의 실행 명령이 인가되면, 상기 문서 편집툴을 실행하고, 상기 사용자가 상기 문서 편집툴을 이용하여 제1 문서의 작성을 완료함에 따라, 상기 사용자로부터 상기 문서 편집툴을 통해 작성된 상기 제1 문서에 대한 저장 명령이 수신되면, 상기 제1 문서에 포함된 전체 글자 수, 전체 표 개체 수, 전체 이미지/도형 개체 수를 카운트한다.The count unit 112 executes the document editing tool when an execution command of a preset document editing tool for document creation is applied from the user, and the user completes the creation of the first document using the document editing tool. Accordingly, when a save command for the first document created through the document editing tool is received from the user, the total number of characters, the total number of table objects, and the total number of image/figure objects included in the first document is counted.

예컨대, 상기 제1 문서에 포함된 전체 글자 수가 '300자'라고 하고, 전체 표 개체 수가 '3개'라고 하며, 전체 이미지/도형 개체 수가 '15개'라고 하는 경우, 카운트부(112)는 상기 사용자로부터 상기 제1 문서에 대한 저장 명령이 수신되면, 상기 제1 문서에 포함된 전체 글자 수 '300자', 전체 표 개체 수 '3개', 전체 이미지/도형 개체 수 '15개'를 카운트할 수 있다.For example, if the total number of characters included in the first document is '300 characters', the total number of table objects is '3', and the total number of image/figure objects is '15', the count unit 112 is When a save command for the first document is received from the user, the total number of characters included in the first document '300', the total number of table objects '3', and the total number of image/figure objects '15' can count

생성부(113)는 상기 제1 문서에 포함된 전체 글자 수, 전체 표 개체 수, 전체 이미지/도형 개체 수가 카운트되면, 상기 제1 문서에 포함된 전체 글자 수에 대한 상기 제1 문서에 포함된 전체 표 개체 수의 비율인 상기 제1 비율과 상기 제1 문서에 포함된 전체 글자 수에 대한 상기 제1 문서에 포함된 전체 이미지/도형 개체 수의 비율인 상기 제2 비율을 연산함으로써, 상기 제1 문서에 대한 제1 문서 메타 정보를 생성한다.When the total number of characters, the total number of table objects, and the total number of image/figure objects included in the first document are counted, the generating unit 113 calculates the total number of characters included in the first document for the total number of characters included in the first document. By calculating the first ratio, which is the ratio of the total number of table objects, and the second ratio, which is the ratio of the total number of images/figures included in the first document to the total number of characters included in the first document, the second ratio is calculated. 1 Generates first document meta information for a document.

관련해서, 전술한 예와 같이, 카운트부(112)를 통해 상기 제1 문서에 포함된 전체 글자 수가 '300자', 전체 표 개체 수가 '3개', 전체 이미지/도형 개체 수가 '15개'로 카운트되면, 생성부(113)는 상기 제1 문서에 포함된 전체 글자 수인 '300자'에 대한 상기 제1 문서에 포함된 전체 표 개체 수인 '3개'의 비율인 제1 비율과 상기 제1 문서에 포함된 전체 글자 수인 '300자'에 대한 상기 제1 문서에 포함된 전체 이미지/도형 개체 수인 '15개'의 비율인 제2 비율을 연산함으로써, 상기 제1 문서에 대한 제1 문서 메타 정보인 상기 제1 비율을 '1%'로 생성하고, 상기 제2 비율을 '5%'로 생성할 수 있다.In relation to the above, as in the above example, the total number of characters included in the first document through the count unit 112 is '300', the total number of table objects is '3', and the total number of image/figure objects is '15'. If counted as , the generator 113 generates a first ratio that is a ratio of '3', which is the total number of table objects included in the first document, to '300 characters', which is the total number of characters included in the first document, and the first ratio. By calculating a second ratio that is a ratio of '15', which is the total number of images/figures included in the first document, to '300', which is the total number of characters included in one document, a second ratio for the first document is calculated. The first ratio, which is meta information, may be generated as '1%' and the second ratio as '5%' may be generated.

결정부(114)는 상기 제1 문서 메타 정보가 생성되면, 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 문서 메타 정보를 상기 제1 문서 메타 정보와 비교하여, 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 중 상기 제1 문서 메타 정보와 가장 유사한 문서 메타 정보를 갖는 파일 형식을 상기 제1 문서에 대한 저장 파일 형식으로 결정한다.When the first document meta information is generated, the determiner 114 compares the document meta information corresponding to each of the word file format, the spreadsheet file format, and the presentation file format with the first document meta information, A file format having document meta information most similar to the first document meta information among the word file format, the spreadsheet file format, and the presentation file format is determined as the storage file format for the first document.

이때, 본 발명의 일실시예에 따르면, 결정부(115)는 특성 벡터 생성부(116), 문서 특성 벡터 생성부(117), 거리 연산부(118) 및 파일 형식 결정부(119)를 더 포함할 수 있다.In this case, according to an embodiment of the present invention, the determination unit 115 further includes a characteristic vector generation unit 116 , a document characteristic vector generation unit 117 , a distance calculation unit 118 , and a file format determination unit 119 . can do.

특성 벡터 생성부(116)는 상기 제1 문서 메타 정보가 생성되면, 저장부(111)로부터 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 문서 메타 정보를 확인한 후 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 문서 메타 정보를 구성하는 상기 제1 비율과 상기 제2 비율을 성분으로 갖는 2차원의 벡터를 구성함으로써, 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 특성 벡터를 생성한다.When the first document meta information is generated, the feature vector generating unit 116 checks document meta information corresponding to each of the word file format, the spreadsheet file format, and the presentation file format from the storage unit 111, and then The word file format by constructing a two-dimensional vector having the first ratio and the second ratio constituting document meta information corresponding to each of the word file format, the spreadsheet file format, and the presentation file format as components; A feature vector corresponding to each of the spreadsheet file format and the presentation file format is generated.

예컨대, 상기 표 1에서 나타낸 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 중 상기 프레젠테이션 파일 형식에 대해서 특성 벡터를 생성한다고 하는 경우, 특성 벡터 생성부(116)는 저장부(111)로부터 상기 프레젠테이션 파일 형식에 대응되는 문서 메타 정보를 확인한 후, 상기 프레젠테이션 파일 형식에 대응되는 문서 메타 정보를 구성하는 상기 제1 비율인 '1%'와 상기 제2 비율인 '6%'를 성분으로 갖는 2차원 벡터를 구성함으로써, 상기 프레젠테이션 파일 형식에 대응되는 '[1 6]'이라고 하는 특성 벡터를 생성할 수 있다. 이러한 방식으로, 특성 벡터 생성부(116)는 나머지 상기 워드 파일 형식, 상기 스프레드시트 파일 형식 각각에 대응되는 특성 벡터도 생성할 수 있다.For example, when it is assumed that a feature vector is generated for the presentation file format among the word file format, the spreadsheet file format, and the presentation file format shown in Table 1, the feature vector generator 116 may include the storage 111 . After checking the document meta information corresponding to the presentation file format from By constructing a two-dimensional vector having the '[16]', a feature vector called '[16]' corresponding to the presentation file format can be generated. In this way, the feature vector generator 116 may also generate feature vectors corresponding to each of the remaining word file formats and the spreadsheet file formats.

문서 특성 벡터 생성부(117)는 상기 제1 문서 메타 정보를 구성하는 상기 제1 비율과 상기 제2 비율을 성분으로 갖는 2차원의 벡터를 구성함으로써, 상기 제1 문서에 대응되는 특성 벡터를 생성한다.The document characteristic vector generating unit 117 generates a characteristic vector corresponding to the first document by constructing a two-dimensional vector having the first ratio and the second ratio constituting the first document meta information as components. do.

예컨대, 전술한 예와 같이, 생성부(113)를 통해, 상기 제1 문서에 대한 상기 제1 문서 메타 정보를 구성하는 상기 제1 비율이 '1%'로 생성되고, 상기 제2 비율이 '5%'로 생성되었다고 하는 경우, 문서 특성 벡터 생성부(117)는 상기 제1 문서 메타 정보를 구성하는 상기 제1 비율인 '1%'와 상기 제2 비율인 '5%'를 성분으로 갖는 2차원의 벡터를 구성함으로써, 상기 제1 문서에 대응되는 '[1 5]'라고 하는 제1 문서 특성 벡터를 생성할 수 있다.For example, as in the above-described example, the first ratio constituting the first document meta information for the first document is generated as '1%', and the second ratio is 'through the generation unit 113 . When it is assumed that 5%' is generated, the document characteristic vector generating unit 117 has, as components, the first ratio '1%' and the second ratio '5%' constituting the first document meta information. By constructing a two-dimensional vector, a first document characteristic vector called '[1 5]' corresponding to the first document may be generated.

거리 연산부(118)는 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 특성 벡터와 상기 제1 문서에 대응되는 특성 벡터 간의 유클리드 거리(Euclidean distance)를 연산한다.The distance calculator 118 calculates a Euclidean distance between a feature vector corresponding to each of the word file format, the spreadsheet file format, and the presentation file format and a feature vector corresponding to the first document.

여기서, 유클리드 거리란, 두 개의 벡터가 존재한다고 하였을 때, 두 벡터 간의 거리를 의미하는 것으로 하기의 수학식 1에 따라 연산될 수 있다.Here, the Euclidean distance means a distance between two vectors when two vectors exist, and may be calculated according to Equation 1 below.

Figure 112020107871112-pat00001
Figure 112020107871112-pat00001

상기 수학식 1에서 D는 유클리드 거리, Ai와 Bi는 두 벡터에 포함되어 있는 i번째 성분들을 의미한다. 보통, 두 벡터 간의 유클리드 거리가 작을수록 두 벡터는 유사한 벡터라고 볼 수 있고, 두 벡터 간의 유클리드 거리가 클수록 두 벡터는 비유사한 벡터라고 볼 수 있다.In Equation 1, D denotes a Euclidean distance, and A i and B i denote i-th components included in the two vectors. In general, the smaller the Euclidean distance between two vectors is, the more similar the two vectors are.

관련해서, 거리 연산부(118)는 특성 벡터 생성부(116)를 통해 생성된 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 특성 벡터와 문서 특성 벡터 생성부(117)를 통해 생성된 상기 제1 문서에 대응되는 특성 벡터 간의 유클리드 거리를 하나씩 연산함으로써, 총 '3개'의 연산 값을 산출할 수 있다.In relation to this, the distance calculator 118 generates a feature vector and a document feature vector generator 117 corresponding to each of the word file format, the spreadsheet file format, and the presentation file format generated by the feature vector generator 116 . By calculating the Euclidean distances between the feature vectors corresponding to the first document generated through .

파일 형식 결정부(119)는 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 중 상기 제1 문서에 대응되는 특성 벡터와의 유클리드 거리가 최소로 연산된 특성 벡터를 갖는 파일 형식을 상기 제1 문서에 대한 저장 파일 형식으로 결정한다.The file format determining unit 119 selects a file format having a feature vector in which a Euclidean distance from a feature vector corresponding to the first document is calculated as a minimum among the word file format, the spreadsheet file format, and the presentation file format. Decide on the storage file format for the first document.

예컨대, 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 중 상기 프레젠테이션 파일 형식이 상기 제1 문서에 대응되는 특성 벡터와의 유클리드 거리가 최소로 연산된 특성 벡터를 갖는 파일 형식이라고 하는 경우, 파일 형식 결정부(119)는 상기 제1 문서에 대응되는 특성 벡터와의 유클리드 거리가 최소로 연산된 특성 벡터를 갖는 파일 형식인 상기 프레젠테이션 파일 형식을 상기 제1 문서에 대한 저장 파일 형식으로 결정할 수 있다.For example, when the presentation file format among the word file format, the spreadsheet file format, and the presentation file format is a file format having a feature vector in which the Euclidean distance from a feature vector corresponding to the first document is calculated as a minimum , the file format determining unit 119 determines, as the storage file format for the first document, the presentation file format, which is a file format having a feature vector in which a Euclidean distance to a feature vector corresponding to the first document is calculated as a minimum. can

이렇게, 결정부(114)를 통해, 상기 제1 문서에 대한 저장 파일 형식이 결정되면, 저장 처리부(115)는 상기 제1 문서를 상기 결정된 저장 파일 형식에 따른 문서 파일로 구성하여 저장한다.In this way, when the storage file format for the first document is determined through the determining unit 114 , the storage processing unit 115 configures the first document as a document file according to the determined storage file format and stores it.

이때, 본 발명의 일실시예에 따르면 저장 처리부(115)는 상기 제1 문서에 대한 저장 파일 형식이 결정되면, 상기 제1 문서에 대한 파일명을 지정할 것을 안내하는 안내메시지를 화면 상에 표시하고, 상기 사용자에 의해 상기 제1 문서의 파일명이 제1 파일명으로 지정되면, 상기 제1 문서를 상기 결정된 저장 파일 형식의 문서 파일로 구성하여 저장하되, 상기 문서 파일의 파일명을 상기 제1 파일명으로 설정할 수 있다.At this time, according to an embodiment of the present invention, when the storage file format for the first document is determined, the storage processing unit 115 displays a guide message guiding the designation of a file name for the first document on the screen, When the file name of the first document is designated by the user as the first file name, the first document is configured as a document file of the determined storage file format and stored, and the file name of the document file can be set as the first file name have.

예컨대, 결정부(114)에서 상기 제1 문서에 대한 저장 파일 형식이 상기 프레젠테이션 파일 형식으로 결정되었다고 하는 경우, 저장 처리부(115)는 상기 제1 문서에 대한 파일명을 지정할 것을 안내하는 안내메시지를 화면 상에 표시할 수 있다.For example, when the determining unit 114 determines that the storage file format for the first document is the presentation file format, the storage processing unit 115 displays a guide message guiding designation of a file name for the first document on the screen. can be displayed on the

만약, 사용자에 의해서 상기 제1 문서에 대한 파일명이 '학술대회발표문서'로 지정되었다고 하는 경우, 저장 처리부(115)는 상기 제1 문서를 프레젠테이션 문서 파일로 구성하여 저장하되, 상기 문서 파일의 파일명을 '학술대회발표문서'로 설정할 수 있다.If the user specifies that the file name for the first document is 'conference presentation document', the storage processing unit 115 configures and stores the first document as a presentation document file, but the file name of the document file can be set as a 'conference presentation document'.

이때, 본 발명의 일실시예에 따르면, 저장 처리부(115)는 템플릿 저장부(120), 및 파일 저장 처리부(121)를 포함할 수 있다.In this case, according to an embodiment of the present invention, the storage processing unit 115 may include a template storage unit 120 and a file storage processing unit 121 .

템플릿 저장부(120)에는 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 사전 설정된 서로 다른 템플릿이 저장되어 있다.The template storage unit 120 stores different preset templates corresponding to each of the word file format, the spreadsheet file format, and the presentation file format.

예컨대, 템플릿 저장부(120)에는 상기 워드 파일 형식에 대응되는 템플릿으로 일반적인 문서를 작성하기 위한 페이지 형식을 갖는 템플릿이 저장되어 있을 수 있고, 상기 스프레드시트 파일 형식에 대응되는 템플릿으로 모눈 종이 패턴의 페이지 형식을 갖는 템플릿이 저장되어 있을 수 있으며, 상기 프레젠테이션 파일 형식에 대응되는 템플릿으로 슬라이드 기반의 페이지 형식을 갖는 템플릿이 저장되어 있을 수 있다.For example, in the template storage unit 120, a template having a page format for writing a general document as a template corresponding to the word file format may be stored, and a grid paper pattern may be stored as a template corresponding to the spreadsheet file format. A template having a page format may be stored, and a template having a slide-based page format may be stored as a template corresponding to the presentation file format.

파일 저장 처리부(121)는 상기 제1 문서에 대한 저장 파일 형식이 결정되면, 템플릿 저장부(120)로부터 상기 제1 문서에 대한 저장 파일 형식에 대응되는 템플릿을 추출하고, 상기 제1 문서에 포함된 콘텐츠를 상기 추출된 템플릿에 삽입하여 상기 제1 문서를 수정한 후 수정된 상기 제1 문서를 상기 결정된 저장 파일 형식에 따른 문서 파일로 구성하여 저장한다.When the storage file format for the first document is determined, the file storage processing unit 121 extracts a template corresponding to the storage file format for the first document from the template storage unit 120 and includes it in the first document. After modifying the first document by inserting the extracted content into the extracted template, the modified first document is configured as a document file according to the determined storage file format and stored.

예컨대, 상기 제1 문서에 대한 저장 파일 형식이 상기 프레젠테이션 파일 형식으로 결정되었다고 하는 경우, 파일 저장 처리부(121)는 템플릿 저장부(120)로부터 상기 제1 문서에 대한 저장 파일 형식에 대응되는 템플릿으로 프레젠테이션에 대응되는 템플릿을 추출하고, 상기 제1 문서에 포함된 콘텐츠를 상기 프레젠테이션에 대응되는 템플릿에 삽입하여, 상기 제1 문서를 수정한 후, 수정된 상기 제1 문서를 결정된 저장 파일 형식인 상기 프레젠테이션 파일 형식에 따른 문서 파일로 구성하여 저장할 수 있다.For example, when it is determined that the storage file format for the first document is the presentation file format, the file storage processing unit 121 converts the file storage processing unit 121 to a template corresponding to the storage file format for the first document from the template storage unit 120 . Extracting a template corresponding to the presentation, inserting the content included in the first document into the template corresponding to the presentation, correcting the first document, and converting the modified first document into the determined storage file format It can be saved as a document file according to the presentation file format.

본 발명의 일실시예에 따르면, 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치(110)는 노름 연산부(122), 이벤트 발생부(123) 및 이미지 파일 저장 처리부(124)를 더 포함할 수 있다.According to an embodiment of the present invention, the document editing apparatus 110 for automatically designating a storage file format for a document further includes a norm calculating unit 122 , an event generating unit 123 , and an image file storage processing unit 124 . can do.

노름 연산부(122)는 상기 제1 문서가 상기 결정된 저장 파일 형식에 따른 문서 파일로 저장되면, 문서 특성 벡터 생성부(116)에서 생성된 상기 제1 문서에 대응되는 특성 벡터에 대한 유클리드 노름(Euclidean norm)을 연산한다.When the first document is stored as a document file according to the determined storage file format, the norm calculating unit 122 is configured to perform a Euclidean norm on a feature vector corresponding to the first document generated by the document characteristic vector generating unit 116 . norm) is calculated.

여기서, 유클리드 노름이란 n차원의 유클리드 공간 상에 어느 하나의 벡터가 존재할 때, 상기 벡터의 크기를 의미하는 것으로, 하기의 수학식 2에 따라 연산될 수 있다. Here, the Euclidean norm refers to the size of a vector when any one vector exists in an n-dimensional Euclidean space, and may be calculated according to Equation 2 below.

Figure 112020107871112-pat00002
Figure 112020107871112-pat00002

상기 수학식 2에서

Figure 112020107871112-pat00003
는 유클리드 노름,
Figure 112020107871112-pat00004
는 n차원의 특성 벡터에 포함되어 있는 i번째 성분을 의미한다.In Equation 2 above
Figure 112020107871112-pat00003
is the Euclidean gambling,
Figure 112020107871112-pat00004
denotes the i-th component included in the n-dimensional feature vector.

이벤트 발생부(123)는 상기 유클리드 노름이 연산되면, 상기 유클리드 노름이 사전 설정된 기준치를 초과하는지 여부를 확인하여 상기 유클리드 노름이 상기 기준치를 초과하는 경우, 상기 제1 문서의 원본 레이아웃에 대한 정보를 보여주기 위한 참고용 이미지의 생성을 지시하는 이미지 생성 이벤트를 발생시킨다.When the Euclidean norm is calculated, the event generator 123 checks whether the Euclidean norm exceeds a preset reference value, and when the Euclidean norm exceeds the reference value, information on the original layout of the first document Raises an image creation event that instructs the creation of a reference image for display.

여기서, 상기 유클리드 노름이 상기 기준치를 초과한다는 의미는 상기 제1 문서에 대한 특성 벡터에 포함된 각 성분의 크기가 크다는 의미이며, 이는 상기 제1 문서 상에 글자에 비해서 표나 이미지/도형 개체가 많이 삽입되어 있다는 것을 의미한다. 이렇게, 상기 제1 문서 상에 표나 이미지/도형 개체가 많이 삽입되어 있는 경우, 상기 제1 문서가 소정의 저장 파일 형식으로 변환되는 과정에서 상기 제1 문서의 원본 레이아웃이 변형될 가능성도 높기 때문에, 이벤트 발생부(123)는 사용자가 추후에 상기 제1 문서의 원본 레이아웃을 확인할 수 있도록 하기 위해, 상기 참고용 이미지의 생성을 지시하는 이미지 생성 이벤트를 발생시킬 수 있다.Here, the meaning that the Euclidean norm exceeds the reference value means that the size of each component included in the feature vector for the first document is large, which means that the number of tables or image/figure objects on the first document is greater than that of text. means it is inserted. In this way, when a large number of tables or image/figure objects are inserted in the first document, since the original layout of the first document is highly likely to be deformed in the process of converting the first document into a predetermined storage file format, The event generator 123 may generate an image generation event instructing generation of the reference image so that the user can check the original layout of the first document later.

만약, 이벤트 발생부(123)를 통해 상기 이미지 생성 이벤트가 발생되면, 이미지 파일 저장 처리부(124)는 상기 문서 편집툴을 통해 화면 상에 표시되고 있는 상기 제1 문서의 현재 화면을 캡쳐하여 이미지 파일로 추가 저장한다.If the image generation event is generated through the event generating unit 123, the image file storage processing unit 124 captures the current screen of the first document displayed on the screen through the document editing tool to obtain an image file. additionally save as

즉, 앞서 언급한 바와 같이, 상기 제1 문서에 대응되는 특성 벡터의 유클리드 노름이 사전 설정된 기준치를 초과한다는 것은 상기 제1 문서에 삽입된 표, 이미지/도형 개체가 많다는 것을 의미하는 것이기 때문에, 상기 제1 문서가 상기 제1 문서에 따른 파일 형식으로 저장되는 과정에서 상기 제1 문서의 원본 레이아웃이 변하는 문제가 발생할 수 있다. 따라서, 이미지 파일 저장 처리부(124)는 상기 이미지 생성 이벤트가 발생되면, 상기 제1 문서의 원본 레이아웃에 대한 정보를 보여주기 위한 참고용 이미지를 생성하여 이미지 파일로 저장함으로써, 상기 사용자가 추후 상기 이미지 파일을 통해 상기 제1 문서의 원본 레이아웃을 확인할 수 있도록 지원할 수 있다.That is, as mentioned above, when the Euclidean norm of the feature vector corresponding to the first document exceeds a preset reference value, it means that there are many tables and image/figure objects inserted in the first document. A problem in that the original layout of the first document is changed while the first document is stored in a file format according to the first document may occur. Accordingly, when the image creation event occurs, the image file storage processing unit 124 generates and stores an image for reference for showing information on the original layout of the first document and stores it as an image file, so that the user can use the image later. It is possible to support checking the original layout of the first document through the file.

이때, 본 발명의 일실시예에 따르면, 이미지 파일 저장 처리부(124)는 상기 이미지 생성 이벤트가 발생되면, 상기 문서 편집툴을 통해 화면 상에 표시되고 있는 상기 제1 문서의 현재 화면을 캡쳐하여 상기 이미지 파일로 추가 저장하되, 상기 이미지 파일이 상기 제1 문서의 원본 레이아웃에 대한 정보를 담고 있는 참고용 이미지 파일임을 지시하는 문구를 생성한 후 상기 제1 문서에 대한 파일명인 제1 파일명에 상기 문구를 연접한 파일명을 상기 이미지 파일의 파일명으로 설정할 수 있다.At this time, according to an embodiment of the present invention, when the image creation event occurs, the image file storage processing unit 124 captures the current screen of the first document displayed on the screen through the document editing tool and Additional storage as an image file, after generating a phrase indicating that the image file is an image file for reference containing information on the original layout of the first document, the phrase in the first file name that is the file name for the first document A file name concatenated with may be set as the file name of the image file.

예컨대, 상기 참고용 이미지 파일임을 지시하는 문구가 '참고 이미지'라고 하는 경우, 이미지 파일 저장 처리부(124)는 상기 문서 편집툴을 통해 화면 상에 표시되고 있는 상기 제1 문서의 현재 화면을 캡쳐하여 상기 이미지 파일로 추가 저장하되, 상기 이미지 파일이 상기 제1 문서의 원본 레이아웃에 대한 정보를 담고 있는 참고용 이미지 파일임을 지시하는 문구인 상기 '참고 이미지'라는 문구를 생성한 후, 상기 제1 파일명에 상기 '참고 이미지'라는 문구를 연접한 파일명을 상기 이미지 파일의 파일명으로 설정할 수 있다.For example, when the phrase indicating that the image file for reference is 'reference image', the image file storage processing unit 124 captures the current screen of the first document displayed on the screen through the document editing tool and The image file is additionally stored as the image file, but after generating the phrase 'reference image', which is a phrase indicating that the image file is an image file for reference containing information on the original layout of the first document, the first file name A file name concatenated with the phrase 'reference image' may be set as the file name of the image file.

관련해서, 상기 제1 파일명이 앞서 언급한 예에 따라 '학술대회발표문서'라고 하는 경우, 이미지 파일 저장 처리부(124)는 '학술대회발표문서'라는 상기 제1 파일명에 '참고 이미지'라는 문구를 연접함으로써, 상기 이미지 파일의 파일명을 '학술대회발표문서 참고 이미지'라는 파일명으로 설정할 수 있다.In relation to this, when the first file name is 'conference presentation document' according to the above-mentioned example, the image file storage processing unit 124 includes the phrase 'reference image' in the first file name of 'congress presentation document'. By concatenating , the file name of the image file can be set as a file name of 'conference presentation document reference image'.

이를 통해, 사용자는 상기 이미지 파일의 파일명을 보고, 상기 이미지 파일이 상기 제1 문서에 대한 원본 레이아웃을 확인할 수 있는 이미지임을 직관적으로 확인할 수 있다.Through this, the user can see the file name of the image file and intuitively confirm that the image file is an image from which the original layout of the first document can be checked.

따라서, 사용자는 추후 본 발명에 따른 문서 편집 장치(110)를 통해 생성된 상기 제1 문서에 대한 변환된 문서 파일을 실행시킬 때, 상기 이미지 파일도 함께 실행시켜, 상기 제1 문서가 화면 상에 표시될 때, 상기 화면 상에 함께 표시되는 이미지를 확인함으로써, 상기 제1 문서의 원본 레이아웃에 따라, 상기 화면 상에 표시되는 상기 제1 문서의 레이아웃을 조정할 수 있다.Therefore, when the user later executes the converted document file for the first document generated through the document editing apparatus 110 according to the present invention, the image file is also executed, so that the first document is displayed on the screen. When displayed, by checking the image displayed together on the screen, the layout of the first document displayed on the screen may be adjusted according to the original layout of the first document.

도 2은 본 발명의 일실시예에 따른 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치의 동작 방법을 도시한 순서도이다.2 is a flowchart illustrating a method of operating a document editing apparatus for automatically designating a storage file format for a document according to an embodiment of the present invention.

단계(S210)에서는 워드 파일 형식, 스프레드시트 파일 형식, 프레젠테이션 파일 형식 각각에 대응되는 사전 설정된 서로 다른 문서 메타 정보(상기 문서 메타 정보는 문서에 포함된 전체 글자 수에 대한 문서에 포함된 전체 표 개체 수의 비율인 제1 비율과 문서에 포함된 전체 글자 수에 대한 문서에 포함된 전체 이미지/도형 개체 수의 비율인 제2 비율로 구성된 정보를 의미함)가 저장되어 있는 저장부를 유지한다.In step S210, different preset document meta information corresponding to each of the word file format, the spreadsheet file format, and the presentation file format (the document meta information is the total table object included in the document for the total number of characters included in the document) a storage unit in which information composed of a first ratio, which is a ratio of numbers, and a second ratio, which is a ratio of the total number of image/figure objects included in the document to the total number of characters included in the document);

단계(S220)에서는 사용자로부터 문서 작성을 위한 사전 설정된 문서 편집툴의 실행 명령이 인가되면, 상기 문서 편집툴을 실행한 후 상기 사용자로부터 상기 문서 편집툴을 통해 작성된 제1 문서에 대한 저장 명령이 수신되면, 상기 제1 문서에 포함된 전체 글자 수, 전체 표 개체 수, 전체 이미지/도형 개체 수를 카운트한다.In step S220, when an execution command of a preset document editing tool for creating a document is received from the user, a save command for the first document created through the document editing tool is received from the user after executing the document editing tool , the total number of characters included in the first document, the total number of table objects, and the total number of image/figure objects are counted.

단계(S230)에서는 상기 제1 문서에 포함된 전체 글자 수, 전체 표 개체 수, 전체 이미지/도형 개체 수가 카운트되면, 상기 제1 문서에 포함된 전체 글자 수에 대한 상기 제1 문서에 포함된 전체 표 개체 수의 비율인 상기 제1 비율과 상기 제1 문서에 포함된 전체 글자 수에 대한 상기 제1 문서에 포함된 전체 이미지/도형 개체 수의 비율인 상기 제2 비율을 연산함으로써, 상기 제1 문서에 대한 제1 문서 메타 정보를 생성한다.In step S230, when the total number of characters included in the first document, the total number of table objects, and the total number of image/figure objects are counted, the total number of characters included in the first document is based on the total number of characters included in the first document. By calculating the first ratio, which is a ratio of the number of table objects, and the second ratio, which is a ratio of the total number of images/figures included in the first document to the total number of characters included in the first document, the first ratio is calculated. Generates first document meta information for a document.

단계(S240)에서는 상기 제1 문서 메타 정보가 생성되면, 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 문서 메타 정보를 상기 제1 문서 메타 정보와 비교하여, 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 중 상기 제1 문서 메타 정보와 가장 유사한 문서 메타 정보를 갖는 파일 형식을 상기 제1 문서에 대한 저장 파일 형식으로 결정한다.In step S240, when the first document meta information is generated, document meta information corresponding to each of the word file format, the spreadsheet file format, and the presentation file format is compared with the first document meta information, and the word A file format having document meta information most similar to the first document meta information among the file format, the spreadsheet file format, and the presentation file format is determined as the storage file format for the first document.

단계(S250)에서는 상기 제1 문서에 대한 저장 파일 형식이 결정되면, 상기 제1 문서를 상기 결정된 저장 파일 형식에 따른 문서 파일로 구성하여 저장한다.In step S250, when the storage file format for the first document is determined, the first document is configured as a document file according to the determined storage file format and stored.

이때, 본 발명의 일실시예에 따르면, 단계(S240)에서는 상기 제1 문서 메타 정보가 생성되면, 상기 저장부로부터 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 문서 메타 정보를 확인한 후 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 문서 메타 정보를 구성하는 상기 제1 비율과 상기 제2 비율을 성분으로 갖는 2차원의 벡터를 구성함으로써, 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 특성 벡터를 생성하는 단계, 상기 제1 문서 메타 정보를 구성하는 상기 제1 비율과 상기 제2 비율을 성분으로 갖는 2차원의 벡터를 구성함으로써, 상기 제1 문서에 대응되는 특성 벡터를 생성하는 단계, 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 특성 벡터와 상기 제1 문서에 대응되는 특성 벡터 간의 유클리드 거리를 연산하는 단계, 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 중 상기 제1 문서에 대응되는 특성 벡터와의 유클리드 거리가 최소로 연산된 특성 벡터를 갖는 파일 형식을 상기 제1 문서에 대한 저장 파일 형식으로 결정하는 단계를 더 포함할 수 있다.At this time, according to an embodiment of the present invention, when the first document meta information is generated in step S240, a document corresponding to each of the word file format, the spreadsheet file format, and the presentation file format from the storage unit After confirming the meta information, a two-dimensional vector having the first ratio and the second ratio constituting the document meta information corresponding to each of the word file format, the spreadsheet file format, and the presentation file format is constructed. , generating a feature vector corresponding to each of the word file format, the spreadsheet file format, and the presentation file format, wherein the first ratio and the second ratio constituting the first document meta information are 2 generating a feature vector corresponding to the first document by constructing a dimensional vector; a feature vector corresponding to each of the word file format, the spreadsheet file format, and the presentation file format and corresponding to the first document calculating a Euclidean distance between feature vectors, a file format having a feature vector in which the Euclidean distance to a feature vector corresponding to the first document among the word file format, the spreadsheet file format, and the presentation file format is calculated as a minimum The method may further include determining as a storage file format for the first document.

또한, 본 발명의 일실시예에 따르면, 단계(S250)에서는 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 사전 설정된 서로 다른 템플릿이 저장되어 있는 템플릿 저장부를 유지하는 단계, 상기 제1 문서에 대한 저장 파일 형식이 결정되면, 상기 템플릿 저장부로부터 상기 제1 문서에 대한 저장 파일 형식에 대응되는 템플릿을 추출하고, 상기 제1 문서에 포함된 콘텐츠를 상기 추출된 템플릿에 삽입하여 상기 제1 문서를 수정한 후 수정된 상기 제1 문서를 상기 결정된 저장 파일 형식에 따른 문서 파일로 구성하여 저장하는 단계를 더 포함할 수 있다.In addition, according to an embodiment of the present invention, in step S250, the step of maintaining a template storage unit in which preset different templates corresponding to each of the word file format, the spreadsheet file format, and the presentation file format are stored. , when the storage file format for the first document is determined, a template corresponding to the storage file format for the first document is extracted from the template storage unit, and contents included in the first document are stored in the extracted template. The method may further include inserting and modifying the first document, then configuring the modified first document as a document file according to the determined storage file format and storing the modified first document.

이때, 본 발명의 일실시예에 따르면, 상기 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치의 동작 방법은 상기 제1 문서가 상기 결정된 저장 파일 형식에 따른 문서 파일로 저장되면, 상기 제1 문서에 대응되는 특성 벡터의 유클리드 노름을 연산하는 단계, 상기 유클리드 노름이 연산되면, 상기 유클리드 노름이 사전 설정된 기준치를 초과하는지 여부를 확인하여 상기 유클리드 노름이 상기 기준치를 초과하는 경우, 상기 제1 문서의 원본 레이아웃에 대한 정보를 보여주기 위한 참고용 이미지의 생성을 지시하는 이미지 생성 이벤트를 발생시키는 단계, 상기 이미지 생성 이벤트가 발생되면, 상기 문서 편집툴을 통해 화면 상에 표시되고 있는 상기 제1 문서의 현재 화면을 캡쳐하여 이미지 파일로 추가 저장하는 단계를 더 포함할 수 있다.In this case, according to an embodiment of the present invention, in the method of operating a document editing apparatus for automatically designating a storage file format for the document, when the first document is stored as a document file according to the determined storage file format, the 1 calculating the Euclidean norm of the feature vector corresponding to the document. When the Euclidean norm is calculated, it is checked whether the Euclidean norm exceeds a preset reference value, and when the Euclidean norm exceeds the reference value, the first generating an image generation event instructing generation of an image for reference to show information on the original layout of the document; when the image generation event occurs, the first The method may further include capturing the current screen of the document and additionally storing it as an image file.

이때, 본 발명의 일실시예에 따르면, 단계(S250)에는 상기 제1 문서에 대한 저장 파일 형식이 결정되면, 상기 제1 문서에 대한 파일명을 지정할 것을 안내하는 안내메시지를 화면 상에 표시하고, 상기 사용자에 의해 상기 제1 문서의 파일명이 제1 파일명으로 지정되면, 상기 제1 문서를 상기 결정된 저장 파일 형식의 문서 파일로 구성하여 저장하되, 상기 문서 파일의 파일명을 상기 제1 파일명으로 설정하며, 상기 이미지 파일로 추가 저장하는 단계는 상기 이미지 생성 이벤트가 발생되면, 상기 문서 편집툴을 통해 화면 상에 표시되고 있는 상기 제1 문서의 현재 화면을 캡쳐하여 상기 이미지 파일로 추가 저장하되, 상기 이미지 파일이 상기 제1 문서의 원본 레이아웃에 대한 정보를 담고 있는 참고용 이미지 파일임을 지시하는 문구를 생성한 후 상기 제1 파일명에 상기 문구를 연접한 파일명을 상기 이미지 파일의 파일명으로 설정할 수 있다.At this time, according to an embodiment of the present invention, when the storage file format for the first document is determined in step S250, a guide message guiding to designate a file name for the first document is displayed on the screen, When the file name of the first document is designated by the user as the first file name, the first document is configured as a document file of the determined storage file format and stored, and the file name of the document file is set as the first file name, , In the step of additionally storing the image file, when the image creation event occurs, capturing the current screen of the first document displayed on the screen through the document editing tool and additionally storing the image file as the image file, After generating a phrase indicating that the file is an image file for reference containing information on the original layout of the first document, a file name concatenating the phrase with the first file name may be set as the file name of the image file.

이상, 도 2를 참조하여 본 발명의 일실시예에 따른 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치의 동작 방법에 대해 설명하였다. 여기서, 본 발명의 일실시예에 따른 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치의 동작 방법은 도 1을 이용하여 설명한 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치(110)의 동작에 대한 구성과 대응될 수 있으므로, 이에 대한 보다 상세한 설명은 생략하기로 한다.In the above, an operating method of a document editing apparatus for automatically designating a storage file format for a document according to an embodiment of the present invention has been described with reference to FIG. 2 . Here, the operating method of the document editing apparatus for automatically designating the storage file format for a document according to an embodiment of the present invention is the document editing apparatus 110 for automatically designating the storage file format for the document described with reference to FIG. 1 . ) may correspond to the configuration of the operation, and thus a more detailed description thereof will be omitted.

본 발명의 일실시예에 따른 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치의 동작 방법은 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램으로 구현될 수 있다.The method of operating a document editing apparatus for automatically designating a storage file format for a document according to an embodiment of the present invention may be implemented as a computer program stored in a storage medium for execution through combination with a computer.

또한, 본 발명의 일실시예에 따른 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치의 동작 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. In addition, the operating method of the document editing apparatus for automatically designating a storage file format for a document according to an embodiment of the present invention is implemented in the form of a program command that can be executed through various computer means to be recorded on a computer-readable medium. can The computer-readable medium may include program instructions, data files, data structures, etc. alone or in combination. The program instructions recorded on the medium may be specially designed and configured for the present invention, or may be known and available to those skilled in the art of computer software. Examples of the computer-readable recording medium include magnetic media such as hard disks, floppy disks and magnetic tapes, optical media such as CD-ROMs and DVDs, and magnetic such as floppy disks. - includes magneto-optical media, and hardware devices specially configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine language codes such as those generated by a compiler, but also high-level language codes that can be executed by a computer using an interpreter or the like.

이상과 같이 본 발명에서는 구체적인 구성 요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다.As described above, in the present invention, specific matters such as specific components, etc., and limited embodiments and drawings have been described, but these are only provided to help a more general understanding of the present invention, and the present invention is not limited to the above embodiments. , various modifications and variations are possible from these descriptions by those of ordinary skill in the art to which the present invention pertains.

따라서, 본 발명의 사상은 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등하거나 등가적 변형이 있는 모든 것들은 본 발명 사상의 범주에 속한다고 할 것이다.Therefore, the spirit of the present invention should not be limited to the described embodiments, and not only the claims described below, but also all those with equivalent or equivalent modifications to the claims will be said to belong to the scope of the spirit of the present invention. .

110: 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치
111: 저장부 112: 카운트부
113: 생성부 114: 결정부
115: 저장 처리부 116: 특성 벡터 생성부
117: 문서 특성 벡터 생성부 118: 거리 연산부
119: 파일 형식 결정부 120: 템플릿 저장부
121: 파일 저장 처리부 122: 노름 연산부
123: 이벤트 발생부 124: 이미지 파일 저장 처리부
110: A document editing device that automatically specifies a saved file format for a document
111: storage unit 112: count unit
113: generating unit 114: determining unit
115: storage processing unit 116: feature vector generation unit
117: document characteristic vector generating unit 118: distance calculating unit
119: file format determination unit 120: template storage unit
121: file storage processing unit 122: gambling operation unit
123: event generating unit 124: image file storage processing unit

Claims (12)

문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치에 있어서,
워드 파일 형식, 스프레드시트 파일 형식, 프레젠테이션 파일 형식 각각에 대응되는 사전 설정된 서로 다른 문서 메타 정보 - 상기 문서 메타 정보는 문서에 포함된 전체 글자 수에 대한 문서에 포함된 전체 표 개체 수의 비율인 제1 비율과 문서에 포함된 전체 글자 수에 대한 문서에 포함된 전체 이미지/도형 개체 수의 비율인 제2 비율로 구성된 정보를 의미함 - 가 저장되어 있는 저장부;
사용자로부터 문서 작성을 위한 사전 설정된 문서 편집툴의 실행 명령이 인가되면, 상기 문서 편집툴을 실행한 후 상기 사용자로부터 상기 문서 편집툴을 통해 작성된 제1 문서에 대한 저장 명령이 수신되면, 상기 제1 문서에 포함된 전체 글자 수, 전체 표 개체 수, 전체 이미지/도형 개체 수를 카운트하는 카운트부;
상기 제1 문서에 포함된 전체 글자 수, 전체 표 개체 수, 전체 이미지/도형 개체 수가 카운트되면, 상기 제1 문서에 포함된 전체 글자 수에 대한 상기 제1 문서에 포함된 전체 표 개체 수의 비율인 상기 제1 비율과 상기 제1 문서에 포함된 전체 글자 수에 대한 상기 제1 문서에 포함된 전체 이미지/도형 개체 수의 비율인 상기 제2 비율을 연산함으로써, 상기 제1 문서에 대한 제1 문서 메타 정보를 생성하는 생성부;
상기 제1 문서 메타 정보가 생성되면, 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 문서 메타 정보를 상기 제1 문서 메타 정보와 비교하여, 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 중 상기 제1 문서 메타 정보와 가장 유사한 문서 메타 정보를 갖는 파일 형식을 상기 제1 문서에 대한 저장 파일 형식으로 결정하는 결정부; 및
상기 제1 문서에 대한 저장 파일 형식이 결정되면, 상기 제1 문서를 상기 결정된 저장 파일 형식에 따른 문서 파일로 구성하여 저장하는 저장 처리부
를 포함하는 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치.
A document editing device for automatically designating a storage file format for a document, the document editing device comprising:
Preset different document meta information corresponding to each of the word file format, the spreadsheet file format, and the presentation file format - The document meta information is the ratio of the total number of table objects included in the document to the total number of characters included in the document. 1 means information composed of a ratio and a second ratio, which is the ratio of the total number of image/figure objects included in the document to the total number of characters included in the document;
When an execution command of a preset document editing tool for creating a document is applied from the user, the document editing tool is executed and then when a save command for the first document created through the document editing tool is received from the user, the first a count unit for counting the total number of characters included in the document, the total number of table objects, and the total number of image/figure objects;
When the total number of characters included in the first document, the total number of table objects, and the total number of image/figure objects are counted, the ratio of the total number of table objects included in the first document to the total number of characters included in the first document By calculating the first ratio and the second ratio, which is the ratio of the total number of images/figures included in the first document to the total number of characters included in the first document, a generator generating document meta information;
When the first document meta information is generated, document meta information corresponding to each of the word file format, the spreadsheet file format, and the presentation file format is compared with the first document meta information, and the word file format and the spread a determining unit configured to determine a file format having document meta information most similar to the first document meta information among sheet file formats and presentation file formats as a storage file format for the first document; and
When the storage file format for the first document is determined, the storage processing unit configures and stores the first document as a document file according to the determined storage file format.
A document editing device that automatically specifies the save file format for documents containing .
제1항에 있어서,
상기 결정부는
상기 제1 문서 메타 정보가 생성되면, 상기 저장부로부터 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 문서 메타 정보를 확인한 후 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 문서 메타 정보를 구성하는 상기 제1 비율과 상기 제2 비율을 성분으로 갖는 2차원의 벡터를 구성함으로써, 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 특성 벡터를 생성하는 특성 벡터 생성부;
상기 제1 문서 메타 정보를 구성하는 상기 제1 비율과 상기 제2 비율을 성분으로 갖는 2차원의 벡터를 구성함으로써, 상기 제1 문서에 대응되는 특성 벡터를 생성하는 문서 특성 벡터 생성부;
상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 특성 벡터와 상기 제1 문서에 대응되는 특성 벡터 간의 유클리드 거리(Euclidean distance)를 연산하는 거리 연산부; 및
상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 중 상기 제1 문서에 대응되는 특성 벡터와의 유클리드 거리가 최소로 연산된 특성 벡터를 갖는 파일 형식을 상기 제1 문서에 대한 저장 파일 형식으로 결정하는 파일 형식 결정부
를 더 포함하는 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치.
According to claim 1,
The decision part
When the first document meta information is generated, after checking document meta information corresponding to each of the word file format, the spreadsheet file format, and the presentation file format from the storage unit, the word file format, the spreadsheet file format, The word file format, the spreadsheet file format, and the presentation file format by constructing a two-dimensional vector having the first ratio and the second ratio constituting the document meta information corresponding to each of the presentation file formats as components a feature vector generator that generates a feature vector corresponding to each;
a document characteristic vector generator configured to generate a characteristic vector corresponding to the first document by constructing a two-dimensional vector having the first ratio and the second ratio constituting the first document meta information as components;
a distance calculator for calculating a Euclidean distance between a feature vector corresponding to each of the word file format, the spreadsheet file format, and the presentation file format and a feature vector corresponding to the first document; and
Among the word file format, the spreadsheet file format, and the presentation file format, a file format having a feature vector in which a Euclidean distance to a feature vector corresponding to the first document is calculated as a minimum is a storage file format for the first document The file format decision unit that is determined by
A document editing device that automatically specifies a save file format for documents that further contain
제1항에 있어서,
상기 저장 처리부는
상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 사전 설정된 서로 다른 템플릿이 저장되어 있는 템플릿 저장부; 및
상기 제1 문서에 대한 저장 파일 형식이 결정되면, 상기 템플릿 저장부로부터 상기 제1 문서에 대한 저장 파일 형식에 대응되는 템플릿을 추출하고, 상기 제1 문서에 포함된 콘텐츠를 상기 추출된 템플릿에 삽입하여 상기 제1 문서를 수정한 후 수정된 상기 제1 문서를 상기 결정된 저장 파일 형식에 따른 문서 파일로 구성하여 저장하는 파일 저장 처리부
를 포함하는 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치.
According to claim 1,
The storage processing unit
a template storage unit storing preset different templates corresponding to each of the word file format, the spreadsheet file format, and the presentation file format; and
When the storage file format for the first document is determined, a template corresponding to the storage file format for the first document is extracted from the template storage unit, and content included in the first document is inserted into the extracted template a file storage processing unit for modifying the first document and then storing the modified first document as a document file according to the determined storage file format
A document editing device that automatically specifies the save file format for documents containing .
제2항에 있어서,
상기 제1 문서가 상기 결정된 저장 파일 형식에 따른 문서 파일로 저장되면, 상기 제1 문서에 대응되는 특성 벡터의 유클리드 노름(Euclidean norm)을 연산하는 노름 연산부;
상기 유클리드 노름이 연산되면, 상기 유클리드 노름이 사전 설정된 기준치를 초과하는지 여부를 확인하여 상기 유클리드 노름이 상기 기준치를 초과하는 경우, 상기 제1 문서의 원본 레이아웃에 대한 정보를 보여주기 위한 참고용 이미지의 생성을 지시하는 이미지 생성 이벤트를 발생시키는 이벤트 발생부; 및
상기 이미지 생성 이벤트가 발생되면, 상기 문서 편집툴을 통해 화면 상에 표시되고 있는 상기 제1 문서의 현재 화면을 캡쳐하여 이미지 파일로 추가 저장하는 이미지 파일 저장 처리부
를 더 포함하는 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치.
3. The method of claim 2,
a norm operator configured to calculate a Euclidean norm of a feature vector corresponding to the first document when the first document is stored as a document file according to the determined storage file format;
When the Euclidean norm is calculated, it is checked whether the Euclidean norm exceeds a preset reference value, and when the Euclidean norm exceeds the reference value, the reference image for showing information about the original layout of the first document an event generating unit generating an image generation event instructing generation; and
When the image creation event occurs, an image file storage processing unit that captures the current screen of the first document displayed on the screen through the document editing tool and additionally stores it as an image file
A document editing device that automatically specifies a save file format for documents that further contain
제4항에 있어서,
상기 저장 처리부는
상기 제1 문서에 대한 저장 파일 형식이 결정되면, 상기 제1 문서에 대한 파일명을 지정할 것을 안내하는 안내메시지를 화면 상에 표시하고, 상기 사용자에 의해 상기 제1 문서의 파일명이 제1 파일명으로 지정되면, 상기 제1 문서를 상기 결정된 저장 파일 형식의 문서 파일로 구성하여 저장하되, 상기 문서 파일의 파일명을 상기 제1 파일명으로 설정하며,
상기 이미지 파일 저장 처리부는
상기 이미지 생성 이벤트가 발생되면, 상기 문서 편집툴을 통해 화면 상에 표시되고 있는 상기 제1 문서의 현재 화면을 캡쳐하여 상기 이미지 파일로 추가 저장하되, 상기 이미지 파일이 상기 제1 문서의 원본 레이아웃에 대한 정보를 담고 있는 참고용 이미지 파일임을 지시하는 문구를 생성한 후 상기 제1 파일명에 상기 문구를 연접한 파일명을 상기 이미지 파일의 파일명으로 설정하는 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치.
5. The method of claim 4,
The storage processing unit
When the storage file format for the first document is determined, a guide message guiding to designate a file name for the first document is displayed on the screen, and the file name of the first document is designated as the first file name by the user When the first document is configured as a document file of the determined storage file format and stored, the file name of the document file is set as the first file name,
The image file storage processing unit
When the image creation event occurs, the current screen of the first document displayed on the screen through the document editing tool is captured and additionally stored as the image file, wherein the image file is stored in the original layout of the first document Editing a document to automatically designate a storage file format for a document that generates a phrase indicating that it is an image file for reference containing information about the first file name and sets the file name concatenating the phrase to the first file name as the file name of the image file Device.
문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치의 동작 방법에 있어서,
워드 파일 형식, 스프레드시트 파일 형식, 프레젠테이션 파일 형식 각각에 대응되는 사전 설정된 서로 다른 문서 메타 정보 - 상기 문서 메타 정보는 문서에 포함된 전체 글자 수에 대한 문서에 포함된 전체 표 개체 수의 비율인 제1 비율과 문서에 포함된 전체 글자 수에 대한 문서에 포함된 전체 이미지/도형 개체 수의 비율인 제2 비율로 구성된 정보를 의미함 - 가 저장되어 있는 저장부를 유지하는 단계;
사용자로부터 문서 작성을 위한 사전 설정된 문서 편집툴의 실행 명령이 인가되면, 상기 문서 편집툴을 실행한 후 상기 사용자로부터 상기 문서 편집툴을 통해 작성된 제1 문서에 대한 저장 명령이 수신되면, 상기 제1 문서에 포함된 전체 글자 수, 전체 표 개체 수, 전체 이미지/도형 개체 수를 카운트하는 단계;
상기 제1 문서에 포함된 전체 글자 수, 전체 표 개체 수, 전체 이미지/도형 개체 수가 카운트되면, 상기 제1 문서에 포함된 전체 글자 수에 대한 상기 제1 문서에 포함된 전체 표 개체 수의 비율인 상기 제1 비율과 상기 제1 문서에 포함된 전체 글자 수에 대한 상기 제1 문서에 포함된 전체 이미지/도형 개체 수의 비율인 상기 제2 비율을 연산함으로써, 상기 제1 문서에 대한 제1 문서 메타 정보를 생성하는 단계;
상기 제1 문서 메타 정보가 생성되면, 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 문서 메타 정보를 상기 제1 문서 메타 정보와 비교하여, 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 중 상기 제1 문서 메타 정보와 가장 유사한 문서 메타 정보를 갖는 파일 형식을 상기 제1 문서에 대한 저장 파일 형식으로 결정하는 단계; 및
상기 제1 문서에 대한 저장 파일 형식이 결정되면, 상기 제1 문서를 상기 결정된 저장 파일 형식에 따른 문서 파일로 구성하여 저장하는 단계
를 포함하는 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치의 동작 방법.
A method of operating a document editing device for automatically designating a storage file format for a document, the method comprising:
Preset different document meta information corresponding to each of the word file format, the spreadsheet file format, and the presentation file format - The document meta information is the ratio of the total number of table objects included in the document to the total number of characters included in the document. 1 means information composed of a ratio and a second ratio, which is a ratio of the total number of image/figure objects included in the document to the total number of characters included in the document;
When an execution command of a preset document editing tool for creating a document is applied from the user, the document editing tool is executed and then when a save command for the first document created through the document editing tool is received from the user, the first counting the total number of characters, the total number of table objects, and the total number of image/figure objects included in the document;
When the total number of characters included in the first document, the total number of table objects, and the total number of image/figure objects are counted, the ratio of the total number of table objects included in the first document to the total number of characters included in the first document By calculating the first ratio and the second ratio, which is the ratio of the total number of images/figures included in the first document to the total number of characters included in the first document, generating document meta information;
When the first document meta information is generated, document meta information corresponding to each of the word file format, the spreadsheet file format, and the presentation file format is compared with the first document meta information, and the word file format and the spread determining, among sheet file formats and presentation file formats, a file format having document meta information most similar to the first document meta information as a storage file format for the first document; and
When the storage file format for the first document is determined, configuring the first document as a document file according to the determined storage file format and storing the first document
A method of operation of a document editing device that automatically specifies a saved file format for a document containing
제6항에 있어서,
상기 결정하는 단계는
상기 제1 문서 메타 정보가 생성되면, 상기 저장부로부터 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 문서 메타 정보를 확인한 후 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 문서 메타 정보를 구성하는 상기 제1 비율과 상기 제2 비율을 성분으로 갖는 2차원의 벡터를 구성함으로써, 상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 특성 벡터를 생성하는 단계;
상기 제1 문서 메타 정보를 구성하는 상기 제1 비율과 상기 제2 비율을 성분으로 갖는 2차원의 벡터를 구성함으로써, 상기 제1 문서에 대응되는 특성 벡터를 생성하는 단계;
상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 특성 벡터와 상기 제1 문서에 대응되는 특성 벡터 간의 유클리드 거리(Euclidean distance)를 연산하는 단계; 및
상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 중 상기 제1 문서에 대응되는 특성 벡터와의 유클리드 거리가 최소로 연산된 특성 벡터를 갖는 파일 형식을 상기 제1 문서에 대한 저장 파일 형식으로 결정하는 단계
를 더 포함하는 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치의 동작 방법.
7. The method of claim 6,
The determining step is
When the first document meta information is generated, after checking document meta information corresponding to each of the word file format, the spreadsheet file format, and the presentation file format from the storage unit, the word file format, the spreadsheet file format, The word file format, the spreadsheet file format, and the presentation file format by constructing a two-dimensional vector having the first ratio and the second ratio constituting the document meta information corresponding to each of the presentation file formats as components generating a feature vector corresponding to each;
generating a feature vector corresponding to the first document by constructing a two-dimensional vector having the first ratio and the second ratio constituting the first document meta information as components;
calculating a Euclidean distance between a feature vector corresponding to each of the word file format, the spreadsheet file format, and the presentation file format and a feature vector corresponding to the first document; and
Among the word file format, the spreadsheet file format, and the presentation file format, a file format having a feature vector in which a Euclidean distance to a feature vector corresponding to the first document is calculated as a minimum is a storage file format for the first document step to decide
A method of operation of a document editing device that automatically specifies a saved file format for a document further comprising a.
제6항에 있어서,
상기 문서 파일로 구성하여 저장하는 단계는
상기 워드 파일 형식, 상기 스프레드시트 파일 형식, 상기 프레젠테이션 파일 형식 각각에 대응되는 사전 설정된 서로 다른 템플릿이 저장되어 있는 템플릿 저장부를 유지하는 단계; 및
상기 제1 문서에 대한 저장 파일 형식이 결정되면, 상기 템플릿 저장부로부터 상기 제1 문서에 대한 저장 파일 형식에 대응되는 템플릿을 추출하고, 상기 제1 문서에 포함된 콘텐츠를 상기 추출된 템플릿에 삽입하여 상기 제1 문서를 수정한 후 수정된 상기 제1 문서를 상기 결정된 저장 파일 형식에 따른 문서 파일로 구성하여 저장하는 단계
를 포함하는 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치의 동작 방법.
7. The method of claim 6,
The step of composing and saving the document file is
maintaining a template storage unit in which preset different templates corresponding to each of the word file format, the spreadsheet file format, and the presentation file format are stored; and
When the storage file format for the first document is determined, a template corresponding to the storage file format for the first document is extracted from the template storage unit, and content included in the first document is inserted into the extracted template to modify the first document and then configure and store the modified first document as a document file according to the determined storage file format;
A method of operation of a document editing device that automatically specifies a saved file format for a document containing
제7항에 있어서,
상기 제1 문서가 상기 결정된 저장 파일 형식에 따른 문서 파일로 저장되면, 상기 제1 문서에 대응되는 특성 벡터의 유클리드 노름(Euclidean norm)을 연산하는 단계;
상기 유클리드 노름이 연산되면, 상기 유클리드 노름이 사전 설정된 기준치를 초과하는지 여부를 확인하여 상기 유클리드 노름이 상기 기준치를 초과하는 경우, 상기 제1 문서의 원본 레이아웃에 대한 정보를 보여주기 위한 참고용 이미지의 생성을 지시하는 이미지 생성 이벤트를 발생시키는 단계; 및
상기 이미지 생성 이벤트가 발생되면, 상기 문서 편집툴을 통해 화면 상에 표시되고 있는 상기 제1 문서의 현재 화면을 캡쳐하여 이미지 파일로 추가 저장하는 단계
를 더 포함하는 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치의 동작 방법.
8. The method of claim 7,
calculating a Euclidean norm of a feature vector corresponding to the first document when the first document is stored as a document file according to the determined storage file format;
When the Euclidean norm is calculated, it is checked whether the Euclidean norm exceeds a preset reference value, and when the Euclidean norm exceeds the reference value, the reference image for showing information about the original layout of the first document generating an image generation event indicative of generation; and
When the image creation event occurs, capturing the current screen of the first document displayed on the screen through the document editing tool and additionally storing the image file
A method of operation of a document editing device that automatically specifies a saved file format for a document further comprising a.
제9항에 있어서,
상기 문서 파일로 구성하여 저장하는 단계는
상기 제1 문서에 대한 저장 파일 형식이 결정되면, 상기 제1 문서에 대한 파일명을 지정할 것을 안내하는 안내메시지를 화면 상에 표시하고, 상기 사용자에 의해 상기 제1 문서의 파일명이 제1 파일명으로 지정되면, 상기 제1 문서를 상기 결정된 저장 파일 형식의 문서 파일로 구성하여 저장하되, 상기 문서 파일의 파일명을 상기 제1 파일명으로 설정하며,
상기 이미지 파일로 추가 저장하는 단계는
상기 이미지 생성 이벤트가 발생되면, 상기 문서 편집툴을 통해 화면 상에 표시되고 있는 상기 제1 문서의 현재 화면을 캡쳐하여 상기 이미지 파일로 추가 저장하되, 상기 이미지 파일이 상기 제1 문서의 원본 레이아웃에 대한 정보를 담고 있는 참고용 이미지 파일임을 지시하는 문구를 생성한 후 상기 제1 파일명에 상기 문구를 연접한 파일명을 상기 이미지 파일의 파일명으로 설정하는 문서에 대한 저장 파일 형식을 자동으로 지정하는 문서 편집 장치의 동작 방법.
10. The method of claim 9,
The step of composing and saving the document file is
When the storage file format for the first document is determined, a guide message guiding to designate a file name for the first document is displayed on the screen, and the file name of the first document is designated as the first file name by the user When the first document is configured as a document file of the determined storage file format and stored, the file name of the document file is set as the first file name,
The step of additionally saving the image file is
When the image creation event occurs, the current screen of the first document displayed on the screen through the document editing tool is captured and additionally stored as the image file, wherein the image file is stored in the original layout of the first document Editing a document to automatically designate a storage file format for a document that generates a phrase indicating that it is an image file for reference containing information about the first file name and sets the file name concatenating the phrase to the first file name as the file name of the image file How the device works.
제6항 내지 제10항 중 어느 한 항의 방법을 컴퓨터와의 결합을 통해 실행시키기 위한 컴퓨터 프로그램을 기록한 컴퓨터 판독 가능 기록 매체.A computer-readable recording medium recording a computer program for executing the method of any one of claims 6 to 10 through combination with a computer. 제6항 내지 제10항 중 어느 한 항의 방법을 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램.A computer program stored in a storage medium for executing the method of any one of claims 6 to 10 through combination with a computer.
KR1020200131807A 2020-10-13 2020-10-13 Document editing apparatus that automatically specifies the storage file format for documents and the operating method thereof KR102442510B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200131807A KR102442510B1 (en) 2020-10-13 2020-10-13 Document editing apparatus that automatically specifies the storage file format for documents and the operating method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200131807A KR102442510B1 (en) 2020-10-13 2020-10-13 Document editing apparatus that automatically specifies the storage file format for documents and the operating method thereof

Publications (2)

Publication Number Publication Date
KR20220048663A KR20220048663A (en) 2022-04-20
KR102442510B1 true KR102442510B1 (en) 2022-09-13

Family

ID=81399718

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200131807A KR102442510B1 (en) 2020-10-13 2020-10-13 Document editing apparatus that automatically specifies the storage file format for documents and the operating method thereof

Country Status (1)

Country Link
KR (1) KR102442510B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002328795A (en) 2001-05-01 2002-11-15 Jekku:Kk System for preparing common format data for printing in a batch and recording medium
JP2003308327A (en) 2002-04-12 2003-10-31 Mitsubishi Electric Corp System and method for determining classification of structured document

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0452966A (en) * 1990-06-20 1992-02-20 Nec Corp Document data editing system
KR100709379B1 (en) * 2004-12-30 2007-04-20 주식회사 엔리치텍 Making method for documents having the form appling the analyzed Meta-file
US8443278B2 (en) * 2009-01-02 2013-05-14 Apple Inc. Identification of tables in an unstructured document

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002328795A (en) 2001-05-01 2002-11-15 Jekku:Kk System for preparing common format data for printing in a batch and recording medium
JP2003308327A (en) 2002-04-12 2003-10-31 Mitsubishi Electric Corp System and method for determining classification of structured document

Also Published As

Publication number Publication date
KR20220048663A (en) 2022-04-20

Similar Documents

Publication Publication Date Title
JP2005536783A (en) Section extraction tool for pdf documents
KR102187550B1 (en) Electronic device that can generate a summary preview of an ole object inserted into a document and operating method thereof
KR102442510B1 (en) Document editing apparatus that automatically specifies the storage file format for documents and the operating method thereof
KR102144351B1 (en) Electronic terminal device supporting easy undo processing of electronic document and operating method thereof
CN109933766B (en) File generation method, device and storage medium
KR102328051B1 (en) Document editing device that enables display of a document to which a font in unsupported data format is applied and operating method thereof
KR102300444B1 (en) Document editing device to check whether the font applied to the document is a supported font and operating method thereof
KR102300437B1 (en) Electronic document editing apparatus that enables the insertion of special characters at specific locations on the electronic document based on the entered characters and operating method thereof
KR102375507B1 (en) Electronic device that supports retrieval of objects from document by matching objects and keywords inserted into document and operating method thereof
CN113378526A (en) PDF paragraph processing method, device, storage medium and equipment
US20150089335A1 (en) Smart processing of an electronic document
KR102466706B1 (en) Electronic device that enables easy selection of dependent edit action in document editing programs and operating method thereof
KR102300486B1 (en) Electronic terminal device that support easy subscript entry for mathematical operators in electronic documents and operating method thereof
KR102243919B1 (en) Electronic device capable of generating a summary image through merging of objects inserted in an electronic document and operating method thereof
KR102466714B1 (en) Electronic device that provides improved object insertion into electronic document through object box and operating method thereof
KR102566908B1 (en) Electronic terminal device for generating object guide frame on the page of a presentation document, and the opreating method thereof
KR102500730B1 (en) Electronic apparatus that provides a translation function that maintains the style information of the sentence and operating method thereof
KR102466711B1 (en) Spreadsheet document editing apparatus capable of displaying adjustment controls that match the data notation format of the input data and operating method thereof
KR102507482B1 (en) Electronic apparatus which is able to convert the format of annotations inserted into a pdf document fast to the format editable by the application editing tools and then load the annotations, and the operating method thereof
KR102545260B1 (en) Electronic terminal apparatus that supports application of natural substitute fonts when loading electronic documents with unsupported fonts applied and operating method thereof
KR102566934B1 (en) Electronic apparatus that performs parallel processing-based document format conversion and operating method thereof
KR102545262B1 (en) Electronic terminal apparatus for providing information of the associated documents which are associated with the particular document based on simultaneous usage criteria and operating method thereof
KR102581936B1 (en) Method and system for creating web document by applying drag-and-drop input type
KR102266073B1 (en) Electronic device that controls the efficient loading of each sheet that makes up a spreadsheet document based on a multi-thread and operating method thereof
KR102507487B1 (en) Electronic apparatus which generates the dedicated document file for supporting fast editing of the pages comprising of a document, and the operating method thereof

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant