KR102108192B1 - Method, Apparatus and System for Inserting Watermark - Google Patents

Method, Apparatus and System for Inserting Watermark Download PDF

Info

Publication number
KR102108192B1
KR102108192B1 KR1020130061972A KR20130061972A KR102108192B1 KR 102108192 B1 KR102108192 B1 KR 102108192B1 KR 1020130061972 A KR1020130061972 A KR 1020130061972A KR 20130061972 A KR20130061972 A KR 20130061972A KR 102108192 B1 KR102108192 B1 KR 102108192B1
Authority
KR
South Korea
Prior art keywords
text
user
user device
digital document
code
Prior art date
Application number
KR1020130061972A
Other languages
Korean (ko)
Other versions
KR20140140928A (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 KR1020130061972A priority Critical patent/KR102108192B1/en
Publication of KR20140140928A publication Critical patent/KR20140140928A/en
Application granted granted Critical
Publication of KR102108192B1 publication Critical patent/KR102108192B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N1/32144Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/20Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits characterised by logic function, e.g. AND, OR, NOR, NOT circuits
    • H03K19/21EXCLUSIVE-OR circuits, i.e. giving output if input signal exists at only one input; COINCIDENCE circuits, i.e. giving output only if all input signals are identical
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/387Composing, repositioning or otherwise geometrically modifying originals
    • H04N1/393Enlarging or reducing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N2201/3201Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N2201/3225Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title of data relating to an image, a page or a document
    • H04N2201/3233Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title of data relating to an image, a page or a document of authentication information, e.g. digital signature, watermark
    • H04N2201/3235Checking or certification of the authentication information, e.g. by comparison with data stored independently
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N2201/3201Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N2201/3225Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title of data relating to an image, a page or a document
    • H04N2201/3233Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title of data relating to an image, a page or a document of authentication information, e.g. digital signature, watermark
    • H04N2201/3239Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title of data relating to an image, a page or a document of authentication information, e.g. digital signature, watermark using a plurality of different authentication information

Abstract

워터마크 삽입 방법, 장치 및 시스템, 워터마크 검출 방법 및 장치, 및 디지털 문서 보호 시스템이 개시되어 있다. 워터마크 삽입 방법은, 디지털 문서로부터 텍스트 영역을 검출하고, 사용자 장치에 대응하는 유니크 한 바이너리 코드인 사용자 코드를 기반으로 하여 텍스트 영역 내의 텍스트들 중 변형할 적어도 하나의 텍스트를 검출하고, 사용자 코드를 기반으로 하여, 검출된 적어도 하나의 텍스트를 변형할 수 있다. 따라서, 디지털 문서의 디스플레이 시 사용자 장치와 연계되는 사용자 코드를 기반으로 하여 간결한 고유의 알고리즘을 사용하여 디지털 문서에 포함된 텍스트 등을 변형할 수 있다. Disclosed are a watermark embedding method, apparatus and system, a watermark detecting method and apparatus, and a digital document protection system. The watermark embedding method detects a text area from a digital document, detects at least one text to be transformed among texts in the text area based on the user code, which is a unique binary code corresponding to a user device, and detects the user code. Based on this, it is possible to transform the detected at least one text. Therefore, upon display of a digital document, a text or the like included in the digital document can be modified using a simple and unique algorithm based on a user code associated with a user device.

Description

워터마크 삽입 방법, 장치 및 시스템 {Method, Apparatus and System for Inserting Watermark}Method, Apparatus and System for Inserting Watermark}

본 발명은 워터마크 삽입 방법, 장치 및 시스템, 워터마크 검출 방법 및 장치, 및 디지털 문서 보호 시스템에 관한 것으로서, 좀더 상세하게는 디지털 문서의 디스플레이 시 해당 사용자 장치와 연계되는 사용자 코드를 기반으로 고유의 알고리즘을 사용하여 디지털 문서에 워터마크를 삽입하고, 이를 검출할 수 있는 효율적인 워터마크 삽입 및 검출 기술에 관한 것이다.
The present invention relates to a watermark embedding method, an apparatus and system, a watermark detecting method and apparatus, and a digital document protection system, and more specifically, based on a user code associated with a corresponding user device when displaying a digital document. An efficient watermark insertion and detection technology capable of inserting a watermark into a digital document using an algorithm and detecting it.

최근 들어, 디지털 정보 처리 기술이 발전하고 디지털화를 위한 인프라 구축이 실현되면서 새로운 정보화 사회로 진입하고 있다. 이러한 정보화 사회에서는 오피스 업무, 결제 서비스, 증명서 발급, 뱅킹, 전자상거래 등 생활 전반과 관련된 거의 모든 업무나 서비스들이 온라인 및 전산화된 환경을 통하여 이루어진다. 근래에는 선진국뿐 아니라 개발도상국의 정부 및 민간기업에 이르기까지 대부분의 기관들은 스마트워크를 도입하여 그들의 업무를 처리하고 있기도 하다.Recently, with the development of digital information processing technology and the establishment of an infrastructure for digitization, it has entered a new information society. In this information-oriented society, almost all jobs and services related to life, such as office work, payment services, certificate issuance, banking, and e-commerce, are conducted through online and computerized environments. In recent years, most institutions, from developed countries to governments and private companies in developing countries, have introduced smart work to handle their work.

이러한 온라인 및 전산화된 환경에서, 디지털 문서는 생성, 열람, 저장, 편집, 전송 등의 대상이 될 수 있다. 여기서 디지털 문서란 텍스트나, 이미지 또는 멀티미디어 등을 포함하는 디지털화된 정보를 의미할 수 있다. 디지털 문서는 과거의 종이 문서에 비하여 기록, 보관, 전송, 복제 등 훨씬 용이하기 때문에, 현재 사회 전반의 거의 모든 분야들에 있어서 종이 문서를 대체하고 있다. 이러한 디지털 문서의 사용은 앞으로도 더욱 증가할 것으로 전망되고 있다.In this online and computerized environment, digital documents can be targeted for creation, viewing, storage, editing, and transmission. Here, the digital document may mean digitized information including text, images, or multimedia. Since digital documents are much easier to record, archive, transmit, and duplicate than paper documents of the past, paper documents are currently being replaced in almost all fields of society. The use of such digital documents is expected to increase in the future.

그러나 한편으로, 디지털 문서는 디지털화된 정보의 특성 상 손실 없는 복제나 전송 등이 매우 용이하므로 불법적인 행위를 통한 유출에 상당히 취약하다. 예를 들면, 디지털 문서화된 기업의 내부 정보는 불손한 의도를 가진 특정인이 디지털 디바이스를 사용하여 외부로 쉽게 유출될 수 있다. 특히, 점점 발전되는 해킹기법으로 인하여, 정부 기관 및 각 민간 기업의 내부 정보 유출로 인한 기관의 존망을 결정짓는 막대한 손실이 실제로 발생되고 있다.On the other hand, digital documents, on the other hand, are very vulnerable to leakage through illegal acts because of the nature of digitized information, it is very easy to copy or transmit without loss. For example, internal information of a digitally documented company can easily be leaked to the outside using a digital device by a person with unintended intent. In particular, due to the increasingly developed hacking techniques, enormous losses that determine the existence of governmental agencies and organizations due to the leakage of internal information from each private company are actually occurring.

따라서, 건전한 디지털 문서의 사용 환경을 조성하기 위해서는 디지털 문서를 불법적인 행위로부터 보호할 수 있는 보호 수단이 필수적으로 요구되고 있다. 디지털 워터마크는 이러한 보호 수단의 하나로서, 약속된 정보를 포함하는 코드나 패턴을 디지털 콘텐트나 신호에 삽입함으로써 디지털 문서의 불법적인 복제를 방지하고 정보 소유자의 저작권 및 소유권을 효율적으로 보호하기 위한 기술이다.Therefore, in order to create a healthy environment for using digital documents, a protection means capable of protecting digital documents from illegal acts is essential. A digital watermark is one of these protection measures, and technology for preventing illegal copying of digital documents and effectively protecting the copyright and ownership of information owners by embedding codes or patterns containing promised information into digital content or signals. to be.

이러한 디지털 워터마크는 사용자가 이미지를 보거나 소프트웨어를 사용하는 데는 지장을 주지 않으면서도 원본의 출처나 복제 경로를 찾아내는 데는 유용하게 사용될 수 있다. 예를 들면, 한국특허공개 제2013-0039226호는 사용자의 조작에 의하여 어플리케이션이 실행되거나 디지털 문서가 열리는 경우 운영체제에서 발생되는 메시지 및 스크린 워터마크 표시 정책을 기초로 워터마크의 표시 여부를 판단하고, 워터마크를 표시하는 것으로 판단한 경우, 워터마크를 화면상에 표시하는 표시 방법 및 장치기 개시되어 있다.These digital watermarks can be useful for finding the origin or reproduction path of the original without disturbing the user viewing the image or using the software. For example, Korean Patent Publication No. 2013-0039226 determines whether a watermark is displayed based on a message generated by an operating system and a screen watermark display policy when an application is executed or a digital document is opened by a user's manipulation, Disclosed is a display method and apparatus for displaying a watermark on a screen when it is determined to display the watermark.

현재 많은 업체에서 디지털 워터마크를 삽입할 수 있는 알고리즘 및 기술을 연구하고 있다. 효율적인 디지털 워터마크 시스템은 문서의 열람에 지정을 주지 않도록 육안으로 식별되지 않으면서도, 카메라를 이용한 촬영 등에 의한 문서의 유출 시에 유출자의 파악이 가능하도록 검출 및 해독이 용이하여야 한다. 또한 너무 복잡한 워터마크 알고리즘 사용함으로 인하여 시스템에 부담을 주거나, 문서의 변형에 따른 텍스트나 이미지의 오버플로우를 발생시키는 것은 적절치 않다.Currently, many companies are researching algorithms and technologies that can embed digital watermarks. An efficient digital watermark system should be easy to detect and decipher so that it is possible to identify the leaked person when the document is leaked by shooting with a camera, etc., without being discriminated with the naked eye so as not to designate the reading of the document. In addition, it is not appropriate to use an overly complex watermark algorithm to place a burden on the system or to cause overflow of text or images due to document deformation.

따라서, 엄격한 보안성은 보장하면서도 알고리즘이 간결하여 시스템의 부담을 줄여줄 수 있고, 디지털 문서에 포함된 텍스트나 이미지의 오버플로우를 발생시키지 않는 효율적인 새로운 워터마크 시스템의 개발이 시급히 요구되고 있는 실정이다.
Accordingly, there is an urgent need to develop an efficient new watermark system that guarantees strict security while reducing the burden on the system by simplifying the algorithm, and does not cause overflow of text or images included in digital documents.

한국특허공개 제2013-0039226호Korea Patent Publication No. 2013-0039226

본 발명은 이러한 문제점을 해결하기 위한 것으로서, 디지털 문서의 디스플레이 시 사용자 장치와 연계되는 사용자 코드를 기반으로 고유의 알고리즘을 사용하여 디지털 문서에 포함된 텍스트 등을 변형하는 워터마크 삽입 방법, 장치 및 시스템을 제공하는데 본 발명의 목적이 있다.The present invention is to solve this problem, a method for inserting a watermark, a device and a system for transforming text or the like contained in a digital document using a unique algorithm based on a user code associated with a user device when displaying a digital document It is an object of the present invention to provide.

또한, 상기 워터마크 삽입 방법 및 장치에 의하여 처리된 디지털 문서가 화면 캡쳐, 사진 촬영 등을 통하여 유출되었을 시에 디지털 문서의 유출자를 용이하게 판별할 수 있도록 하는 워터마크 검출 방법 및 장치를 제공하는데 본 발명의 다른 목적이 있다.In addition, the present invention provides a watermark detection method and apparatus that facilitates discrimination of a digital document leaker when a digital document processed by the watermark insertion method and device is leaked through screen capture or photo shooting. There is another object of the invention.

또한, 상기 워터마크 삽입 장치 및 워터마크 검출 장치를 사용하여 디지털 문서를 불법적인 행위로부터 보호할 수 있는 디지털 문서 보호 시스템을 제공하는데 본 발명의 또 다른 목적이 있다.
Another object of the present invention is to provide a digital document protection system capable of protecting digital documents from illegal acts using the watermark embedding device and the watermark detection device.

이러한 목적을 달성하기 위하여 본 발명은 일 측면(Aspect)에서 워터마크 삽입 방법을 제공한다. 상기 워터마크 삽입 방법은, 워터마크 삽입 장치에 의하여 수행되며, 디지털 문서로부터 텍스트 영역을 검출하는 단계; 사용자 장치에 대응하는 유니크 한 바이너리 코드인 사용자 코드를 기반으로 하여, 상기 텍스트 영역 내의 텍스트들 중 변형할 적어도 하나의 텍스트를 검출하는 단계; 및 상기 사용자 코드를 기반으로 하여, 검출된 상기 적어도 하나의 텍스트를 변형하는 단계를 포함한다.To achieve this object, the present invention provides a watermark embedding method in one aspect. The watermark embedding method is performed by a watermark embedding device, the method comprising: detecting a text area from a digital document; Detecting at least one text to be modified among texts in the text area based on the user code which is a unique binary code corresponding to a user device; And modifying the detected at least one text based on the user code.

상기 워터마크 삽입 방법은, 상기 사용자 장치에 구비된 보안 뷰어의 고유 키, 상기 사용자 장치의 물리적인 식별 정보 및 상기 사용자 장치에 대응하는 사용자 식별 정보 중 적어도 어느 하나를 기반으로 하여, 상기 사용자 코드를 생성하는 단계를 더 포함할 수도 있다.The watermark embedding method is based on at least one of a unique key of a security viewer provided on the user device, physical identification information of the user device, and user identification information corresponding to the user device. It may further include the step of generating.

상기 워터마크 삽입 방법은, 상기 사용자 장치로부터 상기 디지털 문서를 요청하는 요청을 수신하는 단계; 상기 사용자 장치로 상기 사용자 코드의 생성에 필요한 정보를 요청하는 단계; 및 상기 사용자 코드의 생성에 필요한 정보를 상기 사용자 장치로부터 수신하는 단계를 더 포함할 수도 있다.The watermark embedding method includes: receiving a request for requesting the digital document from the user device; Requesting information necessary for generating the user code to the user device; And receiving information required to generate the user code from the user device.

