KR20190135700A - Apparatus for protecting contents of spread sheet type electric document and operating method thereof - Google Patents

Apparatus for protecting contents of spread sheet type electric document and operating method thereof Download PDF

Info

Publication number
KR20190135700A
KR20190135700A KR1020180061043A KR20180061043A KR20190135700A KR 20190135700 A KR20190135700 A KR 20190135700A KR 1020180061043 A KR1020180061043 A KR 1020180061043A KR 20180061043 A KR20180061043 A KR 20180061043A KR 20190135700 A KR20190135700 A KR 20190135700A
Authority
KR
South Korea
Prior art keywords
data
cells
concatenated
reference cells
electronic document
Prior art date
Application number
KR1020180061043A
Other languages
Korean (ko)
Other versions
KR102119726B1 (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 KR1020180061043A priority Critical patent/KR102119726B1/en
Publication of KR20190135700A publication Critical patent/KR20190135700A/en
Application granted granted Critical
Publication of KR102119726B1 publication Critical patent/KR102119726B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • G06F17/246
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6209Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself

Abstract

According to the present invention, provided are an object protecting apparatus of a spread sheet electronic document and an operating method thereof. When an object protection request is input by a plurality of cells selected by an input device of a user among a plurality of cells of a spread sheet electronic document, first concatenation data is generated by concatenating the object of the plurality of selected cells based on location information of the plurality of selected cells, and a private key of the user is used and encrypted to generate encryption data to be stored, after the first concatenation data is hash-encrypted, so that the object for the plurality of cells selected by the input device of the user may be protected and the user can freely edit other cells.

Description

스프레드시트 전자 문서의 개체 보호 장치 및 이의 동작 방법{APPARATUS FOR PROTECTING CONTENTS OF SPREAD SHEET TYPE ELECTRIC DOCUMENT AND OPERATING METHOD THEREOF}FIELD OF PROTECTING CONTENTS OF SPREAD SHEET TYPE ELECTRIC DOCUMENT AND OPERATING METHOD THEREOF

본 발명은 스프레드시트 전자 문서의 개체 보호 장치 및 이의 동작 방법에 대한 것이다.The present invention relates to a device for protecting a spreadsheet electronic document and a method of operating the same.

전자문서는 전자적인 형태로 작성된 정보가 모여 만들어진 단위 정보체로서 흔히 파일단위로 생성, 유통된다. 뿐만 아니라, 문자로만 구성된 텍스트 문서뿐만 아니라 그림, 음악, 동영상 같은 디지털 컨텐츠도 넓게는 전자문서에 속한다. 종이문서와는 달리 전자문서는 정보를 안전하게 보관해 문서 라이프사이클(생성, 활용, 보관, 폐기)을 획기적으로 늘릴 수 있는 것에 특징이 있는바, 전자문서는 종이 문서에 비하여 편집이 용이하고 문서의 배포가 용이하여 다수의 작성자에 의해 공동으로 작업하는데 유리하다는 장점이 있다.Electronic documents are unit information bodies that are made up of electronically written information, and are often created and distributed in file units. In addition, digital content, such as pictures, music, and videos, as well as text documents consisting solely of letters, is broadly an electronic document. Unlike paper documents, electronic documents are characterized by the ability to securely store information and greatly increase the document lifecycle (creation, utilization, storage, and disposal). Electronic documents are easier to edit than paper documents. The advantage of being easy to distribute is that it is advantageous to work collaboratively by multiple authors.

하지만 종이 문서에 비하여 전자문서는 수정된 경우 원본과 수정본의 차이를 확인하기 어렵고, 물리적인 실체를 가지지 않는다. 따라서 용이하게 복제될 수 있고, 복제본에 대해 수정된 후 다시 배포될 수 있다는 보안상의 문제점을 갖고 있다.However, compared to paper documents, when an electronic document is modified, it is difficult to identify the difference between the original and the modified version, and does not have a physical substance. Therefore, there is a security problem that can be easily replicated, and can be modified and redistributed for the replica.

따라서, 이러한 보안상의 문제점을 해결하기 위해 전자문서의 경우 다양한 암호화 기술이 소개되었다. 하지만 암호화 기술의 적용에도 불구하고 암호를 습득하는 경우 전자문서에 대한 접근이 가능하다는 점에서 전자문서의 보안을 확실하게 보장할 수는 없다.Therefore, in order to solve this security problem, various encryption technologies have been introduced in the case of electronic documents. However, despite the application of encryption technology, the security of the electronic document cannot be reliably guaranteed since the access to the electronic document can be obtained when a password is acquired.

특히, 전자문서가 복수의 작성자에 의해 작성되어 복수의 작성자 각각이 전자문서를 소유하는 경우 전체 작성자의 동의 없이 전자문서가 편집되거나 배포될 위험이 있다. 이러한 위험을 해결하고자 복수의 암호를 설정하여 복수의 암호가 모두 일치하는 경우에 한하여 문서를 열람 및 편집할 수 있는 기술이 있으나, 해킹에 의해 암호가 풀릴 가능성은 여전히 존재하였다.In particular, when an electronic document is created by a plurality of authors and each of the plurality of authors owns the electronic document, there is a risk that the electronic document is edited or distributed without the consent of the entire author. In order to solve this risk, there is a technology that allows a user to view and edit a document only when a plurality of passwords are set and all passwords match, but there is still a possibility that the password can be solved by hacking.

또한, 작성이 완료되기 전에 전자문서에 복수의 암호를 설정하는 경우, 해당 전자문서를 편집하는 사용자는 암호를 해제한 후 전자문서를 편집하여야 하는 이용상의 불편함이 존재한다. 또한, 설정된 암호의 비밀번호를 공동 편집자들 간에 공유하여야 하는 이용상의 불편함이 존재한다.In addition, when a plurality of passwords are set in the electronic document before the writing is completed, there is a inconvenience in that the user who edits the electronic document has to release the password and edit the electronic document. In addition, there is an inconvenience in using the password of the set password must be shared among co-editors.

따라서, 전자문서에 대한 편집을 용이하게 하면서도 원하는 개체에 대한 수정, 변경, 삭제를 보호할 수 있는 기술에 대한 요구가 꾸준히 존재 하였다.Therefore, there has been a continuous demand for a technology that can facilitate the editing of electronic documents while protecting the modification, modification, and deletion of desired objects.

본 발명에 따른 스프레드시트 전자 문서의 개체 보호 장치 및 이의 동작 방법은 스프레드시트 전자 문서의 다수의 셀들 중 사용자의 입력 장치에 의해 선택된 다수의 셀들에 대해 개체 보호 요청이 입력되면, 상기 선택된 다수의 셀들의 개체를 상기 선택된 다수의 셀들의 위치 정보에 기초하여 결정되는 연접 순서에 따라 연접하여 제1 연접 데이터를 생성하고, 상기 제1 연접 데이터를 해시 암호화한 후 상기 사용자의 개인키를 이용하여 암호화하여 암호화 데이터를 생성한 후 저장함으로써, 사용자의 입력 장치에 의해 선택된 다수의 셀들에 대해서 개체를 보호할 수 있으며, 사용자는 그 이외의 셀들에 대해서 자유롭게 편집할 수 있게 지원하고자 한다.The apparatus for protecting an object of a spreadsheet electronic document and a method of operating the same according to the present invention, when the object protection request is input to a plurality of cells selected by a user input device among a plurality of cells of a spreadsheet electronic document, the selected plurality of cells Concatenates an entity of the plurality of cells in a concatenated order determined based on location information of the selected plurality of cells, generates first concatenated data, hash-encrypts the first concatenated data, and then encrypts it using the user's private key. By generating and storing encrypted data, the object can be protected for a plurality of cells selected by the user's input device, and the user wishes to support editing freely for other cells.

본 발명의 일실시예에 따른 스프레드시트 전자 문서의 개체 보호 장치는 스프레드시트 전자 문서의 다수의 셀들 중 사용자의 입력 장치에 의해 선택된 다수의 셀들에 대해 개체 보호 요청이 입력되면, 상기 선택된 다수의 셀들의 개체를 상기 선택된 다수의 셀들의 위치 정보에 기초하여 결정되는 연접 순서에 따라 연접하여 제1 연접 데이터를 생성하고, 상기 제1 연접 데이터를 해시 암호화한 후 상기 사용자의 개인키를 이용하여 암호화하여 암호화 데이터를 생성하는 암호화부, 상기 선택된 다수의 셀들의 위치 정보를 상기 연접 순서에 따라 연접하여 셀 위치 데이터를 생성하는 셀 위치 데이터 생성부 및 상기 암호화 데이터 및 상기 셀 위치 데이터를 연접하여 상기 스프레드시트 전자 문서의 메타 데이터 영역에 기록하는 메타 데이터 기록부를 포함한다.According to an embodiment of the present invention, when the object protection request is input to a plurality of cells selected by a user's input device among a plurality of cells of a spreadsheet electronic document, an object protection request is inputted. Concatenates an entity of the plurality of cells in a concatenated order determined based on location information of the selected plurality of cells, generates first concatenated data, hash-encrypts the first concatenated data, and then encrypts it using the user's private key. An encryption unit for generating encrypted data, a cell position data generation unit for generating cell position data by concatenating position information of the selected plurality of cells in the concatenated order, and concatenating the encrypted data and the cell position data to the spreadsheet Includes a metadata recorder for recording in the metadata area of the electronic document The.

또한, 본 발명의 일실시예에 따른 스프레드시트 전자 문서의 개체 보호 장치의 동작 방법은 스프레드시트 전자 문서의 다수의 셀들 중 사용자의 입력 장치에 의해 선택된 다수의 셀들에 대해 개체 보호 요청이 입력되면, 상기 선택된 다수의 셀들의 개체를 상기 선택된 다수의 셀들의 위치 정보에 기초하여 결정되는 연접 순서에 따라 연접하여 제1 연접 데이터를 생성하고, 상기 제1 연접 데이터를 해시 암호화한 후 상기 사용자의 개인키를 이용하여 암호화하여 암호화 데이터를 생성하는 단계, 상기 선택된 다수의 셀들의 위치 정보를 상기 연접 순서에 따라 연접하여 셀 위치 데이터를 생성하는 단계 및 상기 암호화 데이터 및 상기 셀 위치 데이터를 연접하여 상기 스프레드시트 전자 문서의 메타 데이터 영역에 기록하는 단계를 포함한다.In addition, if the object protection request is input to a plurality of cells selected by the user's input device of the plurality of cells of the spreadsheet electronic document according to an embodiment of the present invention, Concatenating the selected plurality of cells according to the concatenated order determined based on the location information of the selected plurality of cells to generate first concatenated data, hash encrypting the first concatenated data, and then storing the private key of the user. Generating encrypted data by encrypting using; concatenating position information of the selected plurality of cells in the concatenated order to generate cell position data; and concatenating the encrypted data and the cell position data by the spreadsheet; Recording in the metadata area of the electronic document.

본 발명에 따른 스프레드시트 전자 문서의 개체 보호 장치 및 이의 동작 방법은 스프레드시트 전자 문서의 다수의 셀들 중 사용자의 입력 장치에 의해 선택된 다수의 셀들에 대해 개체 보호 요청이 입력되면, 상기 선택된 다수의 셀들의 개체를 상기 선택된 다수의 셀들의 위치 정보에 기초하여 결정되는 연접 순서에 따라 연접하여 제1 연접 데이터를 생성하고, 상기 제1 연접 데이터를 해시 암호화한 후 상기 사용자의 개인키를 이용하여 암호화하여 암호화 데이터를 생성한 후 저장함으로써, 사용자의 입력 장치에 의해 선택된 다수의 셀들에 대해서 개체를 보호할 수 있으며, 사용자는 그 이외의 셀들에 대해서 자유롭게 편집할 수 있다.The apparatus for protecting an object of a spreadsheet electronic document and a method of operating the same according to the present invention, when the object protection request is input to a plurality of cells selected by a user input device among a plurality of cells of a spreadsheet electronic document, the selected plurality of cells Concatenates an entity of the plurality of cells in a concatenated order determined based on location information of the selected plurality of cells, generates first concatenated data, hash-encrypts the first concatenated data, and then encrypts it using the user's private key. By generating and storing encrypted data, the object can be protected for a plurality of cells selected by the user's input device, and the user can freely edit other cells.

도 1은 본 발명의 일실시예에 따른 스프레드시트 전자 문서의 개체 보호 장치의 구성을 도시한 도면이다.
도 2는 본 발명의 일실시예에 따른 스프레드시트 전자 문서의 개체 보호 장치의 동작 방법을 도시한 흐름도이다.
1 is a diagram illustrating a configuration of an object protection apparatus for a spreadsheet electronic document according to an embodiment of the present invention.
2 is a flowchart illustrating a method of operating an object protection apparatus of a spreadsheet electronic document according to an embodiment of the present invention.

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

도 1은 본 발명의 일실시예에 따른 스프레드시트 전자 문서의 개체 보호 장치(100)의 구성을 도시한 도면이다.1 is a diagram illustrating a configuration of an object protection apparatus 100 for a spreadsheet electronic document according to an embodiment of the present invention.

도 1에 도시된 바와 같이, 본 발명의 일실시예에 따른 스프레드시트 전자 문서의 개체 보호 장치(100)는 암호화부(110), 셀 위치 데이터 생성부(120) 및 메타 데이터 기록부(130)를 포함할 수 있다.As shown in FIG. 1, the apparatus 100 for protecting a spreadsheet electronic document according to an embodiment of the present invention may include an encryption unit 110, a cell position data generation unit 120, and a metadata recording unit 130. It may include.

먼저, 암호화부(110)는 저장부(111)에 하기 표 1과 같이 저장되어 있는 스프레드시트 전자 문서의 다수의 셀들 중 사용자의 입력 장치(115)에 의해 선택된 다수의 셀들에 대해 개체 보호 요청이 입력되면, 상기 선택된 다수의 셀들의 개체를 상기 선택된 다수의 셀들의 위치 정보에 기초하여 결정되는 제1 연접 순서에 따라 연접하여 제1 연접 데이터를 생성하고, 상기 제1 연접 데이터를 해시 암호화한 후 상기 사용자의 개인키를 이용하여 암호화하여 암호화 데이터를 생성할 수 있다. 여기에서, 개체는 텍스트와 같이 셀에 기록되어 있는 데이터(예컨대, 수식)를 의미한다.First, the encryption unit 110 requests an object protection request for a plurality of cells selected by the user's input device 115 among a plurality of cells of a spreadsheet electronic document stored in the storage unit 111 as shown in Table 1 below. When input, the object of the plurality of selected cells is concatenated according to a first concatenated order determined based on the location information of the selected plurality of cells to generate first concatenated data, and hash-encrypts the first concatenated data. The encrypted data may be generated by encrypting the private key of the user. Herein, the object refers to data (eg, an expression) recorded in a cell such as text.

순번turn 위치 정보Location information 수식Equation 수식 결과Formula result 셀 1Cell 1 A1A1 33 33 셀 2Cell 2 A2A2 =sum(B1, B2)= sum (B1, B2) 2222 셀 3Cell 3 B1B1 44 44 셀 4Cell 4 B2B2 =sum(C1, C2)= sum (C1, C2) 1818 셀 5Cell 5 C1C1 55 55 셀 6Cell 6 C2C2 =sum(D1, D2)= sum (D1, D2) 1313 셀 7Cell 7 D1D1 66 66 셀 8Cell 8 D2D2 77 77 ...... ...... ...... ......

여기에서, 위치 정보는 A1, A2, B1 및 B2와 같이 셀의 행 및 열의 위치를 동시에 나타내는 알파벳-숫자의 구조 구성될 수 있으며, A 및 B와 같은 알파벳은 열의 위치를 나타내고, 1 및 2와 같은 숫자는 행의 위치를 나타낼 수 있다. 또한, 연접 순서는 위치 정보의 열을 나타내는 알파벳의 오름차순에 따라 결정되고, 동일한 열을 나타내는 알파벳 간에는 행을 나타내는 숫자의 오름차순에 따라 결정될 수 있다. 예를 들어, 사용자의 입력 장치(115)에 의해 선택된 다수의 셀들이 A1, A2, B1 및 B2인 경우, A1, A2, B1 및 B2의 순서로 연접 순서가 결정될 수 있다.예를 들어, 스프레드시트 전자 문서의 다수의 셀들 중 사용자의 입력 장치(115)에 의해 셀 1 내지 4에 대해 개체 보호 요청이 입력되면, 셀 1 내지 4의 위치 정보에 기초하여 결정되는 제1 연접 순서에 따라 셀 1 내지 4의 개체를 연접하여 3=sum(B1, B2)4=sum(C1, C2)와 같은 제1 연접 데이터를 생성하고, 상기 제1 연접 데이터를 해시 암호화한 후 상기 사용자의 개인키를 이용하여 암호화하여 암호화 데이터를 생성할 수 있다.Here, the position information may be composed of an alpha-numeric structure indicating the position of the row and column of the cell at the same time, such as A1, A2, B1, and B2, and the alphabet, such as A and B, indicates the position of the column. The same number can indicate the position of a row. In addition, the concatenation order may be determined according to the ascending order of the alphabet representing the column of the location information, and may be determined according to the ascending order of the numbers representing the row between the alphabets representing the same column. For example, when the plurality of cells selected by the user's input device 115 are A1, A2, B1, and B2, the concatenated order may be determined in the order of A1, A2, B1, and B2. When the object protection request is input to the cells 1 to 4 by the user's input device 115 of the plurality of cells of the sheet electronic document, the cell 1 according to the first concatenated order determined based on the location information of the cells 1 to 4. Concatenates 4 to 4 to generate first concatenated data such as 3 = sum (B1, B2) 4 = sum (C1, C2), hash encrypts the first concatenated data, and then uses the user's private key. Can be encrypted to generate encrypted data.

또한, 상기 암호화부(110)는 상기 선택된 다수의 셀들이 직접 및/또는 간접 참조하는 다수의 참조 셀들이 존재하는 경우, 상기 다수의 참조 셀들 중 상기 선택된 다수의 셀들에 포함되지 않는 다수의 제1 참조 셀들을 선정하고, 상기 다수의 제1 참조 셀들의 개체를 상기 다수의 제1 참조 셀들의 위치 정보에 기초하여 결정되는 제2 연접 순서에 따라 연접하여 제2 연접 데이터를 생성하고, 상기 제2 연접 데이터를 상기 제1 연접 개체 데이터에 연접하고, 상기 연접된 제1 및 2 연접 데이터를 해시 암호화한 후 상기 사용자의 상기 개인키를 이용하여 암호화하여 암호화 데이터를 생성할 수 있다. 여기에서, 참조 셀은 자신의 수식 결과의 변동에 따라 다른 셀의 수식 결과가 변동하는 셀을 지칭하며, 직접 참조 셀은 참조 거리가 1인 셀이며, 간접 참조 셀은 참조 거리가 2 이상인 셀일 수 있다. 한편, 참조 거리는 셀 A가 셀 B를 참조하면, 셀 A 및 B 간의 참조 거리는 1이며, 셀 B가 셀 C를 참조할 때, 셀 A 및 C 간의 참조 거리는 1이다. 예를 들어, 표 1을 참조하면, 셀 2에 대해 셀 3 및 4가 참조 거리가 1인 직접 참조 셀이며, 셀 4에 대해 셀 5 및 6이 참조 거리가 1인 직접 참조 셀이고, 셀 6에 대해 셀 7 및 8이 참조 거리가 1인 직접 참조 셀이며, 셀 2에 대해 셀 5 및 6이 참조 거리가 2인 간접 참조 셀이고, 셀 7 및 8이 참조 거리가 3인 간접 참조 셀이다.In addition, when there are a plurality of reference cells to which the selected plurality of cells directly and / or indirectly refer, the encryption unit 110 includes a plurality of first cells that are not included in the selected plurality of cells among the plurality of reference cells. Selecting reference cells, and generating the second concatenated data by concatenating objects of the plurality of first reference cells according to a second concatenated order determined based on location information of the plurality of first reference cells. The concatenated data may be concatenated to the first concatenated entity data, hash encrypted the concatenated first and second concatenated data, and then encrypted using the private key of the user to generate encrypted data. Here, the reference cell refers to a cell in which the formula result of another cell fluctuates according to the change of its formula result, the direct reference cell is a cell having a reference distance of 1, and an indirect reference cell may be a cell having a reference distance of 2 or more. have. On the other hand, when the cell A refers to the cell B, the reference distance is 1, and when the cell B refers to the cell C, the reference distance between the cells A and C is 1. For example, referring to Table 1, cells 3 and 4 are direct reference cells with a reference distance of 1 for cell 2, cells 5 and 6 are direct reference cells with a reference distance of 1 for cell 4, and cell 6 For cells 7 and 8 are direct reference cells with a reference distance of 1, for cells 2 cells 5 and 6 are indirect reference cells with a reference distance of 2, and cells 7 and 8 are indirect reference cells with a reference distance of 3. .

예를 들어, 스프레드시트 전자 문서의 다수의 셀들 중 사용자의 입력 장치(115)에 의해 셀 1 내지 4에 대해 개체 보호 요청이 입력되면, 셀 2 및 4가 직접 및/또는 간접 참조하는 참조 셀인 셀 3 내지 8 중 선택된 셀인 셀 1 내지 4에 포함되지 않는 셀 5 내지 8을 선정하고, 셀 5 내지 8의 개체(즉, 5, =sum(D1, D2), 6 및 =sum(E1, E2))를 참조 셀들의 위치 정보에 기초하여 결정되는 제2 연접 순서에 따라 연접하여 5=sum(D1, D2)6=sum(E1, E2)와 같은 제2 연접 데이터를 생성하고, 상기 제1 연접 개체 데이터의 말미에 상기 제2 연접 데이터를 연접하고 해시 암호화한 후 상기 사용자의 상기 개인키를 이용하여 암호화하여 암호화 데이터를 생성할 수 있다.For example, if an object protection request is input for cells 1 to 4 by a user's input device 115 of a plurality of cells of a spreadsheet electronic document, the cells 2 and 4 are the reference cells that are directly and / or indirectly referenced. Cells 5 to 8 that are not included in cells 1 to 4, which are selected cells of 3 to 8, are selected, and the individuals of cells 5 to 8 (ie, 5, = sum (D1, D2), 6, and = sum (E1, E2)). ) Is concatenated according to the second concatenation order determined based on the position information of the reference cells to generate second concatenated data such as 5 = sum (D1, D2) 6 = sum (E1, E2), and the first concatenation. The second concatenated data may be concatenated and hash encrypted at the end of the entity data, and then encrypted using the private key of the user to generate encrypted data.

상기 암호화부(110)는 상기 다수의 제1 참조 셀들의 개수가 상기 스프레드시트 전자 문서의 문서 크기에 따라 사전 설정된 개수를 초과하면, 상기 다수의 제1 참조 셀들 각각의 참조 거리에 기초하여 참조 거리가 낮은 순서대로 상기 다수의 제1 참조 셀들 중 상기 사전 설정된 개수 이하의 다수의 제2 참조 셀들을 추출하고, 상기 다수의 제2 참조 셀들의 개체를 상기 다수의 제2 참조 셀들의 위치 정보에 기초하여 결정되는 제3 연접 순서에 따라 연접하여 제3 연접 데이터를 생성하고, 상기 제3 연접 데이터를 상기 제1 연접 개체 데이터에 상기 해시 암호화 데이터를 연접하고, 상기 제1 및 3 연접 데이터를 해시 암호화한 후 상기 사용자의 상기 개인키를 이용하여 암호화하여 암호화 데이터를 생성할 수 있다. 한편, 상기 암호화부(110)는 1 내지 N의 참조 거리를 가지는 제1 참조 셀들의 개수가 상기 사전 설정된 개수를 초과하고, 1 내지 N-1의 참조 거리를 가지는 제1 참조 셀들의 개수가 상기 사전 설정된 개수를 초과하지 않는 경우, 1 내지 N-1의 참조 거리를 가지는 제1 참조 셀들을 상기 다수의 제2 참조 셀들로 추출할 수 있다. 여기에서, N은 2 이상의 정수이다.If the number of the plurality of first reference cells exceeds a preset number according to the document size of the spreadsheet electronic document, the encryption unit 110 may refer to the reference distance based on the reference distance of each of the plurality of first reference cells. Extracts a plurality of second reference cells up to the predetermined number of the plurality of first reference cells in a low order, and based on location information of the plurality of second reference cells Concatenate according to the third concatenated order determined to generate third concatenated data, concatenate the third concatenated data to the first concatenated entity data, and hash-encrypt the first and third concatenated data. Afterwards, the encrypted data may be generated by using the private key of the user. On the other hand, the encryption unit 110, the number of first reference cells having a reference distance of 1 to N exceeds the preset number, the number of first reference cells having a reference distance of 1 to N-1 is When not exceeding a preset number, first reference cells having a reference distance of 1 to N-1 may be extracted as the plurality of second reference cells. Here, N is an integer of 2 or more.

여기에서, 상기 사전 설정된 개수는 상기 스프레드시트 전자 문서의 데이터 크기의 사전 설정된 비율(예컨대, 1%)에 따른 데이터 크기에 환산 값(셀의 위치 정보에 할당된 데이터 크기)을 나눈 값에 상응하는 개수로 결정될 수 있다. 또한, 상기 암호화부(110)는 상기 스프레드시트 전자 문서의 상기 다수의 셀들 중 상기 선택된 다수의 셀들의 비율에 따라 사전 설정된 가중치를 상기 스프레드시트 전자 문서의 데이터 크기의 사전 설정된 비율에 따른 데이터 크기에 환산 값을 나눈 값에 곱하여 상기 상응하는 개수를 증가시킬 수 있다. 예컨대, 상기 다수의 셀들 중 상기 선택된 다수의 셀들의 비율이 0 이상 0.3 미만인 경우, 사전 설정된 가중치는 1이고, 0.3 이상 0.6 미만인 경우, 사전 설정된 가중치는 1.3이고, 0.6 이상인 경우, 사전 설정된 가중치는 1.6일 수 있다.Here, the preset number corresponds to a value obtained by dividing a conversion value (data size assigned to cell position information) by a data size according to a preset ratio (eg, 1%) of the data size of the spreadsheet electronic document. It can be determined by the number. In addition, the encryption unit 110 may assign a predetermined weight according to the ratio of the selected plurality of cells of the plurality of cells of the spreadsheet electronic document to a data size according to a preset ratio of the data size of the spreadsheet electronic document. The corresponding number can be increased by multiplying the converted value by the divided value. For example, when the ratio of the selected plurality of cells among the plurality of cells is 0 or more and less than 0.3, the preset weight is 1, and when 0.3 or more and less than 0.6, the preset weight is 1.3, and when 0.6 or more, the preset weight is 1.6 Can be.

예를 들어, 상기 스프레드시트 전자 문서의 상기 다수의 셀들 중 상기 선택된 다수의 셀들의 비율이 0.3 미만이고(즉, 가중치는 1), 스프레드시트 전자 문서의 데이터 크기가 1500 바이트이고, 사전 설정된 비율이 1%이며, 환산 값, 즉, 셀의 위치 정보에 할당된 데이터 크기가 4바이트인 경우, 상기 사전 설정된 개수는 3.75개로 사전 결정될 수 있다. 이때, 상기 다수의 제1 참조 셀들(즉, 셀 5 내지 8)의 개수가 4개인 경우, 1 내지 2의 참조 거리를 가지는 제1 참조 셀들(즉, 셀 5 내지 8)의 개수가 상기 사전 설정된 개수(즉, 3.75)를 초과하고, 1의 참조 거리를 가지는 제1 참조 셀들(즉, 셀 5 및 6)의 개수(즉, 2)가 상기 사전 설정된 개수를 초과하지 않으므로, 상기 암호화부(110)는 1의 참조 거리를 가지는 셀 5 및 6을 상기 다수의 제3 참조 셀들로 추출할 수 있다.For example, the ratio of the selected plurality of cells of the plurality of cells of the spreadsheet electronic document is less than 0.3 (ie, the weight is 1), the data size of the spreadsheet electronic document is 1500 bytes, and the preset ratio is 1%, and when the converted value, that is, the data size allocated to the cell location information is 4 bytes, the preset number may be predetermined as 3.75. In this case, when the number of the plurality of first reference cells (ie, cells 5 to 8) is four, the number of first reference cells (that is, cells 5 to 8) having a reference distance of 1 to 2 is set in advance. Since the number (ie, 2) of the first reference cells (ie, cells 5 and 6) exceeding the number (ie, 3.75) and having a reference distance of 1 does not exceed the preset number, the encryption unit 110 ) May extract cells 5 and 6 having a reference distance of 1 into the plurality of third reference cells.