상기 적어도 하나의 텍스트를 검출하는 단계는, 상기 사용자 코드를 기반으로 하여, 상기 텍스트 영역 내의 텍스트 라인 중 변형할 텍스트 라인을 검출하는 단계를 포함할 수 있다. 예를 들어, 상기 변형할 텍스트 라인을 검출하는 단계는, 상기 텍스트 영역 내의 각 텍스트 라인을 상기 사용자 코드의 각 비트 값에 순차적으로 대응시키는 단계; 및 대응된 비트가 제 1 값인 텍스트 라인을 검출하는 단계를 포함할 수 있다. 상기 적어도 하나의 텍스트를 변형하는 단계는, 상기 검출된 텍스트 라인 내의 텍스트의 폰트 사이즈를 축소하거나 텍스트 두께를 축소시키는 단계를 포함할 수 있다. The detecting of the at least one text may include detecting a text line to be transformed among text lines in the text area based on the user code. For example, detecting the text line to be modified may include: sequentially matching each text line in the text area to each bit value of the user code; And detecting a text line whose corresponding bit is a first value. The step of transforming the at least one text may include reducing the font size of the text in the detected text line or reducing the text thickness.

상기 적어도 하나의 텍스트를 검출하는 단계는, 상기 텍스트 영역 내에 포함된 텍스트들에 포함되어 있는 가장 많은 자음 또는 모음을 검출하는 단계; 및 상기 사용자 코드를 기반으로 하여, 상기 검출된 자음 또는 모음을 포함하는 텍스트들 중 변형할 텍스트를 검출하는 단계를 포함할 수도 있다. 예를 들어, 상기 변형할 텍스트를 검출하는 단계는, 상기 텍스트 영역 내의 상기 검출된 자음 또는 모음을 포함하는 각 텍스트를 상기 사용자 코드의 각 비트 값에 순차적으로 대응시키는 단계; 및 대응된 비트가 제 1 값인 텍스트를 검출하는 단계를 포함할 수 있다. 상기 적어도 하나의 텍스트를 변형하는 단계는, 검출된 상기 변형할 텍스트의 폰트 사이즈를 축소하거나 텍스트 두께를 축소시키는 단계를 포함할 수도 있다. The detecting of the at least one text may include detecting the most consonants or vowels included in texts included in the text area; And detecting text to be transformed among texts including the detected consonants or vowels based on the user code. For example, detecting the text to be modified may include: sequentially matching each text including the detected consonant or vowel in the text area to each bit value of the user code; And detecting the text whose corresponding bit is the first value. The step of deforming the at least one text may include reducing the font size of the detected text to be deformed or reducing the text thickness.

상기 워터마크 삽입 방법은, 상기 디지털 문서로부터 이미지 영역을 검출하는 단계; 검출된 상기 이미지 영역의 이미지를 미리 정해진 세부 조각으로 분할하는 단계; 및 상기 사용자 코드를 기반으로 하여, 상기 분할된 세부 조각에 정해진 연산을 가하는 단계를 더 포함할 수도 있다. 예를 들어, 상기 정해진 연산을 가하는 단계는, 상기 사용자 코드를 기반으로 하는 비트 열을 생성하는 단계; 및 상기 분할된 세부 조각에 익스클루시브 오어(XOR) 연산을 사용하여 상기 비트 열을 삽입하는 단계를 포함할 수도 있다.The watermark embedding method includes: detecting an image area from the digital document; Dividing the detected image of the image area into predetermined detailed pieces; And based on the user code, applying a predetermined operation to the divided detailed pieces. For example, applying the predetermined operation may include: generating a bit stream based on the user code; And inserting the bit string using an exclusive OR (XOR) operation on the divided detail piece.

상기 워터마크 삽입 방법은, 상기 적어도 하나의 텍스트를 변형한 디지털 문서의 파일 확장자를 미리 정해진 확장자로 변환하는 단계; 및 상기 미리 정해진 확장자로 변환된 디지털 문서를 상기 사용자 장치로 전송하는 단계를 더 포함할 수도 있다. 상기 사용자 장치로 전송된 디지털 문서는 상기 사용자 장치에 구비된 정해진 보안 뷰어에 의하여 디스플레이되며, 일반 뷰어 및 다른 사용자 장치로부터의 접근은 차단될 수 있다.The watermark embedding method includes: converting a file extension of a digital document in which the at least one text is modified into a predetermined extension; And transmitting the digital document converted to the predetermined extension to the user device. The digital document transmitted to the user device is displayed by a predetermined security viewer provided on the user device, and access from a general viewer and other user devices may be blocked.

한편, 상술한 본 발명의 목적을 달성하기 위하여 본 발명은 다른 측면에서 워터마크 삽입 장치를 제공한다. 상기 워터마크 삽입 장치는, 디지털 문서로부터 텍스트 영역을 검출하는 영역 검출부; 및 사용자 장치에 대응하는 유니크 한 바이너리 코드인 사용자 코드를 기반으로 하여, 상기 텍스트 영역 내의 텍스트들 중 변형할 적어도 하나의 텍스트를 검출하고, 유니크 한 바이너리 코드인 사용자 코드를 기반으로 하여, 검출된 상기 적어도 하나의 텍스트를 변형하는 텍스트 처리부를 포함할 수 있다.On the other hand, in order to achieve the object of the present invention described above, the present invention provides a watermark embedding apparatus in another aspect. The watermark embedding apparatus includes: an area detection unit that detects a text area from a digital document; And detecting at least one text to be transformed among texts in the text area based on the user code, which is a unique binary code corresponding to the user device, and detecting the text, based on the user code, which is a unique binary code. And a text processing unit that transforms at least one text.

상기 워터마크 삽입 장치는, 상기 사용자 장치에 구비된 보안 뷰어의 고유 키, 상기 사용자 장치의 물리적인 식별 정보 및 상기 사용자 장치에 대응하는 사용자 식별 정보 중 적어도 어느 하나를 기반으로 하여, 상기 사용자 코드를 사용자 코드 생성부를 더 포함할 수 있다.The watermark insertion device, based on at least one of the unique key of the security viewer provided on the user device, the physical identification information of the user device and the user identification information corresponding to the user device, the user code The user code generation unit may be further included.

상기 워터마크 삽입 장치는, 상기 사용자 장치로부터 상기 디지털 문서를 요청하는 요청을 수신하고, 상기 사용자 장치로 상기 사용자 코드의 생성에 필요한 정보를 요청하고, 상기 사용자 코드의 생성에 필요한 정보를 상기 사용자 장치로부터 수신하는 사용자 코드 생성부를 더 포함할 수도 있다.The watermark embedding device receives a request for requesting the digital document from the user device, requests information required to generate the user code from the user device, and receives information required to generate the user code from the user device It may further include a user code generator receiving from.

상기 텍스트 처리부는, 상기 사용자 코드를 기반으로 하여 상기 텍스트 영역 내의 텍스트 라인 중 변형할 텍스트 라인을 검출하고, 상기 검출된 텍스트 라인 내의 텍스트의 폰트 사이즈를 축소하거나 텍스트 두께를 축소시킬 수 있다. 예를 들어, 상기 텍스트 처리부는, 상기 텍스트 영역 내의 각 텍스트 라인을 상기 사용자 코드의 각 비트 값에 순차적으로 대응시키고, 대응된 비트가 제 1 값인 텍스트 라인을 검출할 수 있다.The text processing unit may detect a text line to be deformed among text lines in the text area based on the user code, and reduce the font size or text thickness of the text in the detected text line. For example, the text processing unit may sequentially associate each text line in the text area with each bit value of the user code, and detect a text line whose corresponding bit is the first value.

상기 텍스트 처리부는, 상기 텍스트 영역 내에 포함된 텍스트들에 포함되어 있는 가장 많은 자음 또는 모음을 검출하고, 상기 사용자 코드를 기반으로 하여 상기 검출된 자음 또는 모음을 포함하는 텍스트들 중 변형할 텍스트를 검출하고, 검출된 상기 변형할 텍스트의 폰트 사이즈를 축소하거나 텍스트 두께를 축소시킬 수 있다. 예를 들어, 상기 텍스트 처리부는, 상기 텍스트 영역 내의 상기 검출된 자음 또는 모음을 포함하는 각 텍스트를 상기 사용자 코드의 각 비트 값에 순차적으로 대응시키고, 대응된 비트가 제 1 값인 텍스트를 할 수 있다.The text processing unit detects the most consonants or vowels included in texts included in the text area, and detects text to be transformed among texts containing the detected consonants or vowels based on the user code. Then, the font size of the detected text to be deformed may be reduced or the text thickness may be reduced. For example, the text processing unit may sequentially match each text including the detected consonant or vowel in the text area to each bit value of the user code, and perform text having a corresponding bit as a first value. .

상기 워터마크 삽입 장치는, 상기 디지털 문서로부터 이미지 영역을 검출하고, 검출된 상기 이미지 영역의 이미지를 미리 정해진 세부 조각으로 분할하고, 상기 사용자 코드를 기반으로 하여, 상기 분할된 세부 조각에 정해진 연산을 가하는 이미지 처리부를 더 포함할 수도 있다. 상기 이미지 처리부는, 상기 사용자 코드를 기반으로 하는 비트 열을 생성하고, 상기 분할된 세부 조각에 익스클루시브 오어(XOR) 연산을 사용하여 상기 비트 열을 삽입할 수 있다.The watermark embedding apparatus detects an image area from the digital document, divides the detected image of the image area into predetermined detail pieces, and performs an operation determined on the divided detail pieces based on the user code. The applied image processing unit may be further included. The image processing unit may generate a bit string based on the user code, and insert the bit string using an exclusive OR (XOR) operation on the divided detailed pieces.

상기 워터마크 삽입 장치는, 상기 적어도 하나의 텍스트를 변형한 디지털 문서의 파일 확장자를 미리 정해진 확장자로 변환하는 변환부; 및 상기 미리 정해진 확장자로 변환된 디지털 문서를 상기 사용자 장치로 전송하는 전송부를 더 포함할 수 있다. 상기 사용자 장치로 전송된 디지털 문서는 상기 사용자 장치에 구비된 정해진 보안 뷰어에 의하여 디스플레이되며, 일반 뷰어 및 다른 사용자 장치로부터의 접근은 차단될 수 있다.The watermark embedding apparatus includes: a conversion unit that converts a file extension of the digital document in which the at least one text is modified into a predetermined extension; And a transmission unit transmitting the digital document converted to the predetermined extension to the user device. The digital document transmitted to the user device is displayed by a predetermined security viewer provided on the user device, and access from a general viewer and other user devices may be blocked.

한편, 상술한 본 발명의 목적을 달성하기 위하여 본 발명은 또 다른 측면에서 워터마크 삽입 시스템을 제공한다. 상기 워터마크 삽입 시스템은, 네트워크를 통하여 디지털 문서를 요청하는 사용자 장치; 및 상기 디지털 문서로부터 텍스트 영역을 검출하고, 상기 사용자 장치에 대응하는 유니크 한 바이너리 코드인 사용자 코드를 기반으로 하여, 상기 텍스트 영역 내의 텍스트들 중 변형할 적어도 하나의 텍스트를 검출하고, 상기 사용자 코드를 기반으로 하여, 검출된 상기 적어도 하나의 텍스트를 변형하는 워터마크 삽입 장치를 포함할 수 있다.On the other hand, in order to achieve the object of the present invention described above, the present invention provides a watermark embedding system in another aspect. The watermark embedding system includes: a user device requesting a digital document through a network; And detecting a text area from the digital document, detecting at least one text to be transformed among texts in the text area, based on a user code that is a unique binary code corresponding to the user device, and detecting the user code. Based on this, it may include a watermark embedding device for modifying the detected at least one text.

한편, 상술한 본 발명의 다른 목적을 달성하기 위하여 본 발명은 또 다른 측면에서 워터마크 검출 방법을 제공한다. 상기 워터마크 검출 방법은, 디지털 문서 이미지로부터 텍스트 영역을 검출하는 단계; 상기 텍스트 영역의 텍스트를 원본 이미지의 대응된 영역의 텍스트와 비교함에 의하여, 상기 텍스트 영역 내의 텍스트들 중 변형된 텍스트를 검출하는 단계; 및 상기 변형된 텍스트를 기반으로 하여, 사용자 장치를 식별할 수 있는 유니크 한 바이너리 코드인 사용자 코드를 검출하는 단계를 포함할 수 있다.On the other hand, in order to achieve the other object of the present invention described above, the present invention provides a watermark detection method in another aspect. The watermark detection method includes: detecting a text area from a digital document image; Detecting a deformed text among texts in the text area by comparing the text in the text area with text in a corresponding area of the original image; And detecting the user code, which is a unique binary code that can identify the user device, based on the modified text.

상기 사용자 코드를 검출하는 단계는, 상기 텍스트 영역 내의 텍스트 라인들 중 변형된 텍스트 라인에 제 1 값을 대응시키는 것을 기반으로 하여, 상기 사용자 코드를 검출하는 단계를 포함할 수 있다. 상기 사용자 코드를 검출하는 단계는, 상기 텍스트 영역 내에서 가장 많은 자음 또는 모음을 포함하는 텍스트에 제 1 값을 대응시키는 것을 기반으로 하여, 상기 사용자 코드를 검출하는 단계를 포함할 수 있다. 상기 변형된 텍스트는 폰트 사이즈가 축소된 텍스트 및 텍스트 두께가 축소된 텍스트 중 적어도 어느 하나일 수 있다.The detecting of the user code may include detecting the user code based on matching a first value to a deformed text line among text lines in the text area. The detecting of the user code may include detecting the user code based on matching a first value to text containing the most consonants or vowels in the text area. The deformed text may be at least one of text with a reduced font size and text with a reduced text thickness.

한편, 상술한 본 발명의 다른 목적을 달성하기 위하여 본 발명은 또 다른 측면에서 워터마크 검출 장치를 제공한다. 상기 워터마크 검출 장치는, 디지털 문서 이미지로부터 텍스트 영역을 검출하는 영역 검출부; 상기 텍스트 영역의 텍스트를 원본 이미지의 대응된 영역의 텍스트와 비교함에 의하여, 상기 텍스트 영역 내의 텍스트들 중 변형된 텍스트를 검출하고, 상기 변형된 텍스트를 기반으로 하여, 사용자 장치를 식별할 수 있는 유니크 한 바이너리 코드인 사용자 코드를 검출하는 정보 검출부를 포함할 수 있다.On the other hand, in order to achieve another object of the present invention described above, the present invention provides a watermark detection device in another aspect. The watermark detection apparatus includes: an area detection unit that detects a text area from a digital document image; By comparing the text of the text area with the text of the corresponding area of the original image, it is possible to detect a deformed text among the texts in the text area, and based on the deformed text, a unique device capable of identifying a user device It may include an information detection unit for detecting a user code that is a binary code.

상기 정보 검출부는, 상기 텍스트 영역 내의 텍스트 라인들 중 변형된 텍스트 라인에 제 1 값을 대응시키는 것을 기반으로 하여, 상기 사용자 코드를 검출할 수 있다. 상기 정보 검출부는, 상기 텍스트 영역 내에서 가장 많은 자음 또는 모음을 포함하는 텍스트에 제 1 값을 대응시키는 것을 기반으로 하여, 상기 사용자 코드를 검출할 수도 있다.The information detection unit may detect the user code based on matching a first value to a deformed text line among text lines in the text area. The information detection unit may detect the user code based on matching a first value to text containing the most consonants or vowels in the text area.

한편, 상술한 본 발명의 또 다른 목적을 달성하기 위하여 본 발명은 또 다른 측면에서 디지털 문서 보호 시스템을 제공한다. 상기 디지털 문서 보호 시스템은, 디지털 문서로부터 텍스트 영역을 검출하고, 유니크 한 바이너리 코드인 사용자 코드를 기반으로 하여 상기 텍스트 영역 내의 텍스트들 중 변형할 적어도 하나의 텍스트를 검출하고, 사용자 장치에 대응하는 유니크 한 바이너리 코드인 사용자 코드를 기반으로 하여 검출된 상기 적어도 하나의 텍스트를 변형하는 워터마크 삽입 장치; 및 상기 워터마크 삽입 장치에 의하여 상기 적어도 하나의 텍스트가 변형된 디지털 문서의 이미지로부터 상기 사용자 코드를 검출하는 워터마크 검출 장치를 포함할 수 있다.
On the other hand, in order to achieve another object of the present invention described above, the present invention provides a digital document protection system in another aspect. The digital document protection system detects a text area from a digital document, detects at least one text to be transformed among texts in the text area based on a user code that is a unique binary code, and is unique to a user device. A watermark embedding device for modifying the at least one text detected based on a user code that is a binary code; And a watermark detection device detecting the user code from an image of a digital document in which the at least one text is modified by the watermark insertion device.

이상 설명한 바와 같이, 본 발명에 따르면 디지털 문서의 디스플레이 시 사용자 장치와 연계되는 사용자 코드를 기반으로 하여 간결한 고유의 알고리즘을 사용하여 디지털 문서에 포함된 텍스트 등을 변형할 수 있다. 따라서 텍스트 변형 형식의 워터마크를 문서에 용이하게 삽입함에 의하여, 추후 디지털 문서가 사진 촬영, 프린트 또는 화면 캡쳐 등을 통하여 유출될 시에 변형된 텍스트의 형태로 삽입되는 워터마크를 사용하여 어느 사용자 장치에서 디지털 문서가 유출되었는지를 용이하게 판별할 수 있다.
As described above, according to the present invention, text displayed in a digital document can be modified using a unique and simple algorithm based on a user code associated with a user device when displaying a digital document. Therefore, by easily inserting a text modification type watermark into a document, any user device using a watermark inserted in the form of a modified text when a digital document is later leaked through photographing, printing, or screen capture, etc. Can easily determine if a digital document has been leaked.

도 1은 본 발명의 바람직한 실시예에 따른 워터마크 삽입 방법을 실현하기 위한 시스템을 설명하기 위한 예시도이다.
도 2는 본 발명의 바람직한 실시예에 따른 워터마크 삽입 장치의 구성을 도시하는 블록도이다.
도 3은 도 2에 도시되어 있는 텍스트 처리부의 구성을 도시하는 블록도이다.
도 4는 제 1 텍스트 처리부에 의하여 디지털 문서의 특정 텍스트의 폰트 사이즈가 축소되는 예를 설명하기 위한 예시도이다.
도 5는 제 2 텍스트 처리부에 의하여 가장 많은 자음을 포함하는 텍스트의 텍스트 두께가 축소되는 예를 설명하기 위한 예시도이다.
도 6은 본 발명의 바람직한 실시예에 따른 워터마크 삽입 방법의 흐름을 설명하기 위한 흐름도이다.
도 7은 워터마크 삽입 장치에 의하여 수행되는 제 1 텍스트 처리의 흐름을 설명하기 위한 흐름도이다.
도 8은 워터마크 삽입 장치에 의하여 수행되는 제 2 텍스트 처리의 흐름을 설명하기 위한 흐름도이다.
도 9는 본 발명의 바람직한 실시예에 따른 워터마크 검출 장치의 구조를 나타내는 블록도이다.
도 10은 도 9에 도시되어 있는 정보 검출부(230)의 동작 흐름을 설명하기 위한 흐름도이다.
1 is an exemplary view for explaining a system for realizing a watermark embedding method according to a preferred embodiment of the present invention.
2 is a block diagram showing the configuration of a watermark embedding apparatus according to a preferred embodiment of the present invention.
3 is a block diagram showing the configuration of a text processing unit shown in FIG. 2.
4 is an exemplary view for explaining an example in which the font size of a specific text of a digital document is reduced by the first text processing unit.
5 is an exemplary view for explaining an example in which the text thickness of the text including the most consonants is reduced by the second text processing unit.
6 is a flowchart illustrating a flow of a watermark embedding method according to a preferred embodiment of the present invention.
7 is a flow chart for explaining the flow of the first text processing performed by the watermark embedding device.
8 is a flowchart for explaining the flow of second text processing performed by the watermark embedding apparatus.
9 is a block diagram showing the structure of a watermark detection apparatus according to a preferred embodiment of the present invention.
10 is a flowchart for explaining an operation flow of the information detection unit 230 shown in FIG. 9.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.The present invention can be applied to various changes and can have various embodiments, and specific embodiments will be illustrated in the drawings and described in detail. However, this is 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.

제 1, 제 2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제 1 구성요소는 제 2 구성요소로 명명될 수 있고, 유사하게 제 2 구성요소도 제 1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다.Terms such as first and second may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from other components. For example, the first component may be referred to as a second component without departing from the scope of the present invention, and similarly, the second component may be referred to as a first component. The term and / or includes a combination of a plurality of related described items or any one of a plurality of related described items.

어떤 구성요소가 다른 구성요소에 '연결되어' 있다거나 '접속되어' 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 '직접 연결되어' 있다거나 '직접 접속되어' 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. When an element is said to be 'connected' or 'connected' to another component, it is understood that other components may be directly connected to or connected to the other component, but other components may exist in the middle. It should be. On the other hand, when a component is said to be 'directly connected' or 'directly connected' to another component, it should be understood that no other component exists in the middle.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, '포함하다' 또는 '가지다' 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terms used in this application are only used to describe specific embodiments, and are not intended to limit the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, terms such as 'include' or 'have' are intended to indicate that a feature, number, step, operation, component, part, or combination thereof described in the specification exists, and that one or more other features are present. It should be understood that the existence or addition possibilities of fields or numbers, steps, operations, components, parts or combinations thereof are not excluded in advance.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥상 가지는 의미와 일치하는 의미를 가진 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by a person skilled in the art to which the present invention pertains. Terms, such as those defined in a commonly used dictionary, should be interpreted as having meanings consistent with meanings in the context of related technologies, and should not be interpreted as ideal or excessively formal meanings unless explicitly defined in the present application. Does not.

이하, 첨부한 도면들을 참조하여, 본 발명의 바람직한 실시예를 보다 상세하게 설명하고자 한다. 본 발명을 설명함에 있어 전체적인 이해를 용이하게 하기 위하여 도면상의 동일한 구성요소에 대해서는 동일한 참조부호를 사용하고 동일한 구성요소에 대해서 중복된 설명은 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In order to facilitate the overall understanding in describing the present invention, the same reference numerals are used for the same components in the drawings, and duplicate descriptions for the same components are omitted.

도 1은 본 발명의 바람직한 실시예에 따른 워터마크 삽입 방법을 실현하기 위한 시스템을 설명하기 위한 예시도이다.1 is an exemplary view for explaining a system for realizing a watermark embedding method according to a preferred embodiment of the present invention.

도 1에 도시된 바와 같이, 워터마크 삽입 시스템(1)은 워터마크 삽입 장치(100) 및 상기 워터마크 삽입 장치(100)와 연동하는 다수 개의 사용자 장치, 예컨대 제 1 사용자 장치(10), 제 2 사용자 장치(20) 및 제 3 사용자 장치(30) 등을 포함할 수 있다. 상기 사용자 장치의 개수는 N개(N은 1 자연수)일 수 있다.As shown in FIG. 1, the watermark embedding system 1 includes a watermark embedding device 100 and a plurality of user devices interworking with the watermark embedding device 100, such as a first user device 10, a first It may include a 2 user device 20 and a third user device 30. The number of user devices may be N (N is 1 natural number).

이러한 워터마크 생성 시스템(1)은 디지털 문서를 제공하는 서버 및 그 서버에 접근하여 디지털 문서를 사용하는 다수 개의 클라이언트가 구비된 환경을 통하여 구현될 수 있다. 예를 들어, 상기 워터마크 시스템(1)은 회사의 서버 및 그 서버와 연동하는 다수 개의 직원 단말 장치가 구비된 환경에서 용이하게 구현될 수 있다. 이러한 케이스에서 워터마크 삽입 장치(100)는 회사의 서버에 대응될 수 있으며, 다수 개의 사용자 장치는 다수 개의 직원 단말 장치에 대응될 수 있다.The watermark generation system 1 may be implemented through an environment in which a server providing a digital document and a plurality of clients accessing the server and using the digital document are provided. For example, the watermark system 1 can be easily implemented in an environment in which a company server and a plurality of employee terminal devices interworking with the server are provided. In this case, the watermark insertion device 100 may correspond to a company's server, and a plurality of user devices may correspond to a plurality of employee terminal devices.

각각의 사용자 장치는 워터마크 삽입 장치(100)에 접근하여 디지털 문서, 예컨대 MS-워드 문서, 엑셀 문서, 파워포인트 문서, 아래아 한글 문서 등을 요청할 수 있다. 그러면 워터마크 삽입 장치(100)는 요청된 디지털 문서를, 사용자 코드를 기반으로 하는 텍스트 또는 이미지 변환 형식의 워터마크를 삽입한 보안 디지털 문서로 변환하여 디지털 문서를 요청한 사용자 장치로 제공할 수 있다. 각각의 사용자 장치는 각각 자신에게 허용된 보안 디지털 문서를 디스플레이할 수 있는 보안 뷰어를 구비하고 있다.Each user device may access the watermark embedding device 100 and request a digital document, such as an MS-word document, an Excel document, a PowerPoint document, and a Hangul document. Then, the watermark embedding apparatus 100 may convert the requested digital document into a secure digital document embedding a watermark of a text or image conversion format based on a user code and provide the digital document to the requested user device. Each user device is equipped with a security viewer capable of displaying secure digital documents that are allowed for each of them.

예를 들어, 제 1 사용자 장치(10)는 워터마크 삽입 장치(100)로 접근하여 파일 확장자가 ".doc"인 MS-워드 문서를 요청할 수 있다. 이 경우 워터마크 삽입 장치(100)는 상기 MS-워드 문서를 제 1 사용자 장치(100)의 사용자 코드에 따라 텍스트 또는 이미지를 변형한 보안 디지털 문서로 변환하여 제 1 사용자 장치(10)로 전송할 수 있다. 상기 보안 디지털 문서는 예컨대 ".mark"와 같이 보안 디지털 문서임을 알 수 있도록 미리 정해진 파일 확장자를 갖는다.For example, the first user device 10 may access the watermark embedding device 100 and request an MS-word document having a file extension of “.doc”. In this case, the watermark embedding device 100 may convert the MS-word document into a secure digital document in which text or images are modified according to the user code of the first user device 100 and transmit the converted text-image to the first user device 10. have. The secure digital document has a predetermined file extension so that it can be recognized as a secure digital document, for example, ".mark".

제 1 사용자 장치(10)의 보안 뷰어는 워터마크 삽입 장치(100)로부터 전송되는 보안 디지털 문서를 디스플레이할 수 있다. 이때 디스플레이되는 보안 디지털 문서는 사진 촬영, 화면 캡쳐, 프린트 등을 통하여 문서가 유출되었을 때 그 문서가 제 1 사용자 장치(10)로부터 유출되었다는 것을 판별할 수 있도록 텍스트 또는 이미지가 변형되어 있다. 물론 이러한 텍스트 또는 이미지의 변형은 사람이 거의 인지할 수 없다.The security viewer of the first user device 10 may display a secure digital document transmitted from the watermark embedding device 100. At this time, the displayed secure digital document is modified with text or an image so that it can be determined that the document is leaked from the first user device 10 when the document is leaked through picture taking, screen capture, printing, or the like. Of course, such variations of text or images are hardly noticeable by humans.

상기 보안 디지털 문서는 제 1 사용자 장치(10)의 사용자 코드를 기반으로 워터마킹 처리된 문서이므로, 다른 사용자 장치, 예컨대 제 2 사용자 장치(20)나 제 3 사용자 장치(30)로부터의 액세스는 차단되게 된다. 예를 들어, 상기 보안 디지털 문서는 제 1 사용자 장치(10)의 보안 뷰어에서는 재생이 가능하나, 제 2 사용자 장치(20)의 보안 뷰어나 제 3 사용자 장치(30)의 보안 뷰어에서는 재생이 차단될 수도 있다. 또한, 상기 보안 문서는 일반 뷰어를 통한 재생이 차단될 수도 있다.Since the secure digital document is a watermarked document based on the user code of the first user device 10, access from other user devices, for example, the second user device 20 or the third user device 30 is blocked. Will be. For example, the secure digital document can be played in the security viewer of the first user device 10, but playback is blocked in the security viewer of the second user device 20 or the security viewer of the third user device 30. It may be. Also, playback of the secure document through a general viewer may be blocked.

한편, 본 발명의 다른 실시예에 따르면 워터마크 삽입 장치는 각각의 사용자 장치를 통하여 구현될 수도 있다. 예컨대, 사용자 장치는 워터마크 삽입 모듈 및 뷰어를 구비하고, 사용자가 사용자 장치 또는 외부 저장소에 저장된 디지털 문서의 디스플레이를 요청할 경우, 상기 사용자 장치의 사용자 코드를 기반으로 하여 보안 디지털 문서를 생성하고 디스플레이할 수 있다. 즉, 도 1에 도시된 바와 같은 실시예가 서버-클라이언트 환경에 보다 적합한 구조를 갖는다면, 상기 언급한 다른 실시예는 디바이스가 단독으로 구비된 환경에 적합한 구조일 수 있다.Meanwhile, according to another embodiment of the present invention, the watermark embedding device may be implemented through each user device. For example, the user device has a watermark insertion module and a viewer, and when a user requests display of a digital document stored in the user device or an external storage, a secure digital document is generated and displayed based on the user code of the user device. You can. That is, if the embodiment as shown in FIG. 1 has a structure more suitable for a server-client environment, the above-described other embodiments may be a structure suitable for an environment where a device is provided alone.