다음으로, 셀 위치 데이터 생성부(120)는 상기 선택된 다수의 셀들의 위치 정보를 상기 제1 연접 순서에 따라 연접하여 제1 셀 위치 데이터를 생성할 수 있다.Next, the cell position data generation unit 120 may generate first cell position data by concatenating position information of the selected plurality of cells in the first concatenation order.

이때, 제1 참조 셀들이 존재하는 경우, 상기 셀 위치 데이터 생성부(120)는 상기 제1 셀 위치 데이터에 상기 다수의 제1 참조 셀들의 위치 정보를 상기 제2 연접 순서에 따라 연접하여 제2 셀 위치 데이터를 생성할 수 있다.In this case, when the first reference cells exist, the cell position data generation unit 120 concatenates the position information of the plurality of first reference cells to the first cell position data according to the second concatenated order to perform second concatenation. Cell position data can be generated.

또한, 상기 다수의 제1 참조 셀들의 개수가 사전 설정된 개수를 초과하여, 상기 제2 참조 셀들이 추출된 경우, 상기 셀 위치 데이터 생성부(120)는 상기 제1 셀 위치 데이터에 상기 다수의 제2 참조 셀들의 위치 정보를 상기 제3 연접 순서에 따라 연접하여 제3 셀 위치 데이터를 생성할 수 있다.In addition, when the number of the plurality of first reference cells exceeds a preset number and the second reference cells are extracted, the cell position data generator 120 may add the plurality of first reference cells to the first cell position data. The third cell position data may be generated by concatenating position information of two reference cells in the third concatenation order.

메타 데이터 기록부(130)는 상기 암호화 데이터 및 상기 제1 셀 위치 데이터를 연접하여 상기 스프레드시트 전자 문서의 메타 데이터 영역에 기록할 수 있다.The metadata recording unit 130 may concatenate the encrypted data and the first cell position data and record the metadata in the metadata area of the spreadsheet electronic document.

한편, 제1 참조 셀들이 존재하는 경우, 메타 데이터 기록부(130)는 상기 암호화 데이터 및 상기 제2 셀 위치 데이터를 연접하여 상기 스프레드시트 전자 문서의 메타 데이터 영역에 기록할 수 있다.Meanwhile, when the first reference cells exist, the metadata recording unit 130 may concatenate the encrypted data and the second cell location data and record the metadata in the metadata area of the spreadsheet electronic document.

또한, 상기 다수의 제1 참조 셀들의 개수가 사전 설정된 개수를 초과하여, 상기 제2 참조 셀들이 추출된 경우, 메타 데이터 기록부(130)는 상기 암호화 데이터 및 상기 제3 셀 위치 데이터를 연접하여 상기 스프레드시트 전자 문서의 메타 데이터 영역에 기록할 수 있다.In addition, when the number of the plurality of first reference cells exceeds a preset number, and the second reference cells are extracted, the metadata recording unit 130 concatenates the encrypted data and the third cell position data so that the second reference cells are extracted. You can write to the metadata area of a spreadsheet electronic document.