도 2는 본 발명의 바람직한 실시예에 따른 워터마크 삽입 장치(100)의 구성을 도시하는 블록도이다.2 is a block diagram showing the configuration of a watermark embedding apparatus 100 according to a preferred embodiment of the present invention.

도 2에 도시된 바와 같이, 워터마크 삽입 장치(100)는 사용자 코드 생성부(110), 영역 검출부(120), 처리부(140), 파일 변환부(160), 파일 전송부(170) 등을 포함할 수 있다. 상기 각 부는 상호 연동 가능하다.As shown in FIG. 2, the watermark embedding device 100 includes a user code generation unit 110, an area detection unit 120, a processing unit 140, a file conversion unit 160, and a file transmission unit 170. It can contain. Each of the above parts can be interlocked.

사용자 코드 생성부(110)는 디지털 문서를 요청한 사용자 장치에 대응하는 사용자 코드를 생성할 수 있다. 상기 사용자 장치는 예컨대, 도 1에 도시된 제 1 사용자 장치, 제 2 사용자 장치 또는 제 3 사용자 장치 중 어느 하나일 수 있다.The user code generation unit 110 may generate a user code corresponding to a user device requesting a digital document. The user device may be, for example, any one of the first user device, the second user device, or the third user device illustrated in FIG. 1.

상기 사용자 코드는 상기 사용자 장치에 대응되는 유니크 한 바이너리 코드(예컨대, 비트 열)일 수 있다. 예컨대, 상기 사용자 코드는 상기 사용자 장치에 구비된 보안 뷰어의 고유 키일 수 있다. 사용자 장치에 설치된 보안 뷰어에는 상기 보안 뷰어를 제공하는 서버로부터 지정된 고유 키가 할당되어 있다.The user code may be a unique binary code (eg, bit string) corresponding to the user device. For example, the user code may be a unique key of the security viewer provided in the user device. The security viewer installed on the user device is assigned a unique key designated from a server providing the security viewer.

상기 사용자 코드 생성부(110)는 디지털 문서를 디스플레이하기 위한 사용자 장치로부터 상기 디지털 문서를 요청하는 요청이 수신되면, 상기 사용자 장치의 보안 뷰어의 고유 키 값을 상기 사용자 장치로 요청한 후 수신할 수 있다. 또는 상기 보안 뷰어의 고유 키 값은 상기 디지털 문서를 요청하는 요청에 포함되어 상기 사용자 코드 생성부(110)로 전달될 수도 있다.When the request for requesting the digital document is received from the user device for displaying the digital document, the user code generation unit 110 may request and receive the unique key value of the security viewer of the user device to the user device. . Alternatively, the unique key value of the security viewer may be included in the request for requesting the digital document and transmitted to the user code generator 110.

상기 보안 뷰어의 고유 키 값은 바이너리 코드일수도 있고, 아닐 수도 있다. 만약 상기 보안 뷰어의 고유 키 값이 바이너리 코드인 경우, 상기 사용자 코드 생성부(110)는 사용자 장치로부터 수신되는 보안 뷰어의 고유 키 값을 사용자 코드로서 지정할 수 있다. 반면 보안 뷰어의 고유 키 값이 바이너리 코드가 아닌 경우, 상기 사용자 코드 생성부(110)는 사용자 장치로부터 수신되는 보안 뷰어의 고유 키 값을 기반으로 하여 미리 정해진 알고리즘에 따라 상기 보안 뷰어의 고유 키 값에 대응하는 바이너리 코드를 생성할 수 있다.The unique key value of the security viewer may or may not be binary code. If the unique key value of the security viewer is binary code, the user code generator 110 may designate the unique key value of the security viewer received from the user device as a user code. On the other hand, if the unique key value of the security viewer is not binary code, the user code generation unit 110 based on the unique key value of the security viewer received from the user device according to a predetermined algorithm, the unique key value of the security viewer It can generate binary code corresponding to.

한편, 상기 사용자 코드는 사용자 장치의 보안 뷰어의 고유 키, 상기 사용자 장치의 물리적인 식별 정보, 사용자 식별 정보 중 적어도 하나를 기반으로 하여 생성된 것일 수도 있다. 여기서 상기 물리적인 식별 정보는 예컨대 MAC(Media Access Control) 값 등일 수 있다. 상기 사용자 식별 정보는 사용자 장치의 시스템 정보, 로그인 정보 등일 수 있다.Meanwhile, the user code may be generated based on at least one of a unique key of the security viewer of the user device, physical identification information of the user device, and user identification information. Here, the physical identification information may be, for example, a MAC (Media Access Control) value. The user identification information may be system information of a user device, login information, and the like.

상기 사용자 코드 생성부(110)는 이러한 복합적인 요소가 반영된 사용자 코드를 생성하기 위하여, 사용자 장치로 사용자 코드의 생성에 필요한 정보를 요청한 후 수신할 수 있다. 상기 사용자 코드의 생성에 필요한 정보는 예컨대 사용자 장치의 보안 뷰어의 고유 키, 상기 사용자 장치의 물리적인 식별 정보, 사용자 식별 정보 등 중 적어도 하나일 수 있다. 상기 사용자 코드 생성부(110)는 수신된 정보를 기반으로 하여 미리 정해진 알고리즘에 따라 상기 사용자 장치에 대응하는 유니크 한 바이너리 코드인 사용자 코드를 생성할 수 있다.The user code generation unit 110 may request and receive information necessary for generating a user code to a user device in order to generate a user code reflecting these complex elements. The information required to generate the user code may be at least one of a unique key of the security viewer of the user device, physical identification information of the user device, and user identification information. The user code generator 110 may generate a user code that is a unique binary code corresponding to the user device according to a predetermined algorithm based on the received information.

상기 영역 검출부(120)는 사용자 장치가 요청한 디지털 문서로부터 텍스트 영역과 이미지 영역을 각각 검출할 수 있다. 상기 텍스트 영역은 텍스트를 포함하는 영역을 의미한다. 상기 이미지 영역은 이미지를 포함하는 영역일 수도 있고, 또는 상기 디지털 문서에서 텍스트 영역을 제외한 나머지 영역일 수도 있다.The area detection unit 120 may respectively detect a text area and an image area from a digital document requested by the user device. The text area means an area containing text. The image area may be an area including an image, or may be an area other than the text area in the digital document.

상기 처리부는 영역 검출부(120)에 의하여 검출된 텍스트 영역의 텍스트 및 이미지 영역의 이미지를 각각 사용자 코드를 기반으로 하여 변형함에 의하여, 텍스트 및 이미지 변형 형식의 워터마크를 상기 디지털 문서에 삽입할 수 있다. 이러한 처리부(130)는 텍스트 처리부(140) 및 이미지 처리부(150)를 포함할 수 있다.The processing unit may insert text and image modification type watermarks into the digital document by modifying the text of the text area and the image of the image area detected by the area detection unit 120 based on a user code, respectively. . The processing unit 130 may include a text processing unit 140 and an image processing unit 150.

상기 텍스트 처리부(140)는 사용자 코드 생성부(110)에 의하여 생성된 사용자 코드를 기반으로 하여, 상기 텍스트 영역 내의 텍스트들 중 변형할 적어도 하나의 텍스트를 검출하고, 상기 사용자 코드를 기반으로 하여 상기 검출된 상기 적어도 하나의 텍스트를 변형하는 기능을 수행할 수 있다.The text processing unit 140 detects at least one text to be transformed among texts in the text area based on the user code generated by the user code generation unit 110, and based on the user code A function of modifying the detected at least one text may be performed.

도 3은 도 2에 도시되어 있는 텍스트 처리부(140)의 구성을 도시하는 블록도이다.FIG. 3 is a block diagram showing the configuration of the text processing unit 140 shown in FIG. 2.

도 3에 도시된 바와 같이, 텍스트 처리부(140)는 제 1 텍스트 처리부(142) 및 제 2 텍스트 처리부(145)를 포함할 수 있다. 상기 제 1 텍스트 처리부(142)는 제 1 텍스트 검출부(143) 및 제 1 워터마크 삽입부(144)를 포함할 수 있다. 상기 제 2 텍스트 처리부(145)는 제 2 텍스트 검출부(146) 및 제 2 워터마크 삽입부(147)를 포함할 수 있다.As shown in FIG. 3, the text processing unit 140 may include a first text processing unit 142 and a second text processing unit 145. The first text processing unit 142 may include a first text detection unit 143 and a first watermark insertion unit 144. The second text processing unit 145 may include a second text detection unit 146 and a second watermark insertion unit 147.

상기 텍스트 처리부(140)의 제 1 텍스트 처리부(142)와 제 2 텍스트 처리부(145)의 동작 순서는, 제 1 텍스트 처리부(142)가 먼저 동작한 후 제 1 텍스트 처리부(142)에 의하여 처리된 텍스트 영역의 텍스트를 제 2 텍스트 처리부(145)가 처리할 수도 있고, 또는 제 2 텍스트 처리부(145)가 먼저 동작 한 후 제 2 텍스트 처리부(145)에 의하여 처리된 텍스트 영역의 텍스트를 제 1 텍스트 처리부(142)가 처리할 수도 있다.The operation sequence of the first text processing unit 142 and the second text processing unit 145 of the text processing unit 140 is processed by the first text processing unit 142 after the first text processing unit 142 operates first. The text of the text area may be processed by the second text processing unit 145, or the text of the text area processed by the second text processing unit 145 may be processed by the second text processing unit 145 first. The processing unit 142 may also process.

상기 제 1 텍스트 검출부(143)는 사용자 코드를 기반으로 하여, 텍스트 영역 내의 텍스트 라인 중 변형할 텍스트 라인을 검출할 수 있다. 예를 들어, 제 1 텍스트 검출부(143)는 텍스트 영역 내의 각 텍스트 라인을 사용자 코드의 각 비트 값에 순차적으로 대응시킬 수 있다. 여기서 사용자 코드의 각 비트 값은 제 1 값 및 제 2 값 중 어느 하나일 수 있다. 제 1 텍스트 검출부(143)는 대응된 비트가 제 1 값인 텍스트 라인을 검출할 수 있다. 상기 제 1 값은 "1"이고 제 2 값은 "0"일 수 있다. 즉 제 1 텍스트 검출부(143)는 텍스트 라인들 중 대응된 비트 값이 "1"인 텍스트 라인을 검출할 수 있다. 한편, 실시 환경에 따라서는 제 1 값과 제 2 값이 각각 "0" 및 "1"일 수도 있음은 물론이다.The first text detection unit 143 may detect a text line to be transformed among text lines in a text area based on a user code. For example, the first text detection unit 143 may sequentially associate each text line in the text area with each bit value of the user code. Here, each bit value of the user code may be either a first value or a second value. The first text detection unit 143 may detect a text line whose corresponding bit is the first value. The first value may be "1" and the second value may be "0". That is, the first text detection unit 143 may detect a text line having a corresponding bit value of "1" among the text lines. Meanwhile, it is needless to say that the first value and the second value may be “0” and “1”, respectively, depending on the implementation environment.

제 1 워터마크 삽입부(144)는 상기 제 1 텍스트 검출부(143)에 의하여 검출된 텍스트 라인 내에 포함된 텍스트의 폰트 사이즈를 설정된 사이즈만큼 축소할 수 있다. 예를 들어, 제 1 텍스트 검출부(143)는 검출된 텍스트 라인 내에 포함된 텍스트의 폰트 사이즈를 "1 Pt" 축소할 수 있다. 바람직하기로는, 상기 폰트 사이즈의 축소는 사람이 인지하기 어려울 만큼 미세한 정도인 것으로 한다.The first watermark insertion unit 144 may reduce the font size of the text included in the text line detected by the first text detection unit 143 by a set size. For example, the first text detection unit 143 may reduce the font size of text included in the detected text line to “1 Pt”. Preferably, the reduction of the font size is assumed to be a fine degree that is difficult for humans to perceive.

도 4는 제 1 텍스트 처리부(142)에 의하여 디지털 문서의 특정 텍스트의 폰트 사이즈가 축소되는 예를 설명하기 위한 예시도이다.4 is an exemplary view for explaining an example in which the font size of a specific text of a digital document is reduced by the first text processing unit 142.

도 4에 도시된 바와 같이, 사용자 코드는 "10011"이고, 디지털 문서의 텍스트 영역의 텍스트는 "12Pt"라고 가정한다. 또한 사용자 코드의 비트 값에서 제 1 값은 "1", 제 2 값은 "0"인 것으로 가정한다.As shown in Fig. 4, it is assumed that the user code is "10011" and the text in the text area of the digital document is "12Pt". In addition, it is assumed that the first value is "1" and the second value is "0" in the bit value of the user code.

이 경우, 제 1 텍스트 검출부(143)는 텍스트 영역의 첫 번째 텍스트 라인을 사용자 코드의 첫 번째 코드인 "1"에 대응시키고, 텍스트 영역의 두 번째 텍스트 라인을 사용자 코드의 두 번째 코드인 "0"에 대응시키고, 텍스트 영역의 세 번째 텍스트 라인을 사용자 코드의 세 번째 코드인 "0"에 대응시키고, 텍스트 영역의 네 번째 텍스트 라인을 사용자 코드의 네 번째 코드인 "1"에 대응시키고, 텍스트 영역의 다섯 번째 텍스트 라인을 사용자 코드의 다섯 번째 코드인 "1"에 대응시킬 수 있다.In this case, the first text detection unit 143 corresponds to the first text line of the text area corresponding to the first code "1" of the user code, and the second text line of the text area to the second code of the user code "0" ", The third text line of the text area to the third code" 0 "of the user code, the fourth text line of the text area to the fourth code" 1 "of the user code, The fifth text line of the area may correspond to the fifth code "1" of the user code.

제 1 텍스트 검출부(143)는 상기 다섯 개의 텍스트 라인들 중 대응된 비트 값이 "1"인 첫 번째, 네 번째, 다섯 번째 텍스트 라인을 폰트 사이즈를 축소할 텍스트 라인인 것으로 검출할 수 있다. 그러면, 제 1 워터마크 삽입부(144)는 첫 번째, 네 번째, 다섯 번째 텍스트 라인의 폰트 사이즈를 미리 설정된 축소 사이즈인 "1"만큼 축소한다. 따라서, 첫 번째, 네 번째, 다섯 번째 텍스트 라인의 폰트 사이즈는 "11Pt"로 축소된다. 폰트 사이즈가 축소되지 않는 두 번째, 세 번째 라인은 "12Pt"로 유지됨은 물론이다.The first text detection unit 143 may detect the first, fourth, and fifth text lines having a corresponding bit value of "1" among the five text lines as text lines to reduce the font size. Then, the first watermark inserting unit 144 reduces the font size of the first, fourth, and fifth text lines by a preset reduction size of "1". Therefore, the font size of the first, fourth, and fifth text lines is reduced to "11Pt". Needless to say, the second and third lines where the font size is not reduced remain "12Pt".

한편, 제 1 텍스트 검출부(143)는 텍스트 영역 내의 텍스트 라인들 중 미리 정해진 일부 텍스트 라인만 사용자 코드의 비트 값에 대응시킬 수도 있다. 예를 들어, 제 1 텍스트 검출부(143)는 텍스트 영역에 10개의 텍스트 라인이 존재하고, 사용자 코드의 비트 값이 "10011"이라면 다섯 번째 텍스트 라인부터 아홉 번째 텍스트 라인까지 상기 사용자 코드의 각 비트 값을 순차적으로 대응시킬 수 있다.On the other hand, the first text detection unit 143 may correspond to a bit value of the user code, only some predetermined text lines among text lines in the text area. For example, if the first text detection unit 143 has 10 text lines in the text area and the bit value of the user code is "10011", each bit value of the user code from the fifth text line to the ninth text line Can be matched sequentially.

또한, 제 1 텍스트 검출부(143)는 텍스트 영역 내의 텍스트 라인들에 사용자 코드의 비트 값을 순차적으로 반복하여 대응시킬 수도 있다. 예를 들어, 사용자 코드의 비트 값이 "10011"인 경우, 제 1 텍스트 검출부(143)는 텍스트 영역 내의 특정 텍스트 라인, 예컨대 첫 번째 텍스트 라인부터 다섯 번째 텍스트 라인까지 "10011"의 각 비트 값을 순차적으로 대응시키고, 다시 여섯 번째 텍스트 라인부터 열 번째 텍스트 라인까지 "10011"의 각 비트 값을 순차적으로 대응시킬 수도 있다.Also, the first text detection unit 143 may sequentially match the bit values of the user code to text lines in the text area. For example, when the bit value of the user code is “10011”, the first text detection unit 143 sets each bit value of “10011” from a specific text line in the text area, for example, from the first text line to the fifth text line. The bit values of "10011" may be sequentially matched from the sixth text line to the tenth text line.

한편, 텍스트 영역 내의 텍스트 라인들에 사용자 코드의 비트 값을 순차적으로 반복하여 대응시키는 경우, 제 1 텍스트 검출부(143)는 반복되는 사용자 코드의 사이에 특정 비트 값을 삽입할 수도 있다. 예를 들어, 사용자 코드의 비트 값이 "10011"인 경우, 제 1 텍스트 검출부(143)는 텍스트 영역 내의 특정 텍스트 라인, 예컨대 첫 번째 텍스트 라인부터 다섯 번째 텍스트 라인까지 "10011"의 각 비트 값을 순차적으로 대응시키고, 여섯 번째 텍스트 라인에는 디폴트 값인 "0"을 대응시키고 다시 일곱 번째 텍스트 라인부터 열한 번째 텍스트 라인까지 "10011"의 각 비트 값을 순차적으로 대응시킬 수도 있다.On the other hand, when the bit values of the user code are sequentially repeated to correspond to the text lines in the text area, the first text detection unit 143 may insert a specific bit value between the repeated user codes. For example, when the bit value of the user code is “10011”, the first text detection unit 143 sets each bit value of “10011” from a specific text line in the text area, for example, from the first text line to the fifth text line. Sequentially, the default value "0" may be associated with the sixth text line, and each bit value of "10011" may be sequentially associated with the seventh text line to the eleventh text line.

제 2 텍스트 검출부(146)는 텍스트 영역 내에 포함된 텍스트들에 포함되어 있는 가장 많은 자음 또는 모음을 검출하고, 사용자 코드를 기반으로 하여 상기 검출된 자음 또는 모음을 포함하는 텍스트들 중 변형할 텍스트를 검출할 수도 있다. 예를 들면, 제 2 텍스트 검출부(146)는 텍스트 영역 내에 포함된 텍스트들에 포함되어 있는 중 가장 많은 자음 또는 모음을 검출하고, 상기 텍스트 영역 내의 상기 검출된 자음 또는 모음을 포함하는 각 텍스트를 상기 사용자 코드의 각 비트 값에 순차적으로 대응시킨 후, 대응된 비트가 제 1 값인 텍스트를 변형할 텍스트인 것으로 검출할 수 있다.The second text detection unit 146 detects the most consonants or vowels included in the texts included in the text area, and converts the text to be transformed among the texts including the detected consonants or vowels based on a user code. It can also be detected. For example, the second text detection unit 146 detects the largest number of consonants or vowels included in the texts included in the text area, and recalls each text including the detected consonants or vowels in the text area. After sequentially matching each bit value of the user code, it is possible to detect that the text corresponding to the first bit is the text to be transformed.

제 2 워터마크 삽입부(147)는 상기 제 2 텍스트 검출부(146)에 의하여 검출된 텍스트의 텍스트 두께를 설정된 두께만큼 축소시킬 수 있다. 바람직하기로는 상기 텍스트 두께의 축소는 사람이 인지할 수 없을 만큼 미세한 정도인 것으로 한다.The second watermark insertion unit 147 may reduce the text thickness of the text detected by the second text detection unit 146 by a preset thickness. Preferably, the reduction in the thickness of the text is assumed to be a degree that is fine enough for a human to not recognize.

도 5는 제 2 텍스트 처리부(145)에 의하여 가장 많은 자음을 포함하는 텍스트의 텍스트 두께가 축소되는 예를 설명하기 위한 예시도이다.5 is an exemplary view for explaining an example in which the text thickness of the text including the most consonants is reduced by the second text processing unit 145.

도 5에 도시된 바와 같이, 제 2 텍스트 검출부(146)는 텍스트 영역 내에서 가장 많이 존재하는 자음이 "ㄱ(기억)"임을 검출할 수 있다. 제 2 텍스트 검출부(146)는 상기 "ㄱ"을 포함하는 텍스트들, 예컨대 첫 번째 텍스트 라인의 "가", 두 번째 텍스트 라인의 "감", 세 번째 텍스트 라인의 "김" 및 "구", 네 번째 텍스트 라인의 "경"에 각각 "10011"을 순차적으로 대응시킨다. 제 2 텍스트 검출부(146)는 상기 텍스트들 중 대응된 사용자 코드의 비트 값이 제 1 값, 예컨대 "1"인 첫 번째 텍스트 라인의 "가", 세 번째 텍스트 라인의 "구", 네 번째 텍스트 라인의 "경"을 변경할 텍스트인 것으로 검출할 수 있다. 그러면, 제 2 워터마크 처리부는 상기 변경할 텍스트인 것으로 검출된 텍스트들의 텍스트 두께를 설정된 두께만큼 축소시킬 수 있다.As illustrated in FIG. 5, the second text detection unit 146 may detect that the most consonant present in the text area is “a (memory)”. The second text detection unit 146 includes the texts including the "a", such as "a" of the first text line, "persimmon" of the second text line, "kim" and "phrase" of the third text line, In the fourth text line, "10011" is sequentially associated with "light". The second text detection unit 146, among the texts, has a bit value of a corresponding user code as a first value, for example, "A" of the first text line with "1", "Spherical" of the third text line, and the fourth text It can be detected as the text to change the "diameter" of the line. Then, the second watermark processing unit may reduce the text thickness of the texts detected as being the text to be changed by a preset thickness.

한편, 제 2 텍스트 검출부(146)는 가장 많이 존재하는 자음 또는 모음을 포함하는 텍스트들 중 미리 정해진 일부 텍스트에만 사용자 코드의 비트 값을 대응시킬 수도 있다. 예를 들어, 제 2 텍스트 검출부(146)는 가장 많이 존재하는 자음 또는 모음을 포함하는 10 개의 텍스트가 존재하고, 사용자 코드의 비트 값이 "10011"이라면 다섯 번째 텍스트부터 아홉 번째 텍스트까지 상기 사용자 코드의 각 비트 값을 순차적으로 대응시킬 수 있다.On the other hand, the second text detection unit 146 may correspond to the bit value of the user code only to a predetermined predetermined text among texts including the most existing consonants or vowels. For example, in the second text detection unit 146, if there are 10 texts including the most existing consonants or vowels, and the bit value of the user code is “10011”, the user code is from the fifth text to the ninth text. Each bit value of can be mapped sequentially.

또한, 제 2 텍스트 검출부(146)는 가장 많이 존재하는 자음 또는 모음을 포함하는 텍스트들에 사용자 코드의 비트 값을 순차적으로 반복하여 대응시킬 수도 있다. 예를 들어, 사용자 코드의 비트 값이 "10011"인 경우, 제 2 텍스트 검출부(146)는 가장 많이 존재하는 자음 또는 모음을 포함하는 10 개의 텍스트들 중 특정 텍스트, 예컨대 첫 번째 텍스트부터 다섯 번째 텍스트까지 "10011"의 각 비트 값을 순차적으로 대응시키고, 다시 여섯 번째 텍스트부터 열 번째 텍스트까지 "10011"의 각 비트 값을 순차적으로 대응시킬 수도 있다.Also, the second text detection unit 146 may sequentially repeat the bit values of the user code to the texts including the most existing consonants or vowels. For example, when the bit value of the user code is "10011", the second text detection unit 146 selects a specific text among ten texts including the most existing consonants or vowels, for example, the first text to the fifth text. Up to each bit value of "10011" may be sequentially matched, and each bit value of "10011" may be sequentially mapped from the sixth text to the tenth text.

한편, 가장 많이 존재하는 자음 또는 모음을 포함하는 텍스트들에 사용자 코드의 비트 값을 순차적으로 반복하여 대응시키는 경우, 제 2 텍스트 검출부(146)는 반복되는 사용자 코드의 사이에 특정 비트 값을 삽입할 수도 있다. 예를 들어, 사용자 코드의 비트 값이 "10011"인 경우, 제 2 텍스트 검출부(146)는 가장 많이 존재하는 자음 또는 모음을 포함하는 텍스트들 중 특정 텍스트, 예컨대 첫 번째 텍스트부터 다섯 번째 텍스트까지 "10011"의 각 비트 값을 순차적으로 대응시키고, 여섯 번째 텍스트에는 디폴트 값인 "0"을 대응시키고 다시 일곱 번째 텍스트부터 열한 번째 텍스트까지 "10011"의 각 비트 값을 순차적으로 대응시킬 수도 있다.On the other hand, when the bit values of the user code are sequentially repeated to correspond to the texts containing the most existing consonants or vowels, the second text detection unit 146 inserts a specific bit value between the repeated user codes. It might be. For example, when the bit value of the user code is "10011", the second text detection unit 146 selects a specific text among texts including the most existing consonants or vowels, for example, from the first text to the fifth text. " Each bit value of 10011 "may be sequentially associated, the default value of" 0 "may be associated with the sixth text, and each bit value of" 10011 "may be sequentially associated with the seventh text to the eleventh text.

한편, 도 3을 참조한 실시예에서는 제 1 텍스트 처리부(142)가 텍스트의 폰트 사이즈를 축소하고, 제 2 텍스트 처리부(145)가 텍스트의 폰트 두께를 축소하는 것을 설명하였으나, 이는 한정된 사항은 아니며, 본 발명의 또 다른 실시예는 제 1 텍스트 처리부(142)가 폰트 두께를 축소하고 제 2 텍스트 처리부(145)가 폰트 사이즈를 축소할 수도 있다. 예를 들어, 제 1 텍스트 처리부(142)의 제 1 워터마크 삽입부(144)는 제 1 텍스트 검출부(143)에 의하여 검출된 텍스트 라인 내의 텍스트의 텍스트 두께를 축소시킬 수 있다. 제 2 텍스트 처리부(145)의 제 2 워터마크 삽입부(147)는 제 2 텍스트 검출부(146)에 의하여 검출된 텍스트들의 폰트 사이즈를 설정된 만큼 축소시킬 수 있다.Meanwhile, in the embodiment with reference to FIG. 3, the first text processing unit 142 reduces the font size of the text, and the second text processing unit 145 reduces the font thickness of the text, but this is not a limitation. In another embodiment of the present invention, the first text processing unit 142 may reduce the font thickness and the second text processing unit 145 may reduce the font size. For example, the first watermark embedding unit 144 of the first text processing unit 142 may reduce the text thickness of the text in the text line detected by the first text detecting unit 143. The second watermark insertion unit 147 of the second text processing unit 145 may reduce the font size of the texts detected by the second text detection unit 146 by a set amount.

이와 같이, 제 1 텍스트 처리부(142) 및 제 2 텍스트 처리부(145)에 의하여 변형되는 텍스트는 변형 전의 텍스트에 비하여 미세하게 축소되므로, 텍스트 변형에 따른 텍스트 오버플로우는 발생되지 않게 된다.As described above, the text deformed by the first text processing unit 142 and the second text processing unit 145 is slightly reduced compared to the text before modification, so that no text overflow occurs due to text transformation.

한편, 본 발명의 다른 실시예에 따르면 상기 텍스트 처리부(140)는 제 1 텍스트 처리부(142)만 구비할 수도 있고, 또는 제 2 텍스트 처리부(145)만 구비할 수도 있다. 즉, 본 발명에 따른 텍스트 처리부(140)는 제 1 텍스트 처리부(142) 및 제 2 텍스트 처리부(145) 중 적어도 하나를 포함할 수 있다.Meanwhile, according to another embodiment of the present invention, the text processing unit 140 may include only the first text processing unit 142 or only the second text processing unit 145. That is, the text processing unit 140 according to the present invention may include at least one of the first text processing unit 142 and the second text processing unit 145.

도 2를 다시 참조하면, 이미지 처리부(150)는 영역 검출부(120)에 의하여 검출된 이미지 영역의 이미지를 사용자 코드를 기반으로 변형할 수 있다. 예를 들어, 이미지 처리부(150)는 이미지 영역 내의 이미지를 미리 정해진 크기의 세부 조각, 예컨대 셀 별로 분할하고, 상기 사용자 코드를 기반으로 하여, 상기 분할된 세부 조각에 정해진 연산, 예컨대 익스클루시브 오어(XOR) 연산을 사용하여 상기 사용자 코드를 삽입할 수 있다.Referring back to FIG. 2, the image processing unit 150 may transform the image of the image region detected by the region detection unit 120 based on the user code. For example, the image processing unit 150 divides the image in the image area into detailed pieces of a predetermined size, for example, cells, and based on the user code, calculations performed on the divided detailed pieces, such as exclusive ore The (XOR) operation can be used to insert the user code.