상기 스프레드시트 전자 문서의 메타 데이터 영역에 상기 암호화 데이터 및 상기 셀 위치 데이터가 기록된 후, 셀 위치 데이터에 포함되어 있는 위치 정보를 가지는 제1 셀에 대한 편집 명령이 상기 입력 장치(115)를 통해 입력되면, 변경 여부 확인부(140)는 상기 편집 명령에 의해 상기 제1 셀의 개체가 변경되는지 여부를 확인하고, 상기 편집 명령의 대상 셀이 한 후 상기 편집 명령에 의해 상기 제1 셀의 개체가 변경되는 것으로 확인되면, 팝업 생성부(141)에 상기 편집 명령에 의해 상기 제1 셀의 개체가 변경된다고 통보하고, 상기 팝업 생성부(141)는 디스플레이부(145)를 통해 사용자에게 상기 편집 명령에 의해 상기 제1 셀의 개체가 변경된다는 내용과 해당 편집 명령의 진행 여부를 문의하는 팝업 화면을 디스플레이할 수 있다. 이에 따라, 사용자는 입력 장치(115)를 통해 해당 편집 명령의 진행 여부를 선택할 수 있다.After the encrypted data and the cell position data are recorded in the metadata area of the spreadsheet electronic document, an editing command for the first cell having the position information included in the cell position data is received through the input device 115. When input, the change check unit 140 confirms whether the object of the first cell is changed by the editing command, and after the target cell of the editing command is made, the object of the first cell by the editing command. If is confirmed to be changed, the pop-up generating unit 141 is notified that the object of the first cell is changed by the editing command, the pop-up generating unit 141 to the user through the display unit 145 the editing The display may display a pop-up screen inquiring whether the object of the first cell is changed by the command and whether the corresponding editing command is in progress. Accordingly, the user may select whether to proceed with the corresponding editing command through the input device 115.

한편, 상기 스프레드시트 전자 문서의 메타 데이터 영역에 상기 암호화 데이터 및 상기 셀 위치 데이터가 기록된 후 상기 스프레드시트 전자 문서에 대한 편집이 완료되고, 이후, 상기 입력 장치(115)를 통해 상기 스프레드시트 전자 문서에 대한 열람 요청이 입력되면, 변경 여부 확인부(140)는 상기 스프레드시트 전자 문서의 상기 메타 데이터 영역의 상기 셀 위치 데이터에 포함되어 있는 위치 정보의 연접 순서에 따라 셀들을 선택하고 상기 연접 순서에 따라 선택된 셀들의 개체를 해시 암호화한 값과 상기 스프레드시트 전자 문서의 상기 메타 데이터 영역의 상기 암호화 데이터를 상기 사용자의 공개키를 이용하여 복호한 값과 비교하여 상기 셀들의 개체의 변경 여부를 확인할 수 있다. 이후, 상기 셀들의 개체가 변경된 것으로 확인되면, 팝업 생성부(141)에 상기 편집 명령에 의해 상기 셀들의 개체가 변경되었음을 통보하고, 상기 팝업 생성부(141)는 디스플레이부(145)를 통해 사용자에게 상기 셀들의 개체가 변경되었다는 내용과 개체 보호를 해제한다는 내용을 표시하는 팝업 화면을 디스플레이할 수 있다. 이후, 상기 메타 데이터 기록부(130)는 상기 스프레드시트 전자 문서의 메타 데이터 영역에 상기 암호화 데이터 및 상기 셀 위치 데이터를 삭제할 수 있다.On the other hand, after the encrypted data and the cell position data are recorded in the metadata area of the spreadsheet electronic document, editing of the spreadsheet electronic document is completed, and thereafter, the spreadsheet electronic document is transmitted through the input device 115. When a view request for a document is input, the change whether checking unit 140 selects cells according to a concatenating order of position information included in the cell position data of the meta data area of the spreadsheet electronic document and selects the concatenating order. Compare the hashed value of the object of the selected cells with the encrypted data of the metadata area of the spreadsheet electronic document with a value decrypted using the public key of the user to determine whether the object of the cells has changed. Can be. Then, when it is confirmed that the object of the cells has been changed, the pop-up generating unit 141 is notified that the object of the cells has been changed by the editing command, the pop-up generating unit 141 through the display unit 145 The user may display a pop-up screen indicating that the object of the cells has been changed and that the object is released from protection. Thereafter, the metadata recording unit 130 may delete the encrypted data and the cell position data in the metadata area of the spreadsheet electronic document.

도 2는 본 발명의 일실시예에 따른 스프레드시트 전자 문서의 개체 보호 장치(100)의 동작 방법을 도시한 흐름도이다.2 is a flowchart illustrating a method of operating an object protection apparatus 100 of a spreadsheet electronic document according to an embodiment of the present invention.

도 2를 참조하면, 단계(S210)에서는 스프레드시트 전자 문서의 다수의 셀들 중 사용자의 입력 장치에 의해 선택된 다수의 셀들에 대해 개체 보호 요청이 입력되면, 상기 선택된 다수의 셀들의 개체를 상기 선택된 다수의 셀들의 위치 정보에 기초하여 결정되는 연접 순서에 따라 연접하여 제1 연접 데이터를 생성하고, 상기 제1 연접 데이터를 해시 암호화한 후 상기 사용자의 개인키를 이용하여 암호화하여 암호화 데이터를 생성할 수 있다.Referring to FIG. 2, in step S210, when an object protection request is input to a plurality of cells selected by a user's input device among a plurality of cells of a spreadsheet electronic document, an object of the selected plurality of cells is selected. The first concatenated data may be generated by concatenating according to the concatenated order determined based on the location information of the cells of the cell, and the first concatenated data may be hash-encrypted and then encrypted by using the user's private key to generate encrypted data. have.

상기 단계(S210)에서는 상기 선택된 다수의 셀들이 참조하는 다수의 참조 셀들이 존재하는 경우, 상기 다수의 참조 셀들 중 상기 선택된 다수의 셀들에 포함되지 않는 다수의 제1 참조 셀들을 선정하고, 상기 다수의 제1 참조 셀들의 개체를 상기 다수의 제1 참조 셀들의 위치 정보에 기초하여 결정되는 제2 연접 순서에 따라 연접하여 제2 연접 데이터를 생성하고, 상기 제1 연접 개체 데이터에 상기 제2 연접 데이터를 연접하고, 상기 제1 및 2 연접 데이터를 해시 암호화한 후 상기 사용자의 상기 개인키를 이용하여 암호화하여 암호화 데이터를 생성할 수 있다.In step S210, when there are a plurality of reference cells referenced by the selected plurality of cells, a plurality of first reference cells that are not included in the selected plurality of cells among the plurality of reference cells are selected, and the plurality of reference cells are selected. Generating second concatenated data by concatenating the entities of the first reference cells of the second reference cells according to a second concatenated order determined based on the positional information of the plurality of first reference cells, and generating the second concatenated data to the first concatenated entity data. The data may be concatenated, the first and second concatenated data may be hash-encrypted, and then encrypted using the private key of the user to generate encrypted data.