상기 이미지 처리부(150)는 텍스트 처리부(140)에 의하여 사용되는 사용자 코드를 사용할 수도 있고, 또는 사용자 코드 생성부(110)가 별도로 생성한 이미지 변환용 사용자 코드를 사용할 수도 있다. 후자의 경우 앞서 설명한 요소들을 비롯하여 디지털 문서의 작성자 정보 및 작성 일자 등의 정보들을 기반으로 하여 생성될 수 있다. The image processing unit 150 may use the user code used by the text processing unit 140, or may use the user code for image conversion separately generated by the user code generation unit 110. In the latter case, it may be generated based on information such as the author information and the creation date of the digital document, as well as the elements described above.

파일 변환부(160)는 텍스트 처리부(140) 및 이미지 처리부(150)에 의하여 텍스트 영역의 텍스트 및 이미지 영역의 이미지가 각각 변형된 디지털 문서(즉, 워터마크가 삽입된 디지털 문서)의 파일 확장자를 미리 정해진 형식의 파일 확장자로 변환할 수 있다. 예를 들어, 요청된 디지털 문서의 파일 확장자가 ".doc"라면 파일 변환부(160)는 디지털 문서의 확장자를 ".mark"와 같은 파일 확장자로 변경할 수 있다. 따라서 요청된 디지털 문서는 워터마크가 삽입된 보안 디지털 문서임을 사람이 육안으로도 판별할 수 있다.The file conversion unit 160 displays the file extension of the digital document (ie, the digital document with the watermark inserted) in which the text in the text area and the image in the image area are respectively modified by the text processing unit 140 and the image processing unit 150. It can be converted to a file extension of a predetermined format. For example, if the file extension of the requested digital document is ".doc", the file conversion unit 160 may change the extension of the digital document to a file extension such as ".mark". Therefore, a person can visually determine that the requested digital document is a secure digital document with a watermark embedded therein.

파일 전송부(170)는 파일 변환부(160)에 의하여 파일 확장자가 변경된 보안 디지털 문서를 요청한 사용자 장치로 전송할 수 있다. 사용자 장치는 그 사용자 장치에 구비된 보안 뷰어를 이용하여 상기 보안 디지털 문서를 디스플레이할 수 있다. 상기 디스플레이되는 보안 문서의 텍스트 및 이미지는 워터마크 삽입 장치에 의하여 상기 사용자 장치에 대응하는 사용자 정보를 기반으로 변형되어 있다. 그러나, 텍스트 및 이미지의 변형은 육안으로는 식별하기 어렵다.The file transfer unit 170 may transmit the secure digital document whose file extension is changed by the file conversion unit 160 to the requested user device. The user device may display the secure digital document using a security viewer provided in the user device. The text and image of the displayed secure document are modified based on user information corresponding to the user device by the watermark insertion device. However, variations in text and images are difficult to discern.

한편, 상기 보안 디지털 문서는, 상기 사용자 장치에 대응하는 사용자 코드를 기반으로 텍스트 및 이미지가 변형된 문서이기 때문에, 상기 사용자 장치에 구비된 정해진 보안 뷰어에 의해서는 디스플레이될 수 있으나, 일반 뷰어 또는 다른 사용자 장치로부터의 접근은 차단될 수 있다. 예를 들어, 상기 보안 디지털 문서 다른 사용자 장치에 구비된 보안 뷰어 또는 일반 뷰어에 의한 디스플레이는 차단될 수 있으며, 상기 사용자 장치에 구비되어 있는 일반 뷰어에 의해서도 디스플레이가 불허될 수 있다.Meanwhile, since the secure digital document is a document in which text and images are modified based on a user code corresponding to the user device, the secure digital document can be displayed by a predetermined security viewer provided in the user device. Access from user devices may be blocked. For example, the display by the security viewer or the general viewer provided in the secure digital document other user device may be blocked, and the display may also be disallowed by the general viewer provided in the user device.

이상, 본 발명의 바람직한 실시예에 따른 워터마크 삽입 장치에 대하여 살펴보았다. 이하에서는 이러한 워터마크 삽입 장치를 기반으로 하는 워터마크 삽입 방법을 살펴보기로 한다.In the above, the watermark embedding apparatus according to the preferred embodiment of the present invention has been described. Hereinafter, a method of inserting a watermark based on the watermark embedding device will be described.

도 6은 본 발명의 바람직한 실시예에 따른 워터마크 삽입 방법의 흐름을 설명하기 위한 흐름도이다.6 is a flowchart illustrating a flow of a watermark embedding method according to a preferred embodiment of the present invention.

먼저, 사용자 장치는 워터마크 삽입 장치에 접속하여 워터마크 삽입 장치에 의하여 제공 가능한 디지털 문서 목록을 표시할 수 있다. 상기 사용자 장치는, 예컨대 도 1에 도시된 제 1 사용자 장치, 제 2 사용자 장치, 제 3 사용자 장치 중 어느 하나일 수 있다. 사용자가 원하는 디지털 문서를 선택하면, 사용자 장치는 선택된 디지털 문서를 디스플레이하기 위하여 워터마크 삽입 장치로 상기 디지털 문서를 요청할 수 있다. 그러면, 워터마크 삽입 장치의 프로시저가 시작된다.First, the user device may access the watermark embedding device and display a list of digital documents that can be provided by the watermark embedding device. The user device may be, for example, any one of the first user device, the second user device, and the third user device shown in FIG. 1. When the user selects a desired digital document, the user device may request the digital document to the watermark embedding device to display the selected digital document. Then, the procedure of the watermark embedding device is started.

도 6에 도시된 바와 같이, 먼저, 워터마크 삽입 장치는 상기 사용자 장치에 대응하는 사용자 코드를 생성할 수 있다(단계:S1). 앞서도 언급한 바 있듯이, 상기 사용자 코드는 상기 사용자 장치에 대응되는 유니크 한 바이너리 코드로서, 상기 사용자 장치의 보안 뷰어의 고유 키, 상기 사용자 장치의 물리적인 식별 정보, 사용자 식별 정보 중 적어도 하나를 기반으로 생성될 수 있다.6, first, the watermark embedding device may generate a user code corresponding to the user device (step: S1). As mentioned above, the user code is a unique binary code corresponding to the user device, based on at least one of a unique key of the security viewer of the user device, physical identification information of the user device, and user identification information. Can be created.

상기 사용자 코드의 생성을 위하여, 예를 들면, 워터마크 삽입 장치는 상기 사용자 장치로 사용자 코드의 생성에 필요한 정보를 풀 또는 푸시 방식으로 수신할 수 있다. 상기 사용자 코드의 생성에 필요한 정보는 예컨대 사용자 장치의 보안 뷰어의 고유 키, 상기 사용자 장치의 물리적인 식별 정보, 사용자 식별 정보 등 중 적어도 하나일 수 있다. 워터마크 삽입 장치는 수신된 정보를 기반으로 하여 미리 정해진 알고리즘에 따라 상기 사용자 장치에 대응하는 유니크 한 바이너리 코드인 사용자 코드를 생성할 수 있다.For the generation of the user code, for example, the watermark embedding device may receive information necessary for generation of the user code by the user device in a pull or push method. The information required to generate the user code may be at least one of a unique key of the security viewer of the user device, physical identification information of the user device, and user identification information. The watermark embedding device may generate a user code that is a unique binary code corresponding to the user device according to a predetermined algorithm based on the received information.

이어서, 워터마크 삽입 장치는 사용자 장치가 요청한 디지털 문서로부터 텍스트 영역과 이미지 영역을 각각 검출할 수 있다(단계:S2). 상기 텍스트 영역은 텍스트를 포함하는 영역을 의미한다. 상기 이미지 영역은 이미지를 포함하는 영역일 수도 있고, 또는 상기 디지털 문서에서 텍스트 영역을 제외한 나머지 영역일 수도 있다.Subsequently, the watermark embedding device may detect the text area and the image area respectively from the digital document requested by the user device (step: S2). The text area means an area containing text. The image area may be an area including an image, or may be an area other than the text area in the digital document.

텍스트 영역이 검출되면, 워터마크 삽입 장치는 사용자 코드를 기반으로 하여 텍스트 처리를 수행할 수 있다(단계:S3). 예를 들어, 워터마크 삽입 장치는 상기 텍스트 영역 내의 텍스트들 중 변형할 적어도 하나의 텍스트를 검출하고, 상기 사용자 코드를 기반으로 하여 상기 검출된 상기 적어도 하나의 텍스트를 변형할 수 있다.When the text area is detected, the watermark embedding device may perform text processing based on the user code (step: S3). For example, the apparatus for inserting a watermark may detect at least one text to be transformed among texts in the text area, and transform the detected at least one text based on the user code.

좀더 상세하게는, 상기 단계 S3에서, 워터마크 삽입 장치는 제 1 텍스트 처리 및 제 2 텍스트 처리를 수행할 수 있다. 상기 워터마크 삽입 장치는 제 1 텍스트 처리를 먼저 수행한 후 제 2 텍스트 처리를 수행할 수도 있고, 제 2 텍스트 처리를 수행한 후 제 1 텍스트 처리를 수행할 수도 있다.More specifically, in step S3, the watermark insertion device may perform first text processing and second text processing. The watermark embedding device may perform first text processing first, then second text processing, or second text processing and then first text processing.

도 7은 워터마크 삽입 장치에 의하여 수행되는 제 1 텍스트 처리의 흐름을 설명하기 위한 흐름도이다.7 is a flow chart for explaining the flow of the first text processing performed by the watermark embedding device.

도 7에 도시된 바와 같이, 워터마크 삽입 장치는 사용자 코드를 기반으로 하여, 텍스트 영역 내의 텍스트 라인 중 변형할 텍스트 라인을 검출할 수 있다(단계:S11). 예를 들어, 워터마크 삽입 장치는 텍스트 영역 내의 각 텍스트 라인을 사용자 코드의 각 비트 값에 순차적으로 대응시킬 수 있다. 여기서 사용자 코드의 각 비트 값은 제 1 값 및 제 2 값 중 어느 하나일 수 있다. 제 1 텍스트 검출부(143)는 대응된 비트가 제 1 값인 텍스트 라인을 검출할 수 있다. 상기 제 1 값은 "1"이고 제 2 값은 "0"일 수 있다. 즉 워터마크 삽입 장치는 텍스트 라인들 중 대응된 비트 값이 "1"인 텍스트 라인을 검출할 수 있다.As shown in FIG. 7, the watermark embedding apparatus may detect a text line to be transformed among text lines in a text area based on a user code (step: S11). For example, the watermark embedding apparatus may sequentially associate each text line in the text area with each bit value of the user code. Here, each bit value of the user code may be either a first value or a second value. The first text detection unit 143 may detect a text line whose corresponding bit is the first value. The first value may be "1" and the second value may be "0". That is, the watermark embedding apparatus can detect a text line having a corresponding bit value of "1" among the text lines.

이어서, 워터마크 삽입 장치는 상기 검출된 텍스트 라인 내에 포함된 텍스트의 폰트 사이즈를 설정된 사이즈만큼 축소할 수 있다(단계:S12). 예를 들어, 워터마크 삽입 장치는 검출된 텍스트 라인 내에 포함된 텍스트의 폰트 사이즈를 "1 Pt" 축소할 수 있다. 바람직하기로는, 상기 폰트 사이즈의 축소는 사람이 인지하기 어려울 만큼 미세한 정도인 것으로 한다.Subsequently, the watermark embedding apparatus may reduce the font size of the text included in the detected text line by a set size (step: S12). For example, the watermark embedding apparatus may reduce the font size of text included in the detected text line to "1 Pt". Preferably, the reduction of the font size is assumed to be a fine degree that is difficult for humans to perceive.

한편, 앞서도 언급한 바 있듯이, 본 발명의 다른 실시예에 따르면 워터마크 삽입 장치는 상기 단계 S11을 수행한 후, 상기 단계 S12 대신에 검출된 텍스트 라인 내에 포함된 텍스트의 텍스트 두께를 미리 설정된 만큼 축소할 수도 있다.On the other hand, as mentioned above, according to another embodiment of the present invention, after performing the step S11, the watermark embedding apparatus reduces the text thickness of the text included in the detected text line by a preset amount instead of the step S12. You may.

도 8은 워터마크 삽입 장치에 의하여 수행되는 제 2 텍스트 처리의 흐름을 설명하기 위한 흐름도이다. 도 8에 도시된 예에서는 텍스트 영역 내에 가장 많은 자음을 검출하는 예를 가정한다.8 is a flowchart for explaining the flow of second text processing performed by the watermark embedding apparatus. In the example shown in FIG. 8, it is assumed that the most consonants are detected in the text area.

도 8에 도시된 바와 같이, 워터마크 삽입 장치는 텍스트 영역 내에 가장 많은 자음을 검출할 수 있다(단계:S21). 이어서, 워터마크 삽입 장치는 사용자 코드를 기반으로 하여 상기 검출된 자음을 포함하는 텍스트들 중 변형할 텍스트를 검출할 수 있다(단계:S22). 예를 들면, 워터마크 삽입 장치는 상기 텍스트 영역 내에 존재하는 상기 검출된 자음을 포함하는 각 텍스트를 상기 사용자 코드의 각 비트 값에 순차적으로 대응시킨 후, 대응된 비트가 제 1 값인 텍스트를 변형할 텍스트인 것으로 검출할 수 있다.As shown in FIG. 8, the watermark embedding apparatus can detect the most consonants in the text area (step: S21). Subsequently, the watermark embedding apparatus may detect the text to be modified among the texts including the detected consonants based on the user code (step: S22). For example, the watermark embedding apparatus sequentially matches each text containing the detected consonant present in the text area to each bit value of the user code, and then transforms the text whose corresponding bit is the first value. It can be detected as text.

다음으로, 워터마크 삽입 장치는 검출된 텍스트의 텍스트 두께를 설정된 두께만큼 축소시킬 수 있다(단계:S23). 바람직하기로는 상기 텍스트 두께의 축소는 사람이 인지할 수 없을 만큼 미세한 정도인 것으로 한다. 한편, 본 발명의 다른 실시예에 따르면, 워터마크 삽입 장치는 상기 단계:S22를 수행한 후, 상기 단계 S23 대신에 검출된 텍스트의 폰트 사이즈를 미리 설정된 만큼 축소할 수도 있다.Next, the watermark insertion device may reduce the text thickness of the detected text by a set thickness (step: S23). Preferably, the reduction in the thickness of the text is assumed to be a degree that is fine enough for a human to not recognize. On the other hand, according to another embodiment of the present invention, the watermark embedding apparatus may reduce the font size of the detected text by a preset amount instead of the step S23 after performing the step: S22.

본 발명의 다른 실시예에 따르면, 텍스트 처리 단계는 제 1 텍스트 처리만 수행할 수도 있고, 제 2 텍스트 처리만 수행할 수도 있다. 즉 본 발명에 따른 텍스트 처리 단계는 제 1 텍스트 처리 및 제 2 텍스트 처리 중 적어도 하나를 수행할 수 있다.According to another embodiment of the present invention, the text processing step may perform only the first text processing or only the second text processing. That is, the text processing step according to the present invention may perform at least one of first text processing and second text processing.

한편, 이미지 영역이 검출되면, 워터마크 삽입 장치는, 검출된 이미지 영역의 이미지를 사용자 코드를 기반으로 변형하는 이미지 처리를 수행할 수 있다(단계:S4). 예를 들어, 워터마크 삽입 장치는 이미지 영역 내의 이미지를 미리 정해진 크기의 세부 조각, 예컨대 셀 별로 분할하고, 상기 사용자 코드를 기반으로 하여, 상기 분할된 세부 조각에 정해진 연산, 예컨대 익스클루시브 오어(XOR) 연산을 사용하여 상기 사용자 코드를 삽입할 수 있다.Meanwhile, when the image area is detected, the watermark embedding device may perform image processing for transforming the image of the detected image area based on a user code (step: S4). For example, the watermark embedding apparatus divides an image in an image area into detailed pieces of a predetermined size, for example, cells, and based on the user code, calculations performed on the divided detailed pieces, such as exclusive or ( XOR) operation to insert the user code.

다음으로, 워터마크 삽입 장치는 사용자 코드를 기반으로 텍스트 영역의 텍스트 및 이미지 영역의 이미지를 각각 변형한 디지털 문서(즉, 워터마크가 삽입된 디지털 문서)의 파일 확장자를 미리 정해진 형식의 파일 확장자로 변환할 수 있다(단계:S5). 예를 들어, 요청된 디지털 문서의 파일 확장자가 ".doc"라면, 워터마크 삽입 장치는 디지털 문서의 확장자를 ".mark"와 같은 파일 확장자로 변경할 수 있다. 따라서 요청된 디지털 문서는 워터마크가 삽입된 보안 디지털 문서임을 사람이 육안으로도 판별할 수 있다.Next, the watermark embedding device uses a file extension of a digital document (that is, a digital document in which a watermark is inserted), each of which transforms the text in the text area and the image in the image area, based on the user code. Can be converted (step: S5). For example, if the file extension of the requested digital document is ".doc", the watermark embedding device may change the extension of the digital document to a file extension such as ".mark". Therefore, a person can visually determine that the requested digital document is a secure digital document with a watermark embedded therein.

워터마크 삽입 장치는 파일 확장자를 변환한 보안 디지털 문서를 디지털 문서를 요청한 사용자 장치로 전송할 수 있다. 사용자 장치는 보안 뷰어를 이용하여 상기 보안 디지털 문서를 디스플레이할 수 있다. 상기 디스플레이되는 보안 문서의 텍스트 및 이미지는 워터마크 삽입 장치에 의하여 상기 사용자 장치에 대응하는 사용자 정보를 기반으로 변형되어 있다. 그러나, 텍스트 및 이미지의 변형은 육안으로는 식별하기 어렵다.The watermark embedding device may transmit a secure digital document converted with a file extension to the requesting user device. The user device can display the secure digital document using a secure viewer. The text and image of the displayed secure document are modified based on user information corresponding to the user device by the watermark insertion device. However, variations in text and images are difficult to discern.

한편, 상기 보안 디지털 문서는, 상기 사용자 장치에 대응하는 사용자 코드를 기반으로 텍스트 및 이미지가 변형된 문서이기 때문에, 상기 사용자 장치에 구비된 정해진 보안 뷰어에 의해서는 디스플레이될 수 있으나, 일반 뷰어 또는 다른 사용자 장치로부터의 접근은 차단될 수 있다. 예를 들어, 상기 보안 디지털 문서 다른 사용자 장치에 구비된 보안 뷰어 또는 일반 뷰어에 의한 디스플레이는 차단될 수 있으며, 상기 사용자 장치에 구비되어 있는 일반 뷰어에 의해서도 디스플레이가 불허될 수 있다.Meanwhile, since the secure digital document is a document in which text and images are modified based on a user code corresponding to the user device, the secure digital document can be displayed by a predetermined security viewer provided in the user device. Access from user devices may be blocked. For example, the display by the security viewer or the general viewer provided in the secure digital document other user device may be blocked, and the display may also be disallowed by the general viewer provided in the user device.

한편, 사용자 장치에 의하여 디스플레이되는 보안 디지털 문서는 불순한 의도를 가진자에 의하여 사진 촬영, 화면 캡쳐, 프린트 등에 의하여 불법적으로 유출될 수 있다. 이때, 상기 유출된 보안 디지털 문서의 이미지가 입수된다면 보안 디지털 문서에 삽입된 워터마크를 기반으로 하여 상기 보안 디지털 문서가 어느 사용자 장치로부터 유출되었는지를 찾아낼 수 있다. 이는 워터마크 검출 장치에 의하여 수행될 수 있다.On the other hand, the secure digital document displayed by the user device may be illegally leaked by a person who has an unintended intention by photographing, screen capturing, or printing. At this time, if an image of the leaked security digital document is obtained, it is possible to find out from which user device the security digital document has been leaked based on a watermark embedded in the security digital document. This can be done by a watermark detection device.

도 9는 본 발명의 바람직한 실시예에 따른 워터마크 검출 장치의 구조를 나타내는 블록도이다.9 is a block diagram showing the structure of a watermark detection apparatus according to a preferred embodiment of the present invention.

도 9에 도시된 바와 같이, 워터마크 검출 장치(200)는 디지털 문서 이미지 취득부(210), 영역 검출부(220) 및 정보 검출부(230) 등을 포함할 수 있다.As illustrated in FIG. 9, the watermark detection apparatus 200 may include a digital document image acquisition unit 210, an area detection unit 220, an information detection unit 230, and the like.

상기 디지털 문서 이미지 취득부(210)는 워터마크 삽입 장치(200)에 의하여 워터마크가 삽입된 보안 디지털 문서의 이미지를 취득할 수 있다. 상기 보안 디지털 문서는 앞서도 언급했듯이, 사용자 코드를 기반으로 하여 텍스트 영역 및 이미지 영역의 텍스트 및 이미지가 변형되어 있다.The digital document image acquisition unit 210 may acquire an image of a secure digital document in which a watermark is inserted by the watermark insertion device 200. As described above, in the secure digital document, text and images in a text area and an image area are modified based on a user code.

상기 영역 검출부(220)는 상기 디지털 문서 이미지 취득부(210)에 의하여 취득된 보안 디지털 문서 이미지로부터 텍스트 영역과 이미지 영역을 각각 검출할 수 있다. 상기 텍스트 영역은 텍스트를 포함하는 영역을 의미한다. 상기 이미지 영역은 이미지를 포함하는 영역일 수도 있고, 또는 상기 디지털 문서에서 텍스트 영역을 제외한 나머지 영역일 수도 있다.The area detection unit 220 may respectively detect a text area and an image area from the secure digital document image acquired by the digital document image acquisition unit 210. The text area means an area containing text. The image area may be an area including an image, or may be an area other than the text area in the digital document.

정보 검출부(230)는 영역 검출부(220)에 의하여 검출된 텍스트 영역에 삽입된 텍스트 변형 형식의 워터마크를 해독하여 사용자 코드를 검출하는 기능을 수행할 수 있다. 도 10은 도 9에 도시되어 있는 정보 검출부(230)의 동작 흐름을 설명하기 위한 흐름도이다.The information detection unit 230 may perform a function of decoding a watermark of a text modification type inserted in the text area detected by the area detection unit 220 to detect a user code. 10 is a flowchart for explaining an operation flow of the information detection unit 230 shown in FIG. 9.

도 10에 도시된 바와 같이, 정보 검출부(230)는 영역 검출부(220)에 의하여 검출된 텍스트 영역의 텍스트를 원본 이미지의 대응된 영역의 텍스트와 비교하고(단계:S31), 그 비교를 기반으로 하여 상기 텍스트 영역 내의 텍스트들 중 변형된 텍스트를 검출할 수 있다(단계:S32). 정보 검출부(230)는 상기 변형된 텍스트를 기반으로 하여, 사용자 장치를 식별할 수 있는 유니크 한 바이너리 코드인 사용자 코드를 검출할 수 있다(단계:S33).10, the information detection unit 230 compares the text of the text area detected by the area detection unit 220 with the text of the corresponding area of the original image (step: S31), and based on the comparison By doing so, it is possible to detect a deformed text among texts in the text area (step: S32). The information detection unit 230 may detect a user code that is a unique binary code that can identify a user device based on the modified text (step: S33).

이러한 정보 검출부(230)는, 도 9에 도시된 바와 같이, 상기 정보 검출부(230) 제 1 정보 검출부 및 제 2 정보 검출부를 포함할 수 있다.9, the information detection unit 230 may include a first information detection unit and a second information detection unit of the information detection unit 230.

상기 제 1 정보 검출부(231)는 워터마크 삽입 장치의 제 1 텍스트 처리부(142)의 처리 알고리즘을 미리 저장 및 관리하고 있다. 제 1 정보 검출부(231)는 상기 제 1 텍스트 처리부(142)의 처리 알고리즘을 역산하여 사용자 코드를 검출할 수 있다. 예를 들면, 제 1 정보 검출부(231)는 검출된 텍스트 영역의 텍스트를 원본 영상의 대응된 영역의 텍스트와 비교하고, 그 비교를 기반으로 하여 상기 텍스트 영역 내의 텍스트 라인들 중 변형된 텍스트 라인을 검출한 후, 변형된 텍스트 라인에 제 1 값을 대응시킴으로써, 사용자 코드를 검출할 수 있다.The first information detection unit 231 stores and manages the processing algorithm of the first text processing unit 142 of the watermark embedding device in advance. The first information detection unit 231 may detect a user code by inverting the processing algorithm of the first text processing unit 142. For example, the first information detector 231 compares the text of the detected text area with the text of the corresponding area of the original image, and based on the comparison, changes the text line among the text lines in the text area. After detection, the user code can be detected by matching the first value to the deformed text line.

상기 제 2 정보 검출부(233)는 워터마크 삽입 장치의 제 2 텍스트 처리부(145)의 처리 알고리즘을 미리 저장 및 관리하고 있다. 제 2 정보 검출부(233)는 제 2 텍스트 처리부(145)의 처리 알고리즘을 역산하여 사용자 코드를 검출할 수 있다. 예를 들면, 제 2 정보 검출부(233)는 검출된 텍스트 영역의 텍스트를 원본 영상의 대응된 영역의 텍스트와 비교하고, 그 비교를 기반으로 하여 변형된 텍스트들을 검출하고, 상기 텍스트 영역 내에서 가장 많은 자음 또는 모음을 포함하는 텍스트에 제 1 값을 대응시키는 것을 기반으로 하여, 상기 사용자 코드를 검출할 수 있다.The second information detection unit 233 stores and manages the processing algorithm of the second text processing unit 145 of the watermark embedding device in advance. The second information detection unit 233 may detect the user code by inverting the processing algorithm of the second text processing unit 145. For example, the second information detection unit 233 compares the text of the detected text area with the text of the corresponding area of the original image, detects deformed texts based on the comparison, and simulates the text within the text area. Based on matching a first value to text containing many consonants or vowels, the user code can be detected.

이상 본 발명에 대하여 그 바람직한 실시예를 예시하여 설명하였지만 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구 범위에 기재된 본 발명의 기술적 사항 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시켜 실시할 수 있음을 이해할 수 있을 것이다. 따라서, 본 발명의 앞으로의 실시예들의 변경은 본 발명의 기술을 벗어날 수 없을 것이다.
The preferred embodiments of the present invention have been exemplified and described, but those skilled in the art variously modify and change the present invention without departing from the technical details and scope of the present invention as set forth in the claims below. You can understand that you can do it. Therefore, changes in the embodiments of the present invention will not be able to escape the technology of the present invention.

100 : 워터마크 삽입 장치
110 : 사용자 코드 생성부
120 : 영역 검출부
130 : 처리부
140 : 텍스트 처리부
150 : 이미지 처리부
160 : 파일 변환부
170 : 파일 전송부
100: watermark insertion device
110: user code generator
120: area detection unit
130: processing unit
140: text processing unit
150: image processing unit
160: file converter
170: file transfer unit

Claims (29)