상기 단계(S210)에서는 상기 다수의 제1 참조 셀들의 개수가 사전 설정된 개수를 초과하면, 상기 다수의 제1 참조 셀들 각각의 참조 거리에 기초하여 상기 다수의 제1 참조 셀들 중 상기 사전 설정된 개수 이하의 다수의 제2 참조 셀들을 추출하고, 상기 다수의 제2 참조 셀들의 개체를 상기 다수의 제2 참조 셀들의 위치 정보에 기초하여 결정되는 제3 연접 순서에 따라 연접하여 제3 연접 데이터를 생성하고, 상기 제1 연접 개체 데이터에 상기 제3 연접 데이터를 연접하고, 상기 제1 및 3 연접 데이터를 해시 암호화한 후 상기 사용자의 상기 개인키를 이용하여 암호화하여 암호화 데이터를 생성할 수 있다.In the step S210, if the number of the plurality of first reference cells exceeds a preset number, the preset number of the plurality of first reference cells is less than or equal to the reference number of each of the plurality of first reference cells. Extracts a plurality of second reference cells of the plurality of second reference cells, and generates the third concatenated data by concatenating the entities of the plurality of second reference cells according to a third concatenated order determined based on location information of the plurality of second reference cells; The third concatenated data may be concatenated to the first concatenated entity data, and the first and third concatenated data may be hash-encrypted and then encrypted using the private key of the user to generate encrypted data.

단계(S220)에서는 상기 단계(S210)에서 상기 제1 연접 데이터를 해시 암호화한 후 상기 사용자의 개인키를 이용하여 암호화하여 암호화 데이터를 생성하면, 상기 선택된 다수의 셀들의 위치 정보를 상기 연접 순서에 따라 연접하여 제1 셀 위치 데이터를 생성할 수 있다.In step S220, when the first concatenated data is hash-encrypted in step S210, and then encrypted using the user's private key to generate encrypted data, the location information of the selected plurality of cells is stored in the concatenated order. Accordingly, the first cell position data may be generated by concatenating them.

상기 단계(S220)에서는 상기 단계(S210)에서 상기 제1 연접 개체 데이터에 상기 제2 연접 데이터를 연접한 후 상기 사용자의 상기 개인키를 이용하여 암호화하여 암호화 데이터를 생성하면, 상기 제1 셀 위치 데이터에 상기 다수의 제1 참조 셀들의 위치 정보를 상기 제2 연접 순서에 따라 연접하여 제2 셀 위치 데이터를 생성할 수 있다.In step S220, if the second concatenated data is concatenated to the first concatenated entity data in step S210, and then encrypted using the private key of the user to generate encrypted data, the first cell position The second cell position data may be generated by concatenating position information of the plurality of first reference cells with data in the second concatenation order.

상기 단계(S220)에서는 상기 다수의 제1 참조 셀들의 개수가 사전 설정된 개수를 초과하여, 상기 제2 참조 셀들이 추출된 경우, 즉, 상기 단계(S210)에서 상기 제1 연접 개체 데이터에 상기 제3 연접 데이터를 연접한 후 상기 사용자의 상기 개인키를 이용하여 암호화하여 암호화 데이터를 생성하면, 상기 제1 셀 위치 데이터에 상기 다수의 제2 참조 셀들의 위치 정보를 상기 제3 연접 순서에 따라 연접하여 제3 셀 위치 데이터를 생성할 수 있다.In the step S220, when the number of the plurality of first reference cells exceeds a preset number, and the second reference cells are extracted, that is, in the step S210, the first concatenated entity data is added to the first connection entity data. When the concatenated data is concatenated and encrypted data is generated using the private key of the user, the encrypted data is generated by concatenating the position information of the plurality of second reference cells to the first cell position data according to the third concatenated order. To generate the third cell position data.

단계(S230)에서는 상기 단계(S220)에서 제1 셀 위치 데이터를 생성하면, 상기 암호화 데이터 및 상기 제1 셀 위치 데이터를 연접하여 상기 스프레드시트 전자 문서의 메타 데이터 영역에 기록할 수 있다.In operation S230, when the first cell location data is generated in step S220, the encrypted data and the first cell location data may be concatenated and recorded in the metadata area of the spreadsheet electronic document.

상기 단계(S230)에서는 상기 단계(S220)에서 제2 셀 위치 데이터를 생성하면, 상기 암호화 데이터 및 상기 제2 셀 위치 데이터를 연접하여 상기 스프레드시트 전자 문서의 메타 데이터 영역에 기록할 수 있다.In operation S230, when the second cell position data is generated in operation S220, the encrypted data and the second cell position data may be concatenated and recorded in the metadata area of the spreadsheet electronic document.

상기 단계(S230)에서는 상기 단계(S220)에서 제3 셀 위치 데이터를 생성하면, 상기 암호화 데이터 및 상기 제3 셀 위치 데이터를 연접하여 상기 스프레드시트 전자 문서의 메타 데이터 영역에 기록할 수 있다.In operation S230, when the third cell location data is generated in operation S220, the encrypted data and the third cell location data may be concatenated and recorded in the metadata area of the spreadsheet electronic document.

이상, 도 2를 참조하여 본 발명의 일실시예에 따른 스프레드시트 전자 문서의 위조 방지 장치의 동작 방법에 대해 설명하였다. 여기서, 본 발명의 일실시예에 따른 스프레드시트 전자 문서의 위조 방지 장치의 동작 방법은 도 1을 이용하여 설명한 스프레드시트 전자 문서의 위조 방지 장치의 동작에 대한 구성과 대응될 수 있으므로, 이에 대한 보다 상세한 설명은 생략하기로 한다.The operating method of the apparatus for preventing forgery of a spreadsheet electronic document according to an embodiment of the present invention has been described above with reference to FIG. 2. Here, the operation method of the anti-counterfeiting apparatus of the spreadsheet electronic document according to an embodiment of the present invention may correspond to the configuration of the operation of the anti-counterfeiting apparatus of the spreadsheet electronic document described with reference to FIG. Detailed description will be omitted.

본 발명의 일실시예에 따른 스프레드시트 전자 문서의 위조 방지 장치의 동작 방법은 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램으로 구현될 수 있다.The method of operating the apparatus for preventing forgery of a spreadsheet electronic document according to an embodiment of the present invention may be implemented as a computer program stored in a storage medium for execution by combining with a computer.

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

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

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

Claims (10)