워터마크 삽입 장치에 의하여 수행되며,
디지털 문서로부터 텍스트 영역을 검출하는 단계;
사용자 장치에 대응하는 유니크 한 바이너리 코드인 사용자 코드를 기반으로 하여, 상기 텍스트 영역 내의 텍스트들 중 변형할 적어도 하나의 텍스트를 검출하는 단계; 및
상기 사용자 코드를 기반으로 하여, 검출된 상기 적어도 하나의 텍스트를 변형하는 단계를 포함하고,
상기 적어도 하나의 텍스트를 검출하는 단계는,
상기 사용자 코드를 기반으로 하여, 상기 텍스트 영역 내의 텍스트 라인 중 변형할 텍스트 라인을 검출하는 단계를 포함하고,
상기 변형할 텍스트 라인을 검출하는 단계는,
상기 텍스트 영역 내의 각 텍스트 라인을 상기 사용자 코드의 각 비트 값에 순차적으로 반복하여 대응시키되, 반복되는 사용자 코드의 사이에 특정 비트 값을 삽입하는 단계; 및
대응된 비트가 제 1 값인 텍스트 라인을 검출하는 단계를 포함하는 것을 특징으로 하는 워터마크 삽입 방법.
It is performed by the watermark insertion device,
Detecting a text area from a digital document;
Detecting at least one text to be transformed among texts in the text area based on a user code that is a unique binary code corresponding to a user device; And
And transforming the detected at least one text based on the user code.
The detecting of the at least one text may include:
And detecting a text line to be transformed among text lines in the text area based on the user code.
The detecting of the text line to be transformed may include:
Each line of text in the text area is sequentially repeated to correspond to each bit value of the user code, and inserting a specific bit value between repeated user codes; And
And detecting a text line whose corresponding bit is a first value.
제 1 항에 있어서, 상기 사용자 장치에 구비된 보안 뷰어의 고유 키, 상기 사용자 장치의 물리적인 식별 정보 및 상기 사용자 장치에 대응하는 사용자 식별 정보 중 적어도 어느 하나를 기반으로 하여, 상기 사용자 코드를 생성하는 단계를 더 포함하는 것을 특징으로 하는 워터마크 삽입 방법.
The method of claim 1, wherein the user code is generated based on at least one of a unique key of a security viewer provided on the user device, physical identification information of the user device, and user identification information corresponding to the user device. Watermark embedding method further comprising the step of.
제 1 항에 있어서, 상기 사용자 장치로부터 상기 디지털 문서를 요청하는 요청을 수신하는 단계;
상기 사용자 장치로 상기 사용자 코드의 생성에 필요한 정보를 요청하는 단계; 및
상기 사용자 코드의 생성에 필요한 정보를 상기 사용자 장치로부터 수신하는 단계를 더 포함하는 것을 특징으로 하는 워터마크 삽입 방법.
The method of claim 1, further comprising: receiving a request for the digital document from the user device;
Requesting information necessary for generating the user code to the user device; And
And receiving information necessary for generating the user code from the user device.
제 1 항에 있어서, 상기 적어도 하나의 텍스트를 변형하는 단계는,
상기 검출된 텍스트 라인 내의 텍스트의 폰트 사이즈를 축소하거나 텍스트 두께를 축소시키는 단계를 포함하는 것을 특징으로 하는 워터마크 삽입 방법.
According to claim 1, The step of transforming the at least one text,
And reducing the font size of the text in the detected text line or reducing the thickness of the text.
삭제delete 삭제delete 삭제delete 제 1 항에 있어서, 상기 디지털 문서로부터 이미지 영역을 검출하는 단계;
검출된 상기 이미지 영역의 이미지를 미리 정해진 세부 조각으로 분할하는 단계; 및
상기 사용자 코드를 기반으로 하여, 상기 분할된 세부 조각에 정해진 연산을 가하는 단계를 더 포함하는 것을 특징으로 하는 워터마크 삽입 방법.
The method of claim 1, further comprising: detecting an image area from the digital document;
Dividing the detected image of the image area into predetermined detailed pieces; And
And adding a predetermined operation to the divided detailed pieces based on the user code.
제 8 항에 있어서, 상기 정해진 연산을 가하는 단계는,
상기 사용자 코드를 기반으로 하는 비트 열을 생성하는 단계; 및
상기 분할된 세부 조각에 익스클루시브 오어(XOR) 연산을 사용하여 상기 비트 열을 삽입하는 단계를 포함하는 것을 특징으로 하는 워터마크 삽입 방법.
The method of claim 8, wherein the step of applying the predetermined operation,
Generating a bit stream based on the user code; And
And inserting the bit stream using an exclusive OR (XOR) operation on the divided detail piece.
제 1 항에 있어서, 상기 적어도 하나의 텍스트를 변형한 디지털 문서의 파일 확장자를 미리 정해진 확장자로 변환하는 단계; 및
상기 미리 정해진 확장자로 변환된 디지털 문서를 상기 사용자 장치로 전송하는 단계를 더 포함하고,
상기 사용자 장치로 전송된 디지털 문서는 상기 사용자 장치에 구비된 정해진 보안 뷰어에 의하여 디스플레이되며, 일반 뷰어 및 다른 사용자 장치로부터의 접근은 차단되는 것을 특징으로 하는 워터마크 삽입 방법.
The method of claim 1, further comprising: converting a file extension of the digital document in which the at least one text is modified into a predetermined extension; And
And transmitting the digital document converted to the predetermined extension to the user device,
The digital document transmitted to the user device is displayed by a predetermined security viewer provided on the user device, and access from a general viewer and other user devices is blocked.
디지털 문서로부터 텍스트 영역을 검출하는 영역 검출부; 및
사용자 장치에 대응하는 유니크 한 바이너리 코드인 사용자 코드를 기반으로 하여, 상기 텍스트 영역 내의 텍스트들 중 변형할 적어도 하나의 텍스트를 검출하고, 유니크 한 바이너리 코드인 사용자 코드를 기반으로 하여, 검출된 상기 적어도 하나의 텍스트를 변형하는 텍스트 처리부를 포함하고,
상기 텍스트 처리부는,
상기 텍스트 영역 내의 각 텍스트 라인을 상기 사용자 코드의 각 비트 값에 순차적으로 반복하여 대응시키되, 반복되는 사용자 코드의 사이에 특정 비트 값을 삽입하고, 대응된 비트가 제 1 값인 텍스트 라인을 검출하는 것을 특징으로 하는 워터마크 삽입 장치.
An area detection unit that detects a text area from a digital document; And
Based on the user code, which is a unique binary code corresponding to a user device, at least one text to be modified among the texts in the text area is detected, and based on the user code, which is a unique binary code, the detected at least It includes a text processing unit for transforming one text,
The text processing unit,
Each text line in the text area is sequentially repeated to correspond to each bit value of the user code, but inserting a specific bit value between repeated user codes, and detecting a text line whose corresponding bit is the first value. Watermark insertion device characterized in that.
제 11 항에 있어서, 상기 사용자 장치에 구비된 보안 뷰어의 고유 키, 상기 사용자 장치의 물리적인 식별 정보 및 상기 사용자 장치에 대응하는 사용자 식별 정보 중 적어도 어느 하나를 기반으로 하여, 상기 사용자 코드를 사용자 코드 생성부를 더 포함하는 것을 특징으로 하는 워터마크 삽입 장치.
The user code of claim 11, based on at least one of a unique key of the security viewer provided on the user device, physical identification information of the user device, and user identification information corresponding to the user device. Watermark embedding apparatus further comprising a code generator.
제 11 항에 있어서, 상기 사용자 장치로부터 상기 디지털 문서를 요청하는 요청을 수신하고, 상기 사용자 장치로 상기 사용자 코드의 생성에 필요한 정보를 요청하고, 상기 사용자 코드의 생성에 필요한 정보를 상기 사용자 장치로부터 수신하는 사용자 코드 생성부를 더 포함하는 것을 특징으로 하는 워터마크 삽입 장치.
The method of claim 11, further comprising: receiving a request for requesting the digital document from the user device, requesting information necessary for generating the user code to the user device, and receiving information necessary for generating the user code from the user device The apparatus for inserting a watermark, further comprising a receiving user code generator.
제 11 항에 있어서, 상기 텍스트 처리부는,
상기 검출된 텍스트 라인 내의 텍스트의 폰트 사이즈를 축소하거나 텍스트 두께를 축소시키는 것을 특징으로 하는 워터마크 삽입 장치.
The method of claim 11, wherein the text processing unit,
Watermark embedding apparatus, characterized in that to reduce the font size of the text in the detected text line or to reduce the text thickness.
삭제delete 삭제delete 삭제delete 제 11 항에 있어서, 상기 디지털 문서로부터 이미지 영역을 검출하고, 검출된 상기 이미지 영역의 이미지를 미리 정해진 세부 조각으로 분할하고, 상기 사용자 코드를 기반으로 하여, 상기 분할된 세부 조각에 정해진 연산을 가하는 이미지 처리부를 더 포함하는 것을 특징으로 하는 워터마크 삽입 장치.
12. The method of claim 11, wherein an image area is detected from the digital document, an image of the detected image area is divided into predetermined detailed pieces, and a predetermined operation is applied to the divided detailed pieces based on the user code. Watermark embedding apparatus further comprising an image processing unit.
제 18 항에 있어서, 상기 이미지 처리부는,
상기 사용자 코드를 기반으로 하는 비트 열을 생성하고, 상기 분할된 세부 조각에 익스클루시브 오어(XOR) 연산을 사용하여 상기 비트 열을 삽입하는 것을 특징으로 하는 워터마크 삽입 장치.
The image processing unit of claim 18,
And generating a bit stream based on the user code, and inserting the bit stream using an exclusive OR (XOR) operation on the divided detail piece.
제 11 항에 있어서, 상기 적어도 하나의 텍스트를 변형한 디지털 문서의 파일 확장자를 미리 정해진 확장자로 변환하는 변환부; 및
상기 미리 정해진 확장자로 변환된 디지털 문서를 상기 사용자 장치로 전송하는 전송부를 더 포함하고,
상기 사용자 장치로 전송된 디지털 문서는 상기 사용자 장치에 구비된 정해진 보안 뷰어에 의하여 디스플레이되며, 일반 뷰어 및 다른 사용자 장치로부터의 접근은 차단되는 것을 특징으로 하는 워터마크 삽입 장치.
12. The system of claim 11, further comprising: a conversion unit that converts a file extension of the digital document in which the at least one text is modified into a predetermined extension; And
Further comprising a transmission unit for transmitting the digital document converted to the predetermined extension to the user device,
The digital document transmitted to the user device is displayed by a predetermined security viewer provided on the user device, and access from a general viewer and other user devices is blocked.
네트워크를 통하여 디지털 문서를 요청하는 사용자 장치; 및
상기 디지털 문서로부터 텍스트 영역을 검출하고, 상기 사용자 장치에 대응하는 유니크 한 바이너리 코드인 사용자 코드를 기반으로 하여, 상기 텍스트 영역 내의 텍스트들 중 변형할 적어도 하나의 텍스트를 검출하고, 상기 사용자 코드를 기반으로 하여, 검출된 상기 적어도 하나의 텍스트를 변형하는 워터마크 삽입 장치를 포함하고,
상기 워터마크 삽입 장치는,
상기 텍스트 영역 내의 각 텍스트 라인을 상기 사용자 코드의 각 비트 값에 순차적으로 반복하여 대응시키되, 반복되는 사용자 코드의 사이에 특정 비트 값을 삽입하고, 대응된 비트가 제 1 값인 텍스트 라인을 검출하는 것을 특징으로 하는 워터마크 삽입 시스템.
A user device requesting a digital document over a network; And
A text area is detected from the digital document, and at least one text to be transformed among texts in the text area is detected based on a user code that is a unique binary code corresponding to the user device. And a watermark embedding device for transforming the detected at least one text,
The watermark insertion device,
Each text line in the text area is sequentially repeated to correspond to each bit value of the user code, but inserting a specific bit value between repeated user codes, and detecting a text line whose corresponding bit is the first value. Watermark embedding system.
삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete
KR1020130061972A 2013-05-30 2013-05-30 Method, Apparatus and System for Inserting Watermark KR102108192B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020130061972A KR102108192B1 (en) 2013-05-30 2013-05-30 Method, Apparatus and System for Inserting Watermark

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020130061972A KR102108192B1 (en) 2013-05-30 2013-05-30 Method, Apparatus and System for Inserting Watermark

Publications (2)

Publication Number Publication Date
KR20140140928A KR20140140928A (en) 2014-12-10
KR102108192B1 true KR102108192B1 (en) 2020-05-07

Family

ID=52458577

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130061972A KR102108192B1 (en) 2013-05-30 2013-05-30 Method, Apparatus and System for Inserting Watermark

Country Status (1)

Country Link
KR (1) KR102108192B1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102020619B1 (en) * 2017-09-12 2019-09-10 주식회사 이노티움 Method for displaying watermark in screen and apparatus therefor
KR101980886B1 (en) 2018-04-11 2019-05-24 한국과학기술원 Method and apparatus for embedding watermark
KR102050890B1 (en) 2018-11-30 2019-12-02 주식회사우경정보기술 Server to secure video based on streaming, method for providing secured video between sever and client, and computer-readable recording media
KR102050882B1 (en) 2018-11-30 2019-12-02 주식회사우경정보기술 Method, server and computer-readable recording media for video security using zero-watermarking based on stream cipher
KR102379590B1 (en) 2021-02-01 2022-03-28 윤종옥 Streaming service platform with security features and system and method that support the same

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001251490A (en) * 2000-03-06 2001-09-14 Ricoh Co Ltd Printing controller, copying machine, printing controlling method, copying controlling method, medium with printing control program recorded thereon and medium with copying control program recorded thereon
JP2008136117A (en) * 2006-11-29 2008-06-12 Systemneeds Inc Encryption method and decryption method
JP2009278181A (en) * 2008-05-12 2009-11-26 Canon Inc Electronic watermark information embedding apparatus and method, and electronic watermark information extraction apparatus and method
KR101200345B1 (en) * 2011-09-21 2012-11-12 금오공과대학교 산학협력단 Block-bases image authentication method using reversible watermarking based on progressive differential histogram

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6086706A (en) * 1993-12-20 2000-07-11 Lucent Technologies Inc. Document copying deterrent method
KR101311286B1 (en) 2011-10-11 2013-09-25 주식회사 파수닷컴 Apparatus and method for displaying a watermark on screen

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001251490A (en) * 2000-03-06 2001-09-14 Ricoh Co Ltd Printing controller, copying machine, printing controlling method, copying controlling method, medium with printing control program recorded thereon and medium with copying control program recorded thereon
JP2008136117A (en) * 2006-11-29 2008-06-12 Systemneeds Inc Encryption method and decryption method
JP2009278181A (en) * 2008-05-12 2009-11-26 Canon Inc Electronic watermark information embedding apparatus and method, and electronic watermark information extraction apparatus and method
KR101200345B1 (en) * 2011-09-21 2012-11-12 금오공과대학교 산학협력단 Block-bases image authentication method using reversible watermarking based on progressive differential histogram

Also Published As

Publication number Publication date
KR20140140928A (en) 2014-12-10

Similar Documents

Publication Publication Date Title
Shih Digital watermarking and steganography: fundamentals and techniques
Ahvanooey et al. ANiTW: A novel intelligent text watermarking technique for forensic identification of spurious information on social media
Jalil et al. Content based zero-watermarking algorithm for authentication of text documents
KR102108192B1 (en) Method, Apparatus and System for Inserting Watermark
US20070014429A1 (en) Embedding and detecting watermarks
Rizzo et al. Content-preserving text watermarking through unicode homoglyph substitution
Banerjee et al. Novel text steganography through special code generation
CA2865587A1 (en) Method and apparatus for the detection of digital watermarks for instant credential authentication
CN104517045B (en) Digital document guard method and system
Jalil et al. Word length based zero-watermarking algorithm for tamper detection in text documents
Gugelmann et al. Screen watermarking for data theft investigation and attribution
Domain A review and open issues of diverse text watermarking techniques in spatial domain
Kaur et al. An existential review on text watermarking techniques
CN104361293A (en) Methods and devices for generating and distinguishing anti-counterfeiting paper document
Alkawaz et al. Concise analysis of current text automation and watermarking approaches
Boonyapalanant et al. Hiding patient injury information in medical images with QR code
CN105989569A (en) Digital watermark embedding method and apparatus for EPUB document as well as extraction method and apparatus
Das et al. Digital forensic enabled image authentication using least significant bit (lsb) with tamper localization based hash function
Ridzoň et al. Content protection in grayscale and color images based on robust digital watermarking
Iacobici et al. Digital imaging processing and reconstruction for general applications
Ahmed Integrated fingerprint verification method using a composite signature-based watermarking technique
Lee et al. Optimal pixel-level self-repairing authentication method for grayscale images under a minimax criterion of distortion reduction
Mantoro et al. Real-time printed document authentication using watermarked qr code
CN110532740A (en) Image ciphering method, apparatus, the encroach right method of determination and computer storage medium
Dadkhah et al. Efficient image authentication and tamper localization algorithm using active watermarking

Legal Events

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