스프레드시트 전자 문서의 다수의 셀들 중 사용자의 입력 장치에 의해 선택된 다수의 셀들에 대해 개체 보호 요청이 입력되면, 상기 선택된 다수의 셀들의 개체를 상기 선택된 다수의 셀들의 위치 정보에 기초하여 결정되는 제1 연접 순서에 따라 연접하여 제1 연접 데이터를 생성하고, 상기 제1 연접 데이터를 해시 암호화한 후 상기 사용자의 개인키를 이용하여 암호화하여 암호화 데이터를 생성하는 암호화부;
상기 선택된 다수의 셀들의 위치 정보를 상기 제1 연접 순서에 따라 연접하여 제1 셀 위치 데이터를 생성하는 셀 위치 데이터 생성부; 및
상기 암호화 데이터 및 상기 제1 셀 위치 데이터를 연접하여 상기 스프레드시트 전자 문서의 메타 데이터 영역에 기록하는 메타 데이터 기록부
를 포함하는 스프레드시트 전자 문서의 개체 보호 장치.
When an object protection request is input to a plurality of cells selected by a user's input device among a plurality of cells of a spreadsheet electronic document, an object of the selected plurality of cells is determined based on location information of the selected plurality of cells. An encryption unit for generating first concatenated data by concatenating according to a concatenated order, and encrypting the first concatenated data by encrypting it using a private key of the user;
A cell position data generation unit configured to generate first cell position data by concatenating position information of the selected plurality of cells in the first concatenation order; And
A metadata recording unit which concatenates the encrypted data and the first cell position data and records the metadata in the metadata area of the spreadsheet electronic document.
Object protection device of the spreadsheet electronic document.
제1항에 있어서,
상기 암호화부는 상기 선택된 다수의 셀들이 참조하는 다수의 참조 셀들이 존재하는 경우, 상기 다수의 참조 셀들 중 상기 선택된 다수의 셀들에 포함되지 않는 다수의 제1 참조 셀들을 선정하고, 상기 다수의 제1 참조 셀들의 개체를 상기 다수의 제1 참조 셀들의 위치 정보에 기초하여 결정되는 제2 연접 순서에 따라 연접하여 제2 연접 데이터를 생성하고, 상기 제1 연접 개체 데이터에 상기 제2 연접 데이터를 연접하고, 상기 제1 및 2 연접 데이터를 해시 암호화한 후 상기 사용자의 상기 개인키를 이용하여 암호화하여 암호화 데이터를 생성하고,
상기 셀 위치 데이터 생성부는 상기 제1 셀 위치 데이터에 상기 다수의 제1 참조 셀들의 위치 정보를 상기 제2 연접 순서에 따라 연접하여 제2 셀 위치 데이터를 생성하고,
상기 메타 데이터 기록부는 상기 암호화 데이터 및 상기 제2 셀 위치 데이터를 연접하여 상기 스프레드시트 전자 문서의 메타 데이터 영역에 기록하는
스프레드시트 전자 문서의 개체 보호 장치.
The method of claim 1,
If there are a plurality of reference cells referenced by the selected plurality of cells, the encryption unit selects a plurality of first reference cells that are not included in the selected plurality of cells among the plurality of reference cells, and the plurality of first cells. Concatenating objects of reference cells according to a second concatenation order determined based on location information of the plurality of first reference cells to generate second concatenated data, and concatenating the second concatenated data to the first concatenated entity data. And hash encrypting the first and second concatenated data and then encrypting the data using the private key of the user to generate encrypted data.
The cell position data generator generates second cell position data by concatenating the position information of the plurality of first reference cells with the first cell position data in the second concatenated order.
The metadata recording unit concatenates the encrypted data and the second cell position data and records the metadata in the metadata area of the spreadsheet electronic document.
Object protector in spreadsheet electronic documents.
제2항에 있어서,
상기 암호화부는 상기 다수의 제1 참조 셀들의 개수가 사전 설정된 개수를 초과하면, 상기 다수의 제1 참조 셀들 각각의 참조 거리에 기초하여 상기 다수의 제1 참조 셀들 중 상기 사전 설정된 개수 이하의 다수의 제2 참조 셀들을 추출하고, 상기 다수의 제2 참조 셀들의 개체를 상기 다수의 제2 참조 셀들의 위치 정보에 기초하여 결정되는 제3 연접 순서에 따라 연접하여 제3 연접 데이터를 생성하고, 상기 제1 연접 개체 데이터에 상기 제3 연접 데이터를 연접하고, 상기 제1 및 3 연접 데이터를 해시 암호화한 후 상기 사용자의 상기 개인키를 이용하여 암호화하여 암호화 데이터를 생성하고,
상기 셀 위치 데이터 생성부는 상기 다수의 제1 참조 셀들의 개수가 사전 설정된 개수를 초과하여, 상기 제2 참조 셀들이 추출된 경우, 상기 제1 셀 위치 데이터에 상기 다수의 제2 참조 셀들의 위치 정보를 상기 제3 연접 순서에 따라 연접하여 제3 셀 위치 데이터를 생성하고,
상기 메타 데이터 기록부는 상기 암호화 데이터 및 상기 제3 셀 위치 데이터를 연접하여 상기 스프레드시트 전자 문서의 메타 데이터 영역에 기록하는
스프레드시트 전자 문서의 개체 보호 장치.
The method of claim 2,
If the number of the plurality of first reference cells exceeds a preset number, the encryption unit may include a plurality of the plurality of first reference cells less than or equal to the preset number based on a reference distance of each of the plurality of first reference cells. Extracting second reference cells and concatenating the entities of the plurality of second reference cells according to a third concatenating order determined based on location information of the plurality of second reference cells to generate third concatenated data; Concatenating the third concatenated data to first concatenated entity data, hash encrypting the first and third concatenated data, and encrypting using the private key of the user to generate encrypted data;
The cell position data generation unit, when the number of the plurality of first reference cells exceeds a preset number and the second reference cells are extracted, the position information of the plurality of second reference cells in the first cell position data. Concatenate according to the third concatenation order to generate third cell position data,
The metadata recording unit concatenates the encrypted data and the third cell location data and records the metadata in the metadata area of the spreadsheet electronic document.
Object protector in spreadsheet electronic documents.
제3항에 있어서,
상기 사전 설정된 개수는 상기 스프레드시트 전자 문서의 데이터 크기의 사전 설정된 비율에 상응하는 개수인
스프레드시트 전자 문서의 개체 보호 장치.
The method of claim 3,
The preset number is a number corresponding to a preset ratio of the data size of the spreadsheet electronic document.
Object protector in spreadsheet electronic documents.
스프레드시트 전자 문서의 다수의 셀들 중 사용자의 입력 장치에 의해 선택된 다수의 셀들에 대해 개체 보호 요청이 입력되면, 상기 선택된 다수의 셀들의 개체를 상기 선택된 다수의 셀들의 위치 정보에 기초하여 결정되는 연접 순서에 따라 연접하여 제1 연접 데이터를 생성하고, 상기 제1 연접 데이터를 해시 암호화한 후 상기 사용자의 개인키를 이용하여 암호화하여 암호화 데이터를 생성하는 단계;
상기 선택된 다수의 셀들의 위치 정보를 상기 연접 순서에 따라 연접하여 제1 셀 위치 데이터를 생성하는 단계; 및
상기 암호화 데이터 및 상기 제1 셀 위치 데이터를 연접하여 상기 스프레드시트 전자 문서의 메타 데이터 영역에 기록하는 단계
를 포함하는 스프레드시트 전자 문서의 개체 보호 장치의 동작 방법.
When an object protection request is input for a plurality of cells selected by a user's input device among a plurality of cells of a spreadsheet electronic document, a concatenation for determining an object of the selected plurality of cells based on location information of the selected plurality of cells. Generating first concatenated data by concatenating according to a sequence, and encrypting the first concatenated data by using a private key of the user to generate encrypted data;
Generating first cell position data by concatenating position information of the selected plurality of cells in the concatenation order; And
Concatenating the encrypted data and the first cell location data and writing them to a metadata area of the spreadsheet electronic document
Operating method of the object protector of the electronic document in the spreadsheet.
제5항에 있어서,
상기 암호화 데이터 생성 단계는 상기 선택된 다수의 셀들이 참조하는 다수의 참조 셀들이 존재하는 경우, 상기 다수의 참조 셀들 중 상기 선택된 다수의 셀들에 포함되지 않는 다수의 제1 참조 셀들을 선정하고, 상기 다수의 제1 참조 셀들의 개체를 상기 다수의 제1 참조 셀들의 위치 정보에 기초하여 결정되는 제2 연접 순서에 따라 연접하여 제2 연접 데이터를 생성하고, 상기 제1 연접 개체 데이터에 상기 제2 연접 데이터를 연접하고, 상기 제1 및 2 연접 데이터를 해시 암호화한 후 상기 사용자의 상기 개인키를 이용하여 암호화하여 암호화 데이터를 생성하고,
상기 셀 위치 데이터 생성 단계는 상기 제1 셀 위치 데이터에 상기 다수의 제1 참조 셀들의 위치 정보를 상기 제2 연접 순서에 따라 연접하여 제2 셀 위치 데이터를 생성하고,
상기 메타 데이터 기록 단계는 상기 암호화 데이터 및 상기 제2 셀 위치 데이터를 연접하여 상기 스프레드시트 전자 문서의 메타 데이터 영역에 기록하는
스프레드시트 전자 문서의 개체 보호 장치의 동작 방법.
The method of claim 5,
The generating of the encrypted data may select a plurality of first reference cells that are not included in the selected plurality of cells among the plurality of reference cells when there are a plurality of reference cells referenced by the selected plurality of cells. Generating second concatenated data by concatenating the entities of the first reference cells of the second reference cells according to a second concatenated order determined based on the positional information of the plurality of first reference cells and generating the second concatenated data. Concatenate data, hash-encrypt the first and second concatenated data, and then encrypt the data using the private key of the user to generate encrypted data,
In the generating of the cell position data, second cell position data is generated by concatenating position information of the plurality of first reference cells with the first cell position data in the second concatenated order.
In the recording of the metadata, the encrypted data and the second cell position data are concatenated and recorded in the metadata area of the spreadsheet electronic document.
How object protectors work in spreadsheet electronic documents.
제6항에 있어서,
상기 암호화 데이터 생성 단계는 상기 다수의 제1 참조 셀들의 개수가 사전 설정된 개수를 초과하면, 상기 다수의 제1 참조 셀들 각각의 참조 거리에 기초하여 상기 다수의 제1 참조 셀들 중 상기 사전 설정된 개수 이하의 다수의 제2 참조 셀들을 추출하고, 상기 다수의 제2 참조 셀들의 개체를 상기 다수의 제2 참조 셀들의 위치 정보에 기초하여 결정되는 제3 연접 순서에 따라 연접하여 제3 연접 데이터를 생성하고, 상기 제1 연접 개체 데이터에 상기 제3 연접 데이터를 연접하고, 상기 제1 및 3 연접 데이터를 해시 암호화한 후 상기 사용자의 상기 개인키를 이용하여 암호화하여 암호화 데이터를 생성하고,
상기 셀 위치 데이터 생성 단계는 상기 다수의 제1 참조 셀들의 개수가 사전 설정된 개수를 초과하여, 상기 제2 참조 셀들이 추출된 경우, 상기 제1 셀 위치 데이터에 상기 다수의 제2 참조 셀들의 위치 정보를 상기 제3 연접 순서에 따라 연접하여 제3 셀 위치 데이터를 생성하고,
상기 메타 데이터 기록 단계는 상기 암호화 데이터 및 상기 제3 셀 위치 데이터를 연접하여 상기 스프레드시트 전자 문서의 메타 데이터 영역에 기록하는
스프레드시트 전자 문서의 개체 보호 장치의 동작 방법.
The method of claim 6,
The generating of the encrypted data may be performed when the number of the plurality of first reference cells exceeds a preset number, based on a reference distance of each of the plurality of first reference cells. Extracts a plurality of second reference cells of the plurality of second reference cells, and generates the third concatenated data by concatenating the entities of the plurality of second reference cells according to a third concatenated order determined based on location information of the plurality of second reference cells; And concatenate the third concatenated data to the first concatenated entity data, hash encrypt the first and third concatenated data, and then encrypt the data using the private key of the user to generate encrypted data.
The generating of the cell position data may include: when the second reference cells are extracted because the number of the plurality of first reference cells exceeds a preset number, the positions of the plurality of second reference cells in the first cell position data. Concatenate information according to the third concatenation order to generate third cell position data,
In the metadata recording step, the encrypted data and the third cell location data are concatenated and recorded in the metadata area of the spreadsheet electronic document.
How object protectors work in spreadsheet electronic documents.
제7항에 있어서,
상기 사전 설정된 개수는 상기 스프레드시트 전자 문서의 데이터 크기의 사전 설정된 비율에 상응하는 개수인
스프레드시트 전자 문서의 개체 보호 장치의 동작 방법.
The method of claim 7, wherein
The preset number is a number corresponding to a preset ratio of the data size of the spreadsheet electronic document.
How object protectors work in spreadsheet electronic documents.
제5항 내지 제8항 중 어느 한 항의 방법을 컴퓨터로 하여금 수행하도록 하는 프로그램을 기록한 컴퓨터 판독 가능 기록 매체.A computer readable recording medium having recorded thereon a program for causing a computer to perform the method of any one of claims 5 to 8. 제5항 내지 제8항 중 어느 한 항의 방법을 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램.A computer program stored in a storage medium for executing the method of any one of claims 5 to 8 in combination with a computer.
KR1020180061043A 2018-05-29 2018-05-29 Apparatus for protecting contents of spread sheet type electric document and operating method thereof KR102119726B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180061043A KR102119726B1 (en) 2018-05-29 2018-05-29 Apparatus for protecting contents of spread sheet type electric document and operating method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180061043A KR102119726B1 (en) 2018-05-29 2018-05-29 Apparatus for protecting contents of spread sheet type electric document and operating method thereof

Publications (2)

Publication Number Publication Date
KR20190135700A true KR20190135700A (en) 2019-12-09
KR102119726B1 KR102119726B1 (en) 2020-06-05

Family

ID=68837494

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180061043A KR102119726B1 (en) 2018-05-29 2018-05-29 Apparatus for protecting contents of spread sheet type electric document and operating method thereof

Country Status (1)

Country Link
KR (1) KR102119726B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102328054B1 (en) * 2020-05-13 2021-11-17 주식회사 한글과컴퓨터 Electronic device that provides object protection function for maintaining the original data of object embedded in electronic document and operating method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100061693A (en) * 2007-09-28 2010-06-08 마이크로소프트 코포레이션 Spreadsheet workbook part libraries
US20120185759A1 (en) * 2011-01-13 2012-07-19 Helen Balinsky System and method for collaboratively editing a composite document
KR101247564B1 (en) * 2013-01-24 2013-03-26 토피도 주식회사 Method of protecting data from malicious modification in data base system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100061693A (en) * 2007-09-28 2010-06-08 마이크로소프트 코포레이션 Spreadsheet workbook part libraries
US20120185759A1 (en) * 2011-01-13 2012-07-19 Helen Balinsky System and method for collaboratively editing a composite document
KR101247564B1 (en) * 2013-01-24 2013-03-26 토피도 주식회사 Method of protecting data from malicious modification in data base system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
‘Google 스프레드시트 셀 보호 기능’, 동영상 [0:00~0:45] 참조* *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102328054B1 (en) * 2020-05-13 2021-11-17 주식회사 한글과컴퓨터 Electronic device that provides object protection function for maintaining the original data of object embedded in electronic document and operating method thereof

Also Published As

Publication number Publication date
KR102119726B1 (en) 2020-06-05

Similar Documents

Publication Publication Date Title
TW591386B (en) Recording apparatus, method, and computer-readable medium recording related computer program
US7770227B2 (en) Right information management method and right information management device
US20170230352A1 (en) Method and System for Securing Data
US9639708B2 (en) Methods and systems of encrypting file system directories
US11256662B2 (en) Distributed ledger system
US20120257743A1 (en) Multiple independent encryption domains
US8972747B2 (en) Managing information in a document serialization
KR102119726B1 (en) Apparatus for protecting contents of spread sheet type electric document and operating method thereof
EP1540444A2 (en) Computer encryption systems
KR101247564B1 (en) Method of protecting data from malicious modification in data base system
KR102136656B1 (en) Electronic terminal device capable of processing conditional security settings for a memo entered in a spreadsheet and operating method thereof
KR100859651B1 (en) Storage medium of recording data structure for storing variable size data, method of storing variable size data, and computer-readable storage medium of storing program for executing method of storing variable size data
KR102417814B1 (en) Electronic document management server that supports security settings for some content embedded in electronic documents based on member identification information and operating method thereof
KR101572242B1 (en) Preventing system and method for copying electronic book
CN101814120A (en) Word document data transfer based on digital watermarking
JP4338185B2 (en) How to encrypt / decrypt files
JP2001043135A (en) Data extracting method and storage medium storing data extraction program
KR102417811B1 (en) Document translation service server which provides document translation services with personal information protection function and the operating method thereof
JP2004178312A (en) Program for creating access key for file random split
KR101451828B1 (en) Data encryption and decryption device and method
JP6957292B2 (en) File management system and file management program
KR102300422B1 (en) Electronic device that enables previewing of mathematical calculation results and data security settings in spreadsheets and operating method thereof
CN111404662B (en) Data processing method and device
US20230060837A1 (en) Encrypted file name metadata in a distributed file system directory entry
US20130036474A1 (en) Method and Apparatus for Secure Data Representation Allowing Efficient Collection, Search and Retrieval

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant