KR102066688B1 - How to protect personal information in video using independent password for each object - Google Patents

How to protect personal information in video using independent password for each object Download PDF

Info

Publication number
KR102066688B1
KR102066688B1 KR1020180003085A KR20180003085A KR102066688B1 KR 102066688 B1 KR102066688 B1 KR 102066688B1 KR 1020180003085 A KR1020180003085 A KR 1020180003085A KR 20180003085 A KR20180003085 A KR 20180003085A KR 102066688 B1 KR102066688 B1 KR 102066688B1
Authority
KR
South Korea
Prior art keywords
key
information
masking
group
unmasking
Prior art date
Application number
KR1020180003085A
Other languages
Korean (ko)
Other versions
KR20190085225A (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 KR1020180003085A priority Critical patent/KR102066688B1/en
Publication of KR20190085225A publication Critical patent/KR20190085225A/en
Application granted granted Critical
Publication of KR102066688B1 publication Critical patent/KR102066688B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6209Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself
    • G06K9/3233
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Medical Informatics (AREA)
  • Multimedia (AREA)
  • Studio Devices (AREA)
  • Image Processing (AREA)

Abstract

본 발명은 객체별 독립암호를 이용한 영상내 개인정보보호 방법에 관한 것으로서, 더욱 상세하게는 영상 내 객체에 대한 추적 및 분류를 통해 객체 별 보안키에 기초하여 마스킹 및 언마스킹 처리를 수행하는 객체별 독립암호를 이용한 영상내 개인정보보호 방법에 관한 것이다.The present invention relates to a method for protecting personal information in an image using an independent password for each object, and more specifically, for each object performing masking and unmasking processing based on a security key for each object by tracking and classifying objects in the image. The present invention relates to a method for protecting personal information in an image using an independent password.

Description

객체별 독립암호를 이용한 영상내 개인정보보호 방법 {How to protect personal information in video using independent password for each object}How to protect personal information in video using independent password for each object}

본 발명은 객체별 독립암호를 이용한 영상내 개인정보보호 방법에 관한 것으로서, 더욱 상세하게는 영상 내 객체에 대한 추적 및 분류를 통해 객체 별 보안키에 기초하여 마스킹 및 언마스킹 처리를 수행하는 객체별 독립암호를 이용한 영상내 개인정보보호 방법에 관한 것이다.The present invention relates to a method for protecting personal information in an image using an independent password for each object, and more specifically, for each object performing masking and unmasking processing based on a security key for each object by tracking and classifying objects in the image. The present invention relates to a method for protecting personal information in an image using an independent password.

CCTV 영상을 배포할 때 영상 내의 개인정보 보호를 위해 객체를 마스킹(모자이크 또는 다른 색으로 차단하여 인식할 수 없도록 함) 처리하여 제공하고 있다. 객체를 검출하고 추적하면서 화면상의 객체정보를 파악한 후 인코딩(Encoding)과정에서 Key를 이용해 해당객체 영역을 암호화하고 객체의 정보를 영상에 담아 전달한다. 디코더(Decoder)측에서는 디코딩 해 암호화되어 마스킹 된 객체를 포함한 영상을 표시한다. 이때 마스킹을 위해 암호화된 객체들은 영상블록들이 섞여 어떤 객체인지 구분할 수 없게 된다. 마스킹 된 객체정보를 제외한 주변영상의 정보를 이용해 객체의 확인이 필요한 영상구간을 파악한다. 그런 후 Key를 받아 복호 한 후 구별할 수 없는 모자이크형태였던 객체를 원본 영상의 형태로 본다. 단 이 경우에는 모든 객체를 복호 하여 원본으로 복구하였기 때문에 모든 개인정보가 노출될 수밖에 없는 한계가 있다.When distributing CCTV images, they provide masking (blocking them with mosaic or other colors so that they cannot be recognized) to protect personal information in the images. After detecting and tracking the object, it grasps the object information on the screen, encrypts the area of the object by using the key in the encoding process, and transfers the object information into the image. On the decoder side, images are displayed that contain the decoded, encrypted, and masked objects. In this case, the objects encrypted for masking cannot be distinguished as what objects are mixed with video blocks. Using the information of the surrounding images except the masked object information, the image section that needs to be identified is identified. Then, after receiving the key and decoding it, the object that was indistinguishable from the mosaic is seen in the form of the original image. In this case, however, since all objects are decoded and restored to the original, all personal information is inevitably exposed.

위와 같이, 종래 감시 영상에 대한 개인정보를 보호하는 기술로 암호 Key를 사용해 객체를 마스킹/언마스킹 하여왔으나 이런 경우 모든 객체를 동시에 마스킹/언마스킹 해야 하는 문제가 발생하게 된다. 즉, 필요로 하는 객체의 언마스킹만 하면 되는데 불필요하게 다른 객체의 개인정보를 노출해야 하는 문제점이 있다.As described above, the technology for protecting personal information on the surveillance video has been used to mask / unmask objects using a cryptographic key, but in this case, the problem of masking / unmasking all objects simultaneously occurs. In other words, there is a problem in that the personal information of another object needs to be exposed unnecessarily only by unmasking the required object.

또한, 각 객체를 별도의 암호 Key로 마스킹 하는 경우 전체를 언마스킹 할 시 모든 객체의 Key가 필요해지는 불편함이 있다. 전체를 언마스킹 하는 Key 하나로 모두 언마스킹 할 수 있으며 그룹별 마스터 Key가 있어 해당그룹 전체를 하나의 Key로 언마스킹 할 수 있고 또 개별 객체는 하나의 Key로 언마스킹 해 볼 수 있는 기능이 있다면 개인정보를 과다하게 노출하는 위험부담을 줄이며 필요로 하는 개인정보만 선별적으로 확인할 수 있어 가장 바람직한 개인정보보호 영상시스템이 될 수 있을 것이다. 단, 이러한 편리한 시스템의 도입에도 개별객체의 Key를 이용해 그룹 마스터 Key를 유추하거나 계산할 수 없어야 한다.In addition, when masking each object with a separate encryption key, it is inconvenient to require the keys of all objects when unmasking the whole. If you have the ability to unmask the whole group with one key, and individual objects can be unmasked with one key, you can unmask all with one key that unmasks the whole. By reducing the risk of over-exposing the information, it is possible to selectively check only the personal information that is needed, which may be the most desirable personal information protection video system. However, even with the introduction of such a convenient system, it should not be able to infer or calculate the group master key using the keys of individual objects.

본 발명은 영상 내 객체에 대한 추적 및 분류를 통해 객체 별 보안키에 기초하여 마스킹 및 언마스킹 처리를 수행하는 객체별 독립암호를 이용한 영상내 개인정보보호 방법을 제공하는 것을 그 목적으로 한다.An object of the present invention is to provide a method for protecting personal information in an image using an independent password for each object that performs masking and unmasking processing based on a security key for each object through tracking and classifying objects in the image.

상기와 같은 과제를 해결하기 위하여 본 발명은, 영상의 마스킹처리방법으로서, 영상 내 객체를 검출하는 객체검출단계; 검출된 상기 객체가 기존 검출 객체와 동일 객체인지 확인하는 객체추적단계; 검출된 상기 객체의 종류를 분류하는 객체분류단계; 검출된 상기 객체에 객체 별 보안키에 기초하여 마스킹 처리를 수행하는 마스킹처리단계; 및 마스킹 된 객체의 정보를 삽입하는 마스킹정보삽입단계; 를 포함하는, 영상의 마스킹처리방법을 제공한다.In order to solve the above problems, the present invention provides an image masking processing method, comprising: an object detecting step of detecting an object in an image; An object tracking step of confirming whether the detected object is the same object as the existing detection object; An object classification step of classifying the type of the detected object; A masking processing step of performing a masking process on the detected object based on an object-specific security key; And a masking information insertion step of inserting information of the masked object. It provides, the masking processing method of the image.

본 발명에서는, 상기 마스킹처리단계는, 객체 별로 마스킹을 수행할 관심영역을 도출하는 관심영역도출단계; 상기 관심영역에 대한 보안키를 생성하는 제1보안키생성단계; 및 보안키를 이용하여 상기 관심영역에 마스킹을 수행하는 암호화단계; 를 포함할 수 있다.In the present invention, the masking processing step, the region of interest derivation step of deriving a region of interest to be masked for each object; Generating a security key for the ROI; And encrypting the ROI using a security key. It may include.

본 발명에서는, 상기 제1보안키생성단계는, 기준 패스워드 및 기설정된 고유정보에 기초하여 마스터키를 생성하는 마스터키생성단계; 및 상기 마스터키 및 개별정보에 기초하여 개별키를 생성하는 개별키생성단계; 를 포함하고, 상기 보안키는 상기 마스터키 및 상기 개별키를 포함할 수 있다.In the present invention, the first security key generation step, the master key generation step of generating a master key based on the reference password and the predetermined unique information; And an individual key generation step of generating an individual key based on the master key and the individual information. Includes, the security key may include the master key and the individual key.

본 발명에서는, 상기 개별키생성단계는, 상기 마스터키 및 그룹속성정보에 기초하여 그룹키를 생성하는 그룹키생성단계; 및 상기 그룹키 및 객체속성정보에 기초하여 객체키를 생성하는 객체키생성단계; 를 포함하고, 상기 개별키는 상기 그룹키 및 상기 객체키를 포함할 수 있다.In the present invention, the individual key generation step, the group key generation step of generating a group key based on the master key and the group attribute information; And an object key generation step of generating an object key based on the group key and object property information. The private key may include the group key and the object key.

본 발명에서는, 상기 암호화단계는, 상기 객체키에 기초하여 기설정된 규칙에 의하여 상기 관심영역 내의 매크로 블록들을 변경 또는 스크램블 함으로써 마스킹을 수행할 수 있다.In the present disclosure, the encrypting may be performed by changing or scrambled macroblocks in the ROI according to a predetermined rule based on the object key.

본 발명에서는, 상기 마스터키는 상기 기준 패스워드 및 기설정된 고유정보를 해시함수를 통해 변환하여 생성하고, 상기 그룹키는 상기 마스터키 및 상기 그룹속성정보를 해시함수를 통해 변환하여 생성하고, 상기 객체키는 상기 그룹키 및 상기 객체속성정보를 해시함수를 통해 변환하여 생성할 수 있다.In the present invention, the master key is generated by converting the reference password and the predetermined unique information through a hash function, the group key is generated by converting the master key and the group attribute information through a hash function, the object The key may be generated by converting the group key and the object attribute information through a hash function.

본 발명에서는, 상기 마스킹 된 객체의 정보는, 상기 영상에 포함 된 총 객체 수; 상기 영상에 포함 된 총 그룹 수; 상기 그룹 각각에 포함 된 객체 수; 및 상기 객체 각각의 객체식별정보 및 객체영역정보를 포함하는 마스킹정보; 를 포함할 수 있다.In the present invention, the information of the masked object, the total number of objects included in the image; The total number of groups contained in the image; The number of objects contained in each of the groups; Masking information including object identification information and object region information of each of the objects; It may include.

본 발명에서는, 상기 객체영역정보는, 상기 객체에 대한 상기 관심영역의 X-Y좌표; 상기 관심영역의 폭; 상기 관심영역의 높이; 및 상기 관심영역의 반경; 중 어느 하나 이상을 포함할 수 있다.In the present invention, the object region information, the X-Y coordinate of the region of interest for the object; A width of the region of interest; A height of the region of interest; And a radius of the region of interest; It may include any one or more of.

본 발명에서는, 상기 영상의 마스킹처리방법은 언마스킹처리단계를 더 포함하고, 상기 언마스킹처리단계는, 마스킹 된 객체의 정보를 추출하는 마스킹정보추출단계; 1 이상의 언마스킹 할 객체의 정보 및 보안키를 입력 받는 언마스킹정보입력단계; 언마스킹 할 객체의 정보로부터 관심영역을 추출하는 관심영역추출단계; 및 보안키를 이용하여 상기 관심영역에 언마스킹을 수행하는 복호화단계;를 더 포함할 수 있다.In the present invention, the masking processing method of the image further includes an unmasking processing step, wherein the unmasking processing step comprises: a masking information extraction step of extracting information of a masked object; An unmasking information input step of receiving information on at least one object to be unmasked and a security key; An ROI extraction step of extracting an ROI from information of an object to be unmasked; And a decryption step of performing unmasking on the ROI using a security key.

본 발명에서는, 상기 영상의 언마스킹처리단계는, 상기 언마스킹정보입력단계에서 마스터키 또는 그룹키를 입력 받은 경우 상기 마스터키 또는 상기 그룹키로부터 객체키를 생성하는 제2보안키생성단계;를 더 포함하고, 상기 복호화단계는 상기 객체키를 이용하여 언마스킹을 수행할 수 있다.In the present invention, the unmasking processing of the image may include: a second security key generation step of generating an object key from the master key or the group key when a master key or a group key is input in the unmasking information input step; The decoding step may further include unmasking using the object key.

본 발명에서는, 상기 언마스킹정보입력단계에서 복수의 언마스킹 할 객체의 정보 및 복수의 보안키를 입력 받은 경우, 상기 관심영역추출단계는 상기 복수의 언마스킹 할 객체의 정보로부터 복수의 관심영역을 추출하고, 상기 복호화단계는 상기 복수의 관심영역에 각각 대응하는 상기 복수의 보안키를 이용하여 언마스킹을 수행할 수 있다.In the present invention, when the information of the plurality of unmasked objects and the plurality of security keys are input in the unmasking information input step, the ROI extracting step may include a plurality of ROIs from the information of the plurality of unmasked objects. In the extracting and decrypting operation, unmasking may be performed using the plurality of security keys respectively corresponding to the plurality of ROIs.

상기와 같은 과제를 해결하기 위하여 본 발명은, 영상의 마스킹처리방법으로서, 영상 내 객체를 검출하는 객체검출단계; 검출된 상기 객체가 기존 검출 객체와 동일 객체인지 확인하는 객체추적단계; 검출된 상기 객체의 종류를 분류하는 객체분류단계; 검출된 상기 객체에 마스터키에 기초하여 마스킹 처리를 수행하는 마스킹처리단계; 및 마스킹 된 객체의 정보를 삽입하는 마스킹정보삽입단계; 를 포함하는, 영상의 마스킹처리방법을 제공한다.In order to solve the above problems, the present invention provides an image masking processing method, comprising: an object detecting step of detecting an object in an image; An object tracking step of confirming whether the detected object is the same object as the existing detection object; An object classification step of classifying the type of the detected object; A masking processing step of performing a masking process on the detected object based on a master key; And a masking information insertion step of inserting information of the masked object. It provides, the masking processing method of the image.

본 발명에서는, 상기 마스킹처리단계는, 객체 별로 마스킹을 수행할 관심영역을 도출하는 관심영역도출단계; 상기 관심영역에 대한 보안키를 생성하는 제1보안키생성단계; 및 마스터키를 이용하여 상기 관심영역에 마스킹을 수행하는 암호화단계; 를 포함할 수 있다.In the present invention, the masking processing step, the region of interest derivation step of deriving a region of interest to be masked for each object; Generating a security key for the ROI; And encrypting the ROI using a master key. It may include.

본 발명에서는, 상기 제1보안키생성단계는, 기준 패스워드 및 기설정된 고유정보에 기초하여 마스터키를 생성하는 마스터키생성단계; 상기 마스터키 및 그룹속성정보에 기초하여 그룹키를 생성하는 그룹키생성단계; 및 상기 그룹키 및 객체속성정보에 기초하여 객체키를 생성하는 객체키생성단계; 를 포함하고, 상기 보안키는 상기 마스터키, 상기 그룹키 및 상기 객체키를 포함할 수 있다.In the present invention, the first security key generation step, the master key generation step of generating a master key based on the reference password and the predetermined unique information; A group key generation step of generating a group key based on the master key and group attribute information; And an object key generation step of generating an object key based on the group key and object property information. Includes, the security key may include the master key, the group key and the object key.

본 발명에서는, 상기 영상의 마스킹처리방법은 언마스킹처리단계를 더 포함하고, 상기 언마스킹처리단계는, 마스킹 된 객체의 정보를 추출하는 마스킹정보추출단계; 1 이상의 언마스킹 할 객체의 정보 및 보안키를 입력 받는 언마스킹정보입력단계; 입력 받은 상기 보안키의 언마스킹권한을 확인하는 보안키확인단계; 언마스킹 할 객체를 특정하는 객체특정단계; 언마스킹 할 객체의 정보로부터 관심영역을 추출하는 관심영역추출단계; 및 마스터키를 이용하여 상기 관심영역에 언마스킹을 수행하는 복호화단계;를 포함할 수 있다.In the present invention, the masking processing method of the image further includes an unmasking processing step, wherein the unmasking processing step comprises: a masking information extraction step of extracting information of a masked object; An unmasking information input step of receiving information on at least one object to be unmasked and a security key; A security key verification step of confirming an unmasking authority of the received security key; An object specifying step of specifying an object to be unmasked; An ROI extraction step of extracting an ROI from information of an object to be unmasked; And a decrypting step of performing unmasking on the ROI using a master key.

본 발명에서는, 상기 객체특정단계는 상기 언마스킹정보입력단계에서 입력 받은 보안키가 개별객체에 대한 객체키인 경우에는 언마스킹 할 객체를 개별객체로 특정하고, 상기 복호화단계는 상기 마스터키를 이용하여 상기 언마스킹 할 객체를 언마스킹 할 수 있다.In the present invention, in the object specifying step, when the security key input in the unmasking information input step is an object key for an individual object, the object to be unmasked is specified as an individual object, and the decrypting step uses the master key. By unmasking the object to be unmasked.

본 발명에서는, 상기 객체특정단계는 상기 언마스킹정보입력단계에서 입력 받은 보안키가 그룹객체에 대한 그룹키인 경우에는 언마스킹 할 객체를 해당 그룹 내 복수의 객체로 특정하고, 상기 복호화단계는 상기 마스터키를 이용하여 상기 언마스킹 할 객체를 언마스킹 할 수 있다.In the present invention, in the object specifying step, when the security key input in the unmasking information input step is a group key for a group object, the object to be unmasked is identified as a plurality of objects in a corresponding group, and the decrypting step includes the The master key can be used to unmask the object to be unmasked.

상기와 같은 과제를 해결하기 위하여 본 발명은, 영상의 마스킹처리방법으로서, 영상 내 객체를 검출하는 객체검출단계; 검출된 상기 객체가 기존 검출 객체와 동일 객체인지 확인하는 객체추적단계; 검출된 상기 객체의 종류를 분류하는 객체분류단계; 영상전체영역에 대해 마스터키에 기초하여 마스킹 처리를 수행하는 마스킹처리단계; 및 마스킹 된 객체의 정보를 삽입하는 마스킹정보삽입단계; 를 포함하는, 영상의 마스킹처리방법을 제공한다.In order to solve the above problems, the present invention provides an image masking processing method, comprising: an object detecting step of detecting an object in an image; An object tracking step of confirming whether the detected object is the same object as the existing detection object; An object classification step of classifying the type of the detected object; A masking processing step of performing masking processing on the entire image area based on the master key; And a masking information insertion step of inserting information of the masked object. It provides, the masking processing method of the image.

본 발명에서는, 상기 마스킹처리단계는, 객체 별로 관심영역을 도출하는 관심영역도출단계; 상기 관심영역에 대한 보안키를 생성하는 제1보안키생성단계; 및 상기 마스터키로 영상전체영역에 대해 마스킹을 수행하는 암호화단계; 를 포함할 수 있다.In the present invention, the masking processing step, the region of interest derivation step of deriving a region of interest for each object; Generating a security key for the ROI; And encrypting the entire image area using the master key. It may include.

본 발명에서는, 상기 제1보안키생성단계는, 기준 패스워드 및 기설정된 고유정보에 기초하여 마스터키를 생성하는 마스터키생성단계; 상기 마스터키 및 그룹속성정보에 기초하여 그룹키를 생성하는 그룹키생성단계; 및 상기 그룹키 및 객체속성정보에 기초하여 객체키를 생성하는 객체키생성단계; 를 포함하고, 상기 보안키는 상기 마스터키, 상기 그룹키 및 상기 객체키를 포함할 수 있다.In the present invention, the first security key generation step, the master key generation step of generating a master key based on the reference password and the predetermined unique information; A group key generation step of generating a group key based on the master key and group attribute information; And an object key generation step of generating an object key based on the group key and object property information. Includes, the security key may include the master key, the group key and the object key.

본 발명에서는, 상기 영상의 마스킹처리방법은 언마스킹처리단계를 더 포함하고, 상기 언마스킹처리단계는, 마스킹 된 객체의 정보를 추출하는 마스킹정보추출단계; 1 이상의 언마스킹 할 객체의 정보 및 보안키를 입력 받는 언마스킹정보입력단계; 상기 마스터키로부터 그룹키 및 객체키를 생성하는 제2보안키생성단계; 입력 받은 상기 보안키의 언마스킹권한을 확인하는 보안키확인단계; 언마스킹 할 객체를 특정하는 객체특정단계; 언마스킹 할 객체의 정보로부터 관심영역을 추출하는 관심영역추출단계; 및 마스터키를 이용하여 상기 관심영역에 언마스킹을 수행하는 복호화단계; 를 포함할 수 있다.In the present invention, the masking processing method of the image further includes an unmasking processing step, wherein the unmasking processing step comprises: a masking information extraction step of extracting information of a masked object; An unmasking information input step of receiving information on at least one object to be unmasked and a security key; A second security key generation step of generating a group key and an object key from the master key; A security key verification step of confirming an unmasking authority of the received security key; An object specifying step of specifying an object to be unmasked; An ROI extraction step of extracting an ROI from information of an object to be unmasked; And a decrypting step of performing unmasking on the ROI using a master key. It may include.

본 발명에서는, 상기 객체특정단계는 상기 언마스킹정보입력단계에서 입력 받은 보안키가 개별객체에 대한 객체키인 경우에는 언마스킹 할 객체를 개별객체로 특정하고, 상기 복호화단계는 상기 마스터키를 이용하여 상기 언마스킹할 객체를 언마스킹할 수 있다.In the present invention, in the object specifying step, when the security key input in the unmasking information input step is an object key for an individual object, the object to be unmasked is specified as an individual object, and the decrypting step uses the master key. To unmask the object to be unmasked.

본 발명에서는, 상기 객체특정단계는 상기 언마스킹정보입력단계에서 입력 받은 보안키가 그룹객체에 대한 그룹키인 경우에는 언마스킹 할 객체를 해당 그룹 내 복수의 객체로 특정하고, 상기 복호화단계는 상기 마스터키를 이용하여 상기 언마스킹할 객체를 언마스킹 할 수 있다.In the present invention, in the object specifying step, when the security key input in the unmasking information input step is a group key for a group object, the object to be unmasked is identified as a plurality of objects in a corresponding group, and the decrypting step includes the The master key can be used to unmask the object to be unmasked.

상기와 같은 과제를 해결하기 위하여 본 발명은, 영상의 마스킹처리장치로서, 영상 내 객체를 검출하는 객체검출부; 검출된 상기 객체가 기존 검출 객체와 동일 객체인지 확인하는 객체추적부; 검출된 상기 객체의 종류를 분류하는 객체분류부; 검출된 상기 객체에 객체 별 보안키에 기초하여 마스킹 처리를 수행하는 마스킹처리부; 및 마스킹 된 객체의 정보를 삽입하는 마스킹정보삽입부; 를 포함하는, 영상의 마스킹처리장치를 제공한다.In order to solve the above problems, the present invention provides a masking processing apparatus of the image, the object detecting unit for detecting an object in the image; An object tracking unit to check whether the detected object is the same object as the existing detection object; An object classification unit classifying the type of the detected object; A masking processor configured to perform a masking process on the detected object based on an object-specific security key; And a masking information insertion unit for inserting information of the masked object. It provides a masking processing apparatus of the image.

상기와 같은 과제를 해결하기 위하여 본 발명은, 영상의 마스킹처리장치로서, 영상 내 객체를 검출하는 객체검출부; 검출된 상기 객체가 기존 검출 객체와 동일 객체인지 확인하는 객체추적부; 검출된 상기 객체의 종류를 분류하는 객체분류부; 검출된 상기 객체에 마스터키에 기초하여 마스킹 처리를 수행하는 마스킹처리부; 및 마스킹 된 객체의 정보를 삽입하는 마스킹정보삽입단계; 를 포함하는, 영상의 마스킹처리장치를 제공한다.In order to solve the above problems, the present invention provides a masking processing apparatus of the image, the object detecting unit for detecting an object in the image; An object tracking unit to check whether the detected object is the same object as the existing detection object; An object classification unit classifying the type of the detected object; A masking processor configured to perform a masking process on the detected object based on a master key; And a masking information insertion step of inserting information of the masked object. It provides a masking processing apparatus of the image.

상기와 같은 과제를 해결하기 위하여 본 발명은, 영상의 마스킹처리장치로서, 영상 내 객체를 검출하는 객체검출부; 검출된 상기 객체가 기존 검출 객체와 동일 객체인지 확인하는 객체추적부; 검출된 상기 객체의 종류를 분류하는 객체분류부; 영상전체영역에 대해 마스터키에 기초하여 마스킹 처리를 수행하는 마스킹처리부; 및 마스킹 된 객체의 정보를 삽입하는 마스킹정보삽입부; 를 포함하는, 영상의 마스킹처리장치를 제공한다.In order to solve the above problems, the present invention provides a masking processing apparatus of the image, the object detecting unit for detecting an object in the image; An object tracking unit to check whether the detected object is the same object as the existing detection object; An object classification unit classifying the type of the detected object; A masking processing unit which performs masking processing on the entire image area based on the master key; And a masking information insertion unit for inserting information of the masked object. It provides a masking processing apparatus of the image.

본 발명의 일 실시예에 따르면 마스킹 된 영상을 보안키를 이용하여 암호화 함으로써 원본 영상에 대한 보안을 유지할 수 있는 효과를 발휘할 수 있다.According to an embodiment of the present invention, the masked video may be encrypted using a security key, thereby maintaining the security of the original video.

본 발명의 일 실시예에 따르면, 마스킹 된 영상의 언마스킹 과정에서 객체 별로 언마스킹을 할 수 있도록 하여 개인정보를 보호하는 효과를 발휘할 수 있다.According to an embodiment of the present invention, an unmasking process may be performed for each object in an unmasking process of the masked image, thereby protecting personal information.

본 발명의 일 실시예에 따르면 객체 별로 언마스킹 수행 시 각각의 객체 별 보안키(객체키), 객체 그룹 별 보안키(그룹키), 혹은 전체 보안키(마스터키)에 기초하여 각각의 객체 별, 그룹 별, 혹은 전체 언마스킹을 수행할 수 있는 효과를 발휘할 수 있다.According to an embodiment of the present invention, when performing unmasking for each object, each object is based on a security key (object key) for each object, a security key (group key) for each object group, or an entire security key (master key). This can have the effect of performing unmasking, group by group, or full unmasking.

본 발명의 일 실시예에 따르면 마스터키에 기초하여 그룹키 및 객체키를 생성할 수 있어 용이하게 보안키를 관리할 수 있는 효과를 발휘할 수 있다.According to an embodiment of the present invention, it is possible to generate a group key and an object key based on the master key, thereby achieving the effect of easily managing the security key.

도 1은 본 발명의 일 실시예에 따른 마스킹처리장치 및 언마스킹처리장치의 동작 흐름을 개략적으로 도시하는 도면이다.
도 2는 본 발명의 일 실시예에 따른 마스킹처리장치의 내부 구성을 개략적으로 도시하는 블록도이다,
도 3은 본 발명의 일 실시예에 따른 마스킹정보를 개략적으로 도시하는 도면이다.
도 4는 본 발명의 일 실시예에 따른 관심영역 정보를 개략적으로 도시하는 도면이다.
도 5는 본 발명의 일 실시예에 따른 마스킹처리부의 내부 구성을 개략적으로 도시하는 블록도이다.
도 6은 본 발명의 일 실시예에 따른 보안키의 생성 방법을 개략적으로 도시하는 순서도이다.
도 7은 본 발명의 일 실시예에 따른 보안키 세트를 도시하는 도면이다.
도 8은 본 발명의 일 실시예에 따른 마스킹처리방법의 각 단계를 개략적으로 도시하는 순서도이다.
도 9는 본 발명의 일 실시예에 따른 마스킹영상의 실시예를 개략적으로 도시하는 도면이다.
도 10은 본 발명의 일 실시예에 따른 언마스킹처리장치의 내부 구성을 개략적으로 도시하는 블록도이다.
도 11은 본 발명의 일 실시예에 따른 언마스킹처리부의 내부 구성을 개략적으로 도시하는 블록도이다.
도 12는 본 발명의 일 실시예에 따른 언마스킹처리방법의 각 단계를 개략적으로 도시하는 순서도이다.
도 13은 본 발명의 일 실시예에 따른 언마스킹처리방법의 각 단계를 개략적으로 도시하는 순서도이다.
도 14는 본 발명의 다른 실시예에 따른 언마스킹처리부의 내부 구성을 개략적으로 도시하는 블록도이다.
도 15는 본 발명의 다른 실시예에 따른 언마스킹처리방법의 각 단계를 개략적으로 도시하는 순서도이다.
1 is a view schematically showing an operation flow of a masking processing device and an unmasking processing device according to an embodiment of the present invention.
2 is a block diagram schematically showing an internal configuration of a masking apparatus according to an embodiment of the present invention.
3 is a diagram schematically showing masking information according to an embodiment of the present invention.
4 is a diagram schematically illustrating ROI information according to an embodiment of the present invention.
5 is a block diagram schematically illustrating an internal configuration of a masking processing unit according to an embodiment of the present invention.
6 is a flowchart schematically illustrating a method of generating a security key according to an embodiment of the present invention.
7 is a diagram illustrating a security key set according to an embodiment of the present invention.
8 is a flowchart schematically showing each step of the masking processing method according to an embodiment of the present invention.
9 is a diagram schematically showing an embodiment of a masking image according to an embodiment of the present invention.
10 is a block diagram schematically showing an internal configuration of an unmasking processing apparatus according to an embodiment of the present invention.
11 is a block diagram schematically showing an internal configuration of an unmasking processing unit according to an embodiment of the present invention.
12 is a flowchart schematically showing each step of the unmasking processing method according to an embodiment of the present invention.
13 is a flowchart schematically showing each step of the unmasking processing method according to an embodiment of the present invention.
14 is a block diagram schematically showing an internal configuration of an unmasking processing unit according to another embodiment of the present invention.
15 is a flowchart schematically showing each step of the unmasking processing method according to another embodiment of the present invention.

이하에서는, 다양한 실시예들 및/또는 양상들이 이제 도면들을 참조하여 개시된다. 하기 설명에서는 설명을 목적으로, 하나이상의 양상들의 전반적 이해를 돕기 위해 다수의 구체적인 세부사항들이 개시된다. 그러나, 이러한 양상(들)은 이러한 구체적인 세부사항들 없이도 실행될 수 있다는 점 또한 본 발명의 기술 분야에서 통상의 지식을 가진 자에게 인식될 수 있을 것이다. 이후의 기재 및 첨부된 도면들은 하나 이상의 양상들의 특정한 예시적인 양상들을 상세하게 기술한다. 하지만, 이러한 양상들은 예시적인 것이고 다양한 양상들의 원리들에서의 다양한 방법들 중 일부가 이용될 수 있으며, 기술되는 설명들은 그러한 양상들 및 그들의 균등물들을 모두 포함하고자 하는 의도이다.In the following, various embodiments and / or aspects are now disclosed with reference to the drawings. In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of one or more aspects. However, it will also be appreciated by one of ordinary skill in the art that this aspect (s) may be practiced without these specific details. The following description and the annexed drawings set forth in detail certain illustrative aspects of the one or more aspects. However, these aspects are exemplary and some of the various methods in the principles of the various aspects may be used and the descriptions described are intended to include all such aspects and their equivalents.

또한, 다양한 양상들 및 특징들이 다수의 디바이스들, 컴포넌트들 및/또는 모듈들 등을 포함할 수 있는 시스템에 의하여 제시될 것이다. 다양한 시스템들이, 추가적인 장치들, 컴포넌트들 및/또는 모듈들 등을 포함할 수 있다는 점 그리고/또는 도면들과 관련하여 논의된 장치들, 컴포넌트들, 모듈들 등 전부를 포함하지 않을 수도 있다는 점 또한 이해되고 인식되어야 한다.Moreover, various aspects and features will be presented by a system that may include a number of devices, components, and / or modules, and the like. The various systems may include additional devices, components, and / or modules, etc., and / or may not include all of the devices, components, modules, etc. discussed in connection with the drawings. It must be understood and recognized.

본 명세서에서 사용되는 "실시예", "예", "양상", "예시" 등은 기술되는 임의의 양상 또는 설계가 다른 양상 또는 설계들보다 양호하다거나, 이점이 있는 것으로 해석되지 않을 수도 있다. 아래에서 사용되는 용어들 '~부', '컴포넌트', '모듈', '시스템', '인터페이스' 등은 일반적으로 컴퓨터 관련 엔티티(computer-related entity)를 의미하며, 예를 들어, 하드웨어, 하드웨어와 소프트웨어의 조합, 소프트웨어를 의미할 수 있다.As used herein, “an embodiment”, “an example”, “aspect”, “an example”, etc., may not be construed as having any aspect or design described being better or advantageous than other aspects or designs. . The terms '~ part', 'component', 'module', 'system', 'interface', etc. used generally mean a computer-related entity, for example, hardware, hardware And a combination of software and software.

또한, "포함한다" 및/또는 "포함하는"이라는 용어는, 해당 특징 및/또는 구성요소가 존재함을 의미하지만, 하나이상의 다른 특징, 구성요소 및/또는 이들의 그룹의 존재 또는 추가를 배제하지 않는 것으로 이해되어야 한다.In addition, the terms "comprises" and / or "comprising" mean that such features and / or components are present, but exclude the presence or addition of one or more other features, components, and / or groups thereof. It should be understood that it does not.

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

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

도 1은 본 발명의 일 실시예에 따른 마스킹처리장치(100) 및 언마스킹처리장치(200)의 동작 흐름을 개략적으로 도시하는 도면이다.1 is a view schematically showing the operation flow of the masking processing device 100 and the unmasking processing device 200 according to an embodiment of the present invention.

도 1을 참조하면 본 발명의 일 실시예에 따른 마스킹처리장치(100)는 CCTV 등으로 촬영된 영상을 입력 받아, 마스킹이 필요한 영역을 분류하여 마스킹을 삽입한다. 이와 같은 마스킹은 영상 내의 개인정보의 보호를 위하여 수행되는 것으로, 본 발명의 일 실시예에서는 모자이크를 삽입하거나, 혹은 다른 색상의 화상을 삽입함으로써 원래의 영상을 인식할 수 없도록 할 수 있다. 또는, 상기 영역 내의 매크로 블록들을 보안키를 이용해 암호화하여 윤곽조차 인식하지 못하게 변조하는 방식도 사용될 수 있다. 도 1의 실시예에서는 입력된 영상의 기구를 모자이크처리 하는 마스킹을 삽입하였다.Referring to FIG. 1, the masking processing apparatus 100 according to an embodiment of the present invention receives an image photographed by CCTV and the like, classifies an area requiring masking, and inserts masking. Such masking is performed to protect personal information in the image. In an embodiment of the present invention, the original image may not be recognized by inserting a mosaic or inserting an image of a different color. Alternatively, a method of encrypting the macroblocks in the region by using a security key to modulate the contour without recognizing it. In the embodiment of FIG. 1, a masking process is performed to mosaic a device of an input image.

이 때, 상기 마스킹처리장치(100)는 원래의 영상을 변조하는 것이 아니라, 원래의 영상에 암호화 된 마스킹정보를 포함하여 마스킹 영상을 생성함으로써, 복호에 필요한 보안키 없이는 마스킹 된 영상만을 볼 수 있고, 보안키를 이용하면 마스킹이 없는 원본 영상을 볼 수 있도록 한다.At this time, the masking processing apparatus 100 does not modulate the original image, but generates a masking image including the masking information encrypted in the original image, so that only the masked image can be viewed without a security key necessary for decryption. If you use the security key, you can see the original video without masking.

본 발명의 일 실시예에서 상기 마스킹처리장치(100)는 영상에서 객체를 검출하고 추적하면서 화면상의 객체정보를 파악한 후 인코딩 과정에서 보안키를 이용해 해당객체 영역을 암호화하고 객체의 정보를 영상에 담아 전달한다.In an embodiment of the present invention, the masking processing apparatus 100 detects and tracks an object in an image, grasps object information on a screen, encrypts a corresponding object area using a security key in the encoding process, and stores information of the object in an image. To pass.

이를 위해 본 발명의 일 실시예에 따른 언마스킹처리장치(200)는 상기 마스킹처리장치(100)에서 생성한 마스킹 된 영상에 보안키를 이용하여 복호하고, 삽입 된 마스킹을 제거함으로써 원본 영상을 생성해 낸다.To this end, the unmasking processing apparatus 200 according to an embodiment of the present invention decodes a masked image generated by the masking processing apparatus 100 using a security key and removes the inserted masking to generate an original image. Do it.

이와 같이 보안키를 가진 사람만이 원본 영상을 확인할 수 있도록 함으로써 영상 내 포함 된 개인정보 등을 보호하면서, 권한을 가진 자는 원본 영상을 확인할 수 있는 효과를 발휘할 수 있다.As such, only the person with the security key can check the original image, while protecting the personal information included in the image, and the person having the authority can exert the effect of checking the original image.

일 예로, 범죄 혹은 사고의 CCTV영상 등의 경우, 보도 등의 목적을 위해 제공되는 영상에는 마스킹처리를 하여 개인정보 등의 유출을 방지하지만, 이를 처리하기 위해 정확한 원본 영상을 파악해야 하는 수사기관 등에서는 보안키를 이용하여 마스킹이 제거 된 원본 영상을 확인할 수 있도록 한다.For example, in the case of a CCTV image of a crime or accident, the video provided for the purpose of reporting, etc. is masked to prevent the leakage of personal information, but in order to process the information, such as investigative agencies that need to know the exact original image The security key can be used to check the original video without masking.

도 2는 본 발명의 일 실시예에 따른 마스킹처리장치의 내부 구성을 개략적으로 도시하는 블록도이다,2 is a block diagram schematically showing an internal configuration of a masking apparatus according to an embodiment of the present invention.

도 2를 참조하면 본 발명의 일 실시예에 따른 마스킹처리장치(100)는 객체검출부(110), 객체추적부(120), 객체분류부(130), 마스킹처리부(140) 및 마스킹정보삽입부(150)를 포함한다.Referring to FIG. 2, the masking processing apparatus 100 according to an exemplary embodiment of the present invention may include an object detector 110, an object tracker 120, an object classification unit 130, a masking processor 140, and a masking information insertion unit. And 150.

상기 객체검출부(110)는 영상 내 객체를 검출한다. 상기 객체검출부(110)는 다양한 영상처리기법을 통하여 영상 내 객체들을 배경과 분리하여 검출해 낼 수 있다.The object detector 110 detects an object in the image. The object detector 110 may detect objects in the image by separating them from the background through various image processing techniques.

객체추적부(120)는 검출된 상기 객체가 기존 검출 객체와 동일 객체인지 확인한다. 이와 같이 객체추적부(120)에서는 상기 객체검출부(110)에서 검출 된 객체가 영상의 이전 혹은 이후에서 검출된 객체와 동일 객체인지를 확인한다. 이와 같이 객체를 지속적으로 추적하여 동일 객체를 확인함으로써 영상이 재생됨에 따라 검출된 객체의 위치 등의 변동에 있어서도 동일 객체에 대한 정보를 유지하고 추적할 수 있도록 한다.The object tracking unit 120 checks whether the detected object is the same object as the existing detection object. As described above, the object tracking unit 120 checks whether the object detected by the object detection unit 110 is the same object as the object detected before or after the image. As such, by continuously tracking the object and checking the same object, information on the same object can be maintained and tracked even when the image is reproduced and the position of the detected object is changed.

객체분류부(130)는 검출된 상기 객체의 종류를 분류한다. 이를 통해 그룹과 그 그룹에 속하는 객체가 정해질 수 있다. 예를 들어 상기 객체분류부(130)가 사람, 차량번호, 간판 등으로 분류를 한다면 1번 그룹인 사람은 1번사람, 2번사람 등으로 구성되고, 2번 그룹인 차량번호는 1번차량, 2번차량 등으로 구성되고, 3번 그룹인 간판은 1번간판, 2번간판 등으로 구성될 것이다. 각각의 그룹과 객체정보는 데이터화 후 영상에 삽입되어 언마스킹 수행 시 활용될 수 있다.The object classification unit 130 classifies the type of the detected object. Through this, a group and the objects belonging to the group can be determined. For example, if the object classification unit 130 is classified as a person, a vehicle number, a signboard, etc., the first group of people consists of the first person, the second person, and the like, and the second vehicle group number is the first vehicle. , The second vehicle, etc., and the third group will be composed of the first signboard, the second signboard, and so on. Each group and object information may be inserted into an image after data making and used for unmasking.

마스킹처리부(140)는 검출된 상기 객체에 객체 별 보안키에 기초하여 마스킹 처리를 수행한다. 본 발명에서는 검출된 상기 객체에 대해 각각 다른 보안키를 사용하여 마스킹 처리를 수행하여 최대한 객체 각각의 프라이버시를 보호할 수 있도록 한다. 만약 각각의 객체에 대하여 별개의 보안키가 아닌, 하나의 보안키로 마스킹 처리를 수행하는 경우, 상기 보안키로 언마스킹을 수행하는 경우 각각의 객체에 대해 개별적으로 언마스킹이 불가능하고, 일률적으로 언마스킹 할 수밖에 없어, 언마스킹이 필요한 객체뿐만 아닌 불필요한 다른 객체까지 언마스킹 됨으로써 다른 객체의 개인정보 등이 보호받지 못하게 된다. 본 발명의 일 실시예에 따른 마스킹처리부(140)는 객체 각각을 객체 별 보안키에 기초하여 마스킹 처리를 수행함으로써 이와 같은 문제점을 해결할 수 있다.The masking processor 140 performs a masking process on the detected object based on an object-specific security key. In the present invention, a masking process may be performed on the detected objects using different security keys to protect the privacy of each object as much as possible. If masking processing is performed with one security key instead of a separate security key for each object, when unmasking with the security key, unmasking is impossible for each object individually and uniformly unmasking In addition, as well as the object that needs to be unmasked, as well as other unnecessary objects are unmasked, the privacy of other objects is not protected. Masking processor 140 according to an embodiment of the present invention can solve this problem by performing a masking process for each object based on the security key for each object.

마스킹정보삽입부(150)는 마스킹 된 객체의 정보를 삽입한다. 본 발명의 일 실시예에서는 상기 마스킹처리부(140)에서 수행한 마스킹 및 마스킹 된 객체에 대한 정보를 영상 데이터에 포함함으로써, 언마스킹처리장치(200)가 상기 마스킹 된 영상을 언마스킹 할 때, 상기 객체에 대한 정보를 획득하여 언마스킹을 수행하는데 도움이 되도록 한다.The masking information insertion unit 150 inserts information of the masked object. In an embodiment of the present invention, when the masking processing unit 140 includes information on the masked object and the masked object in the image data, when the unmasking processing apparatus 200 unmasks the masked image, Get information about the object to help you perform unmasking.

도 3은 본 발명의 일 실시예에 따른 마스킹정보를 개략적으로 도시하는 도면이다.3 is a diagram schematically showing masking information according to an embodiment of the present invention.

도 3을 참조하면 본 발명의 일 실시예에 따른 마스킹정보는 우선 영상에 포함 된 총 객체의 수(51) 및 총 그룹의 수(52)가 저장되고 그룹1의 인덱스(53)가 저장된다. 그 다음은 그룹1에 포함된 객체의 수(54) 그리고 그룹에 포함된 객체의 마스킹정보가 (55)부터 (56)까지 저장된다. 그룹1의 저장이 끝나면 그 다음은 그룹2의 인덱스(57)가 저장되고, 그룹2에 포함된 객체의 수(58)와 각 객체의 정보가 그룹1과 같은 형식으로 저장된다. 마지막은 구분자인 End Of Info(59)가 삽입되어 정보의 끝을 알린다.Referring to FIG. 3, masking information according to an embodiment of the present invention is first stored with the total number of objects 51 and the total number of groups 52 included in the image, and the index 53 of the group 1 is stored. Next, the number 54 of objects included in the group 1 and the masking information of the objects included in the group are stored from (55) to (56). After storing the group 1, the index 57 of the group 2 is stored, and the number 58 of objects included in the group 2 and the information of each object are stored in the same format as the group 1. At the end, the separator End Of Info (59) is inserted to indicate the end of the information.

이와 같이 본 발명의 일 실시예에 따른 마스킹정보는 상기 영상에 포함 된 총 객체 수, 상기 영상에 포함 된 총 그룹 수, 상기 그룹 각각에 포함 된 객체 수 및 상기 객체 각각의 마스킹정보를 포함할 수 있다. 이와 같은 마스킹정보는 추후 언마스킹을 수행할 때 활용할 수 있다.As described above, the masking information according to an embodiment of the present invention may include the total number of objects included in the image, the total number of groups included in the image, the number of objects included in each group, and the masking information of each object. have. Such masking information can be used when performing unmasking later.

도 4는 본 발명의 일 실시예에 따른 관심영역 정보를 개략적으로 도시하는 도면이다.4 is a diagram schematically illustrating ROI information according to an embodiment of the present invention.

도 3의 예에서와 같이 영상에 삽입되는 마스킹정보에는 각 객체의 마스킹정보가 포함된다. 이 때 각 객체는 객체 각각에 대한 관심영역(Region of Interest, ROI)가 설정이 되어, 상기 관심영역에 대해 마스킹을 삽입함으로써 마스킹 될 수 있다. 따라서 상기 각 객체의 마스킹정보는 상기 관심영역의 정보를 포함함으로써 상기 마스킹에 대한 정보를 나타낼 수 있다. 따라서 본 발명의 일 실시예에 따른 상기 마스킹정보는 상기 객체에 대한 상기 관심영역의 X-Y좌표, 상기 관심영역의 폭, 상기 관심영역의 높이 및 상기 관심영역의 반경 중 어느 하나 이상을 포함함으로써 각각의 객체에 대한 마스킹 정보를 나타낼 수 있다.As in the example of FIG. 3, the masking information inserted into the image includes masking information of each object. In this case, each object may have a region of interest (ROI) set for each object and may be masked by inserting masking on the region of interest. Accordingly, the masking information of each object may represent information about the masking by including information of the ROI. Accordingly, the masking information according to an embodiment of the present invention includes at least one of an XY coordinate of the ROI with respect to the object, a width of the ROI, a height of the ROI, and a radius of the ROI. It may represent masking information about an object.

도 4의 예를 살펴보면 그룹1의 객체1에 대한 정보는 상기 관심영역의 X좌표, Y좌표, 폭 및 높이를 포함한다. 이와 같은 정보에 의해 상기 관심영역이 직사각형 형태를 띰을 알 수 있고, 이를 통해 상기 관심영역을 도출해 낼 수 있다.Referring to the example of FIG. 4, the information about the object 1 of the group 1 includes the X coordinate, the Y coordinate, the width and the height of the ROI. By such information, it is possible to know that the ROI has a rectangular shape, and through this, the ROI can be derived.

그룹1의 객체2에 대한 정보는, 상기 관심영역의 X좌표, Y좌표 및 반경을 포함한다. 이와 같이 반경으로 관심영역이 표현 된 경우, 상기 관심영역이 원형임을 알 수 있고, 상기 관심영역을 도출해 낼 수 있다.The information about the object 2 of the group 1 includes the X coordinate, the Y coordinate and the radius of the ROI. As such, when the ROI is represented by a radius, the ROI may be circular, and the ROI may be derived.

그룹1의 객체3에 대한 정보는, 상기 관심영역의 X좌표 및 Y좌표를 포함한다. 이와 같이 관심영역의 X-Y좌표만이 포함되는 경우, 본 발명의 일 실시예에서는 상기 관심영역은 기설정된 크기와 형태로 규정되어 상기 관심영역을 도출할 수 있다. 혹은 다른 실시예에서는 상기 관심영역의 좌표만을 포함하고, 상기 영상을 수신하여 처리하는 장치 측에 상기 마스킹처리장치(100)의 객체검출부(110), 객체추적부(120) 및 객체분류부(130)와 같은 모듈을 포함하여 객체의 모양 및 크기를 검출함으로써, 상기 객체를 검출해 내 상기 객체에 대한 마스킹을 처리할 수 있는 관심영역을 도출하도록 할 수도 있다.The information about the object 3 of the group 1 includes the X coordinate and the Y coordinate of the ROI. As such, when only the X-Y coordinate of the ROI is included, the ROI may be defined in a predetermined size and shape in order to derive the ROI. Alternatively, in another embodiment, the object detecting unit 110, the object tracking unit 120, and the object classification unit 130 of the masking processing apparatus 100 may include only the coordinates of the ROI and receive and process the image. By detecting the shape and size of the object, including a module such as), it is possible to detect the object to derive a region of interest for processing the masking on the object.

도 5는 본 발명의 일 실시예에 따른 마스킹처리부의 내부 구성을 개략적으로 도시하는 블록도이다.5 is a block diagram schematically illustrating an internal configuration of a masking processing unit according to an embodiment of the present invention.

도 5를 참조하면 본 발명의 일 실시예에 따른 마스킹처리부(140)는 관심영역도출부(141), 제1보안키생성부(142) 및 암호화부(143)를 포함한다.Referring to FIG. 5, the masking processor 140 according to an embodiment of the present invention includes a region of interest derivation unit 141, a first security key generation unit 142, and an encryption unit 143.

상기 관심영역도출부(141)는 마스킹을 수행할 관심영역을 도출한다. 상기 관심영역은 상기 객체검출부(110), 객체추적부(120) 및 객체분류부(130)에서 검출 및 분류된 객체의 정보에 기초하여 도출될 수 있다. 본 발명의 일 실시예에서 상기 관심영역은 직사각형 혹은 원형의 형태를 가질 수 있다.The ROI-deriving unit 141 derives an ROI to perform masking. The ROI may be derived based on the information of the objects detected and classified by the object detector 110, the object tracker 120, and the object classifier 130. In one embodiment of the present invention, the ROI may have a rectangular or circular shape.

상기 제1보안키생성부(142)는 객체 별로 상기 관심영역에 대한 보안키를 생성한다. 본 발명의 일 실시예에 따르면 상기 보안키는 마스터키, 그룹키 및 객체키를 포함하여, 계층적으로 보안키를 생성하고 관리한다.The first security key generation unit 142 generates a security key for the ROI for each object. According to an embodiment of the present invention, the security key includes a master key, a group key, and an object key, and generates and manages a security key hierarchically.

본 발명에서와 같이 영상에 포함된 모든 객체에 대하여 별개의 보안키를 사용하여 보안을 유지하는 경우, 상기 객체의 수만큼의 보안키를 모두 보유하여 전달하여야 하고, 상기 보안키를 사용하여 복호 하는 과정 역시 객체의 수가 증가함에 따라 복잡도가 선형적으로 증가하게 된다. 하지만 본 발명의 일 실시예에서와 같이 계층적으로 키를 생성함으로써 보안키의 관리를 편하게 하면서도 동시에 개별 객체에 대한 보안 수준은 각각의 보안키를 사용하는 것과 동일한 수준을 유지하도록 할 수 있다.In the case of maintaining security using a separate security key for all objects included in the image as in the present invention, all the security keys as many as the number of the object must be transmitted and decoded using the security key. The process also increases in complexity linearly as the number of objects increases. However, as in the exemplary embodiment of the present invention, the key is generated hierarchically to facilitate the management of the security key, and at the same time, the security level of the individual objects can be maintained at the same level as using the respective security key.

상기 마스터키는 영상에 포함된 모든 객체에 대하여 마스킹을 해제할 수 있도록 하는 키이고, 상기 그룹키는 해당 그룹에 포함된 모든 객체에 대하여 마스킹을 해제할 수 있도록 하는 키이고, 상기 객체키는 해당 객체에 대한 마스킹을 해제할 수 있도록 하는 키이다.The master key is a key for releasing masking for all objects included in the image, the group key is a key for releasing masking for all objects in the group, and the object key is a corresponding key. The key to unmask the object.

본 발명의 일 실시예에서는 관리자 등이 기준 패스워드를 입력하여 상기 기준 패스워드에 기초하여 마스터키, 그룹키 및 객체키를 모두 생성해 낼 수 있다. 상기 기준 패스워드는 상기 관리자 등이 입력하는 문자열 혹은 숫자열 등으로서 상기 보안키를 생성하는 시드가 된다.In an embodiment of the present invention, an administrator or the like may input a reference password to generate all of the master key, the group key, and the object key based on the reference password. The reference password is a seed for generating the security key as a string or a string of characters input by the administrator.

본 발명의 일 실시예에서는 관리자 등이 입력하는 상기 기준 패스워드 외에는 영상 내에서 도출되는 고유정보에 기초하여 보안키를 생성할 수 있다. 본 발명의 일 실시예에서는 기준 패스워드 및 기설정된 고유정보에 기초하여 마스터키를 생성하고, 상기 마스터키 및 개별객체정보에 기초하여 개별키를 생성할 수 있다. 상기 개별키는 그룹키 또는 객체키일 수 있다. 보다 자세하게는, 상기 마스터키 및 그룹속성정보에 기초하여 그룹키를 생성하고, 상기 그룹키 및 객체속성정보에 기초하여 객체키를 생성할 수 있다. 이와 같은 방법으로 계층적 보안키를 생성함으로써 보안키의 관리를 용이하게 할 수 있다.According to an embodiment of the present invention, a security key may be generated based on unique information derived from an image except for the reference password inputted by an administrator. According to an embodiment of the present invention, a master key may be generated based on a reference password and predetermined unique information, and an individual key may be generated based on the master key and the individual object information. The individual key may be a group key or an object key. In more detail, a group key may be generated based on the master key and the group attribute information, and an object key may be generated based on the group key and the object attribute information. By generating a hierarchical security key in this way, it is possible to facilitate security key management.

상기 암호화부(143)는 객체 별 보안키를 이용하여 상기 관심영역에 마스킹을 수행한다. 상기 암호화부(143)는 상기 제1보안키생성부(142)에서 생성된 객체키를 이용하여 각각의 객체에 삽입되는 마스킹을 암호화한다. 이와 같이 각각의 객체키를 이용하여 암호화 함으로써, 각각의 객체키가 없이는 상기 마스킹을 해제하여 원본 영상을 확인할 수 없고, 마스킹 된 영상만을 확인할 수 있도록 하여 프라이버시 유출을 방지할 수 있다.The encryption unit 143 performs masking on the ROI using a security key for each object. The encryption unit 143 encrypts masking inserted into each object by using the object key generated by the first security key generation unit 142. As described above, by encrypting each object key, the masking can be released without the respective object key, so that the original image cannot be identified, and only the masked image can be identified, thereby preventing privacy leakage.

본 발명의 일 실시예에서 상기 암호화부(143)는 상기 관심영역에 마스킹을 처리함과 동시에 이를 암호화 하여, 보안키 없이는 상기 마스킹을 해제하여 원본 영상을 확인할 수 없도록 한다.In one embodiment of the present invention, the encryption unit 143 processes the masking on the ROI and encrypts the same, thereby releasing the masking without a security key so that the original image cannot be confirmed.

본 발명의 일 실시예에서 상기 암호화부(143)는 상기 객체키에 기초하여 기설정된 규칙에 의하여 상기 관심영역 내의 매크로 블록의 화면표시에 영향이 큰 필드를 객체키를 이용해 XOR하거나, 스크램블 처리하여 윤곽도 알 수 없는 영상으로 만들어 마스킹을 수행한다. 이와 같이 영상에 대하여 객체키를 이용하여 마스킹을 수행함으로써 원본 영상을 알아볼 수 없으면서도, 상기 객체키를 통한 언마스킹을 거치게 되면 원본 영상을 확인할 수 있어 영상 정보의 손실 없이 마스킹을 처리할 수 있고, 언마스킹을 위해서는 상기 객체키가 필요하게 되어 객체키 없이는 원본 영상을 확인하지 못하도록 하여 보안을 유지할 수 있게 된다.In one embodiment of the present invention, the encryption unit 143 performs an XOR or scramble process on a field having a large influence on the screen display of the macroblock in the ROI by using a predetermined rule based on the object key. The outline is also made into an unknown image and masking is performed. By masking the object using the object key as described above, the original image can be checked even if the original image is not recognized through the object key, so that the original image can be checked and the masking can be processed without loss of image information. The object key is required for unmasking, so that the original image cannot be checked without the object key, thereby maintaining security.

본 발명의 다른 실시예에서 상기 암호화부(143)는 위의 실시예와 같이 상기 객체키가 아닌, 상기 마스터키에 기초하여 상기 관심영역에 마스킹을 수행할 수 있다. 이와 같이 각각의 관심영역에 각각의 객체키가 아닌, 상기 마스터키에 기초하여 각각의 관심영역에 대한 마스킹을 수행함으로써, 빠른 처리 속도를 기대할 수 있으면서도, 마스터키에 의한 보안을 유지함으로써 객체의 프라이버시를 보호할 수 있게 된다.In another embodiment of the present invention, the encryption unit 143 may mask the region of interest based on the master key instead of the object key as in the above embodiment. In this way, by masking each region of interest based on the master key instead of the respective object key in each region of interest, it is possible to expect fast processing speed, while maintaining the security of the master key to maintain the privacy of the object. Will be able to protect.

혹은 상기 암호화부(143)는 마스터키에 의해 마스킹을 수행할 때, 위의 실시예와 같이 관심영역에 대해 마스킹을 수행하는 것이 아니라, 영상전체영역에 대해 마스터키에 기초하여 마스킹 처리를 수행할 수도 있다. 이와 같은 실시예에서도 상기 관심영역은 생성되나, 이는 언마스킹 수행 시 언마스킹을 위한 관심영역으로 동작하여 해당 영역에 대한 언마스킹을 수행하게 되고, 마스킹 처리시에는 영상전체영역에 대하여 마스킹을 수행하게 된다.Alternatively, when the encryption unit 143 performs masking by the master key, it does not mask the region of interest as in the above embodiment, but performs masking processing on the entire region of the image based on the master key. It may be. In this embodiment, the region of interest is generated, but when the masking process is performed, the region of interest is operated as the region of interest for unmasking to perform the unmasking on the corresponding region, and the masking process is performed on the entire region of the image. do.

이와 같은 실시예에서도 상기 관심영역 및 상기 관심영역에 대한 객체키는 생성되어, 상기 관심영역에 대한 언마스킹을 수행하기 위한 보안키로서의 역할을 수행하게 된다. 영상의 관리자 등은 상기 영상의 열람 등을 요청하는 사용자 등에게 보안키를 전달함으로써 상기 사용자 등이 상기 보안키를 통해 영상에서 필요한 부분 만을 언마스킹 하여 확인함으로써 이 외의 객체에 대한 프라이버시 등을 유지하면서도 관심 객체에 대한 언마스킹을 수행하게 된다.Even in such an embodiment, the ROI and the object key for the ROI are generated to serve as a security key for unmasking the ROI. The administrator of the image delivers a security key to a user requesting the viewing of the image, and the like, while the user, etc., unmasks and checks only a necessary part of the image through the security key, while maintaining privacy for other objects. Unmask the object of interest.

이 경우, 언마스킹 처리 시 상기 마스터키에 의해 동일한 방법으로 상기 보안키가 생성되어 상기 사용자 등이 입력하는 보안키와의 일치 여부를 확인하고, 이를 통해 해당 영역에 대한 언마스킹의 권한을 확인할 수 있다.In this case, during the unmasking process, the security key is generated by the master key in the same manner to check whether the security key matches with the security key input by the user, etc., and thus the authority of the unmasking for the corresponding area can be checked. have.

도 6은 본 발명의 일 실시예에 따른 보안키의 생성 방법을 개략적으로 도시하는 순서도이다.6 is a flowchart schematically illustrating a method of generating a security key according to an embodiment of the present invention.

본 발명의 일 실시예에 따르면 상기 보안키 중 상기 그룹키 및 상기 객체키는 상기 마스터키에 기초하여 생성되나, 상기 그룹키 또는 상기 객체키에서 상기 마스터키를 유추하거나 계산하지 못하도록 하여 마스터키에 대한 보안을 유지할 필요가 있다. 이를 위해 본 발명의 일 실시예에서는 해시함수를 통하여 보안키를 생성함으로써, 마스터키에 대한 역추적을 방지할 수 있다.According to an embodiment of the present invention, the group key and the object key of the security key are generated based on the master key, but do not infer or calculate the master key from the group key or the object key to the master key. Need to be secure. To this end, in an embodiment of the present invention, by generating a security key through a hash function, it is possible to prevent backtracking for the master key.

도 6을 참조하면 본 발명의 일 실시예에 따른 제1보안키생성부(142)는 우선 상기 기준 패스워드 및 영상의 고유정보 중 하나인 영상시간을 해시함수를 통해 변환하여 마스터키를 생성한다(S10). 이 후 제1보안키생성부(142)는 영상 내 객체의 그룹이 몇 개인지를 확인한다(S20). 이 때 그룹이 1개 이상일 경우, S10단계에서 생성한 상기 마스터키 및 그룹속성정보 중 그룹넘버를 해시함수를 통해 변환하여 그룹키를 생성한다(S30). 이 후 제1보안키생성부(142)는 각 그룹 내 객체가 몇 개인지를 확인한다(S40). 이 때 객체가 1개 이상인 경우, S30단계에서 생성한 상기 그룹키 및 객체속성정보 중 객체넘버를 해시함수를 통해 변환하여 객체키를 생성한다(S50). 이와 같은 과정을 통하면 기준 패스워드에 기초하여 생성한 마스터키 하나만으로 각 그룹키 및 각 객체키를 모두 생성해낼 수 있다. 이는 해시함수가 갖고 있는 역추적이 어려운 특성과 눈사태효과로 인해 메시지가 조금만 바뀌어도 결과가 완전히 바뀌는 특성을 활용한 것이다.Referring to FIG. 6, the first security key generation unit 142 according to an embodiment of the present invention first converts an image time, which is one of the reference password and unique information of the image, through a hash function to generate a master key ( S10). Thereafter, the first security key generation unit 142 checks how many groups of objects in the image are present (S20). At this time, if there is more than one group, a group key is generated by converting a group number among the master key and group attribute information generated in step S10 through a hash function (S30). After that, the first security key generation unit 142 checks how many objects exist in each group (S40). In this case, when there is more than one object, an object key is generated by converting an object number among the group key and the object attribute information generated in step S30 through a hash function (S50). Through this process, each group key and each object key can be generated using only one master key generated based on the reference password. This makes use of the characteristic that the result of the hash function is completely changed even if the message is changed a little due to the difficult traceback characteristic of the hash function and the avalanche effect.

도 7은 본 발명의 일 실시예에 따른 보안키 세트를 도시하는 도면이다.7 is a diagram illustrating a security key set according to an embodiment of the present invention.

도 7을 참조하면 본 발명의 일 실시예에 따른 제1보안키생성부(142)는 기준 패스워드가 'pw'인 경우, 상기 기준 패스워드 'pw'에 영상시간정보 '10124036'을 추가한 pw10124036'을 해시함수에 입력하여 해시값을 획득한다. 이 때 상기 해시값은 'CF1EB7325A671F80'로서, 이는 마스터키가 된다. 도 7의 실시예에서 상기 해시함수는 16자리의 해시값을 출력하지만, 본 발명의 다른 실시예에서는 이와 달리 SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, HAS-160 등의 다양한 해시함수가 사용될 수 있다.Referring to FIG. 7, when the reference password is 'pw', the first security key generation unit 142 according to an embodiment of the present invention adds the video time information '10124036' to the reference password 'pw'. Is inputted into hash function to obtain hash value. At this time, the hash value is 'CF1EB7325A671F80', which becomes a master key. In the embodiment of Figure 7, the hash function outputs a hash value of 16 digits, but in another embodiment of the present invention, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, HAS- Various hash functions such as 160 can be used.

이 후, 그룹키를 생성하기 위하여 상기 제1보안키생성부(142)는 상기 마스터키 'CF1EB7325A671F80'에 그룹1의 그룹넘버 1을 추가한 'CF1EB7325A671F801'을 해시함수에 입력하여 해시값 'DAC819D2F23C85D4'를 획득하고, 이는 그룹키#1이 된다.Thereafter, in order to generate the group key, the first security key generation unit 142 inputs the hash value 'DAC819D2F23C85D4' to the master function 'CF1EB7325A671F80' by adding 'CF1EB7325A671F801', which adds the group number 1 of group 1 to the hash function. Is obtained, which becomes the group key # 1.

같은 방법으로 객체키를 생성하기 위하여 상기 제1보안키생성부(142)는 상기 그룹키#1 'DAC819D2F23C85D4'에 객체넘버 1 및 객체넘버 2를 각각 추가한 'DAC819D2F23C85D41' 및 'DAC819D2F23C85D42'를 각각 해시함수에 입력하여 '2C3F60B6A6B42113' 및 '45D6F1780B8A3CC8'를 획득하게 되고, 이는 각각 객체키#1-1 및 객체키#1-2가 된다.In order to generate the object key in the same manner, the first security key generation unit 142 hashes 'DAC819D2F23C85D41' and 'DAC819D2F23C85D42', which have added object number 1 and object number 2 to the group key # 1 'DAC819D2F23C85D4', respectively. By inputting to the function, '2C3F60B6A6B42113' and '45D6F1780B8A3CC8' are obtained, which becomes object key # 1-1 and object key # 1-2, respectively.

그룹 2에 대해서도 마찬가지로 상기 제1보안키생성부(142)는 상기 마스터키 'CF1EB7325A671F80'에 그룹2의 그룹넘버 2를 추가한 'CF1EB7325A671F802'를 해시함수에 입력하여 해시값 '1AF7A0CBE3D17F4F'를 획득하고, 이는 그룹키#2가 된다. 또한, 상기 그룹키#2 '1AF7A0CBE3D17F4F'에 객체넘버 객체넘버 1 및 객체넘버 2를 각각 추가한 '1AF7A0CBE3D17F4F1' 및 '1AF7A0CBE3D17F4F2'를 각각 해시함수에 입력하여 'C39F233110DECFFA' 및 'FD63F3E5C45754BC'를 획득하게 되고, 이는 각각 객체키#1-1 및 객체키#1-2가 된다.Similarly for the group 2, the first security key generation unit 142 obtains the hash value '1AF7A0CBE3D17F4F' by inputting 'CF1EB7325A671F802', which adds the group number 2 of group 2 to the master key 'CF1EB7325A671F80', into a hash function. This becomes group key # 2. In addition, '1AF7A0CBE3D17F4F1' and '1AF7A0CBE3D17F4F2', which have added object number object number 1 and object number 2 to the group key # 2 '1AF7A0CBE3D17F4F', respectively, are entered into the hash function to obtain 'C39F233110DECFFA' and 'FC45F3EB' This becomes the object key # 1-1 and the object key # 1-2, respectively.

이와 같이 마스터키에 그룹넘버 1 및 2를 추가하여 해시함수에 입력 한 결과, 입력 값은 숫자 하나 차이일 뿐이지만 그 결과값은 큰 차이를 보여, 상기 해시값으로부터 원래의 입력값을 추적하는 것은 매우 어렵게 된다. 이는 그룹키에 객체넘버를 추가하여 해시함수에 입력하는 경우에도 마찬가지로서, 하나의 기준 패스워드 및 영상시간 정보에 기초하여 각각의 객체키를 생성하였음에도, 객체키 각각으로부터 타 객체키, 그룹키 혹은 마스터키를 유추하는 것이 어려워 보안을 유지할 수 있는 효과를 발휘할 수 있다.As a result of adding the group numbers 1 and 2 to the master key and inputting it into the hash function, the input value is only one number difference, but the result value shows a big difference, and tracking the original input value from the hash value It becomes very difficult. This is similar to the case of adding an object number to a group key and inputting it into a hash function. Even though each object key is generated based on one reference password and video time information, another object key, group key, or master is generated from each object key. It is difficult to infer keys, which can be effective in maintaining security.

즉, 마스터키 혹은 그룹키로부터 하위의 객체키를 생성할 수는 있지만, 객체키 혹은 그룹키로부터 상위의 마스터키를 역추적할 수 없기 때문에, 보안키의 관리를 용이하게 하면서도 보안 수준을 유지할 수 있는 효과를 발휘할 수 있는 것이다.That is, although the lower object key can be generated from the master key or the group key, the upper master key cannot be traced back from the object key or the group key, so that the security level can be easily maintained and the security level can be maintained. It can be effective.

본 발명의 일 실시예에서 상기 마스터키 및 그룹넘버를 해시함수를 통해 변환하는 방법은 도 7의 예와 같이 상기 마스터키의 문자열 뒤에 그룹넘버를 더하여 변환할 수도 있고, 또는 상기 마스터키의 16진코드에 그룹넘버를 더하거나, 빼거나, 혹은 곱하는 형태 등으로 상기 마스터키를 변환한 후 이를 해시함수를 통해 변환하는 방식으로 수행될 수도 있다. 예를 들어 상기 그룹키#1을 획득하기 위하여 마스터키 'CF1EB7325A671F80'에 그룹1의 그룹넘버 1을 뺀 'CF1EB7325A671F7F'를 해시함수에 입력하여 그룹키#1을 획득할 수도 있는 것이다.In an embodiment of the present invention, the method of converting the master key and the group number through a hash function may be converted by adding a group number after the string of the master key as shown in the example of FIG. 7, or the hexadecimal number of the master key. The master key may be converted into a form of adding, subtracting, or multiplying the code to a code, and then converting the master key through a hash function. For example, in order to obtain the group key # 1, the group key # 1 may be obtained by inputting the master key 'CF1EB7325A671F80' without subtracting the group number 1 of the group 1 into the hash function.

이는 상기 그룹키 및 객체넘버를 해시함수를 통해 변환하는 방법에 있어서도 마찬가지이다.The same applies to the method of converting the group key and the object number through a hash function.

도 8은 본 발명의 일 실시예에 따른 마스킹처리방법의 각 단계를 개략적으로 도시하는 순서도이다.8 is a flowchart schematically showing each step of the masking processing method according to an embodiment of the present invention.

이하의 단계들은 앞서 설명한 마스킹처리장치(100)의 각 부의 동작과 동일 또는 유사하고, 동일한 부분에 대한 설명은 생략하기로 한다.The following steps are the same as or similar to the operations of the respective parts of the masking processing apparatus 100 described above, and the description of the same parts will be omitted.

도 8을 참조하면 본 발명의 일 실시예에 따른 마스킹처리방법은 우선 영상 내 객체를 검출하는 객체검출단계(S110)을 수행한다.Referring to FIG. 8, the masking processing method according to an embodiment of the present invention first performs an object detection step S110 of detecting an object in an image.

이 후, 검출된 상기 객체가 기존 검출 객체와 동일 객체인지 확인하는 객체추적단계(S120)를 수행한다.Thereafter, the object tracking step (S120) is performed to determine whether the detected object is the same object as the existing detection object.

이 후, 검출된 상기 객체의 종류를 분류하는 객체분류단계(S130)를 수행한다.Thereafter, an object classification step S130 of classifying the detected types of objects is performed.

이 후, 마스킹을 수행할 관심영역을 도출하는 관심영역도출단계(S140)를 수행한다.Thereafter, a region of interest derivation step S140 of deriving a region of interest for masking is performed.

이 후, 상기 관심영역에 대한 보안키를 생성하는 제1보안키생성단계(S150)를 수행한다. Thereafter, a first security key generation step S150 of generating a security key for the ROI is performed.

이 후, 객체 별 보안키를 이용하여 관심영역에 마스킹을 수행하는 암호화단계(S160)를 수행한다.Thereafter, an encryption step (S160) of performing masking on the region of interest using a security key for each object is performed.

이 후, 마스킹 된 객체의 정보를 삽입하는 마스킹정보삽입단계(S170)를 수행한다.Thereafter, a masking information insertion step S170 of inserting information of the masked object is performed.

이와 같은 일련의 단계를 통하여 객체 별 독립암호를 이용하여 영상의 마스킹 처리를 수행할 수 있다.Through such a series of steps, an image masking process may be performed using an independent password for each object.

도 9는 본 발명의 일 실시예에 따른 마스킹영상의 실시예를 개략적으로 도시하는 도면이다.9 is a diagram schematically showing an embodiment of a masking image according to an embodiment of the present invention.

도 9의 (a)는 원본 영상으로서, 객체검출부(110), 객체추적부(120) 및 객체분류부(130)는 상기 원본 영상의 사람(11)(12)(13)(14) 및 공(15)(16)을 검출하여 이를 사람과 공으로 그룹을 나누고, 각각 사람은 4 객체(11)(12)(13)(14), 공은 2 객체(15)(16)로 파악한다.9 (a) is an original image, and the object detector 110, the object tracker 120, and the object classifier 130 are the people 11, 12, 13, 14, and blank of the original image. (15) (16) is detected and grouped into a person and a ball, and the person is identified as 4 objects (11) (12) (13) (14) and a ball as 2 objects (15) (16), respectively.

도 9의 (b)는 마스킹 된 영상의 예로서, 21 내지 24는 사람 그룹(그룹1)으로 4 객체가 마스킹 되었으며, 25 및 26은 공 그룹(그룹2)로 2 객체가 마스킹 처리 되었다. 도 9의 실시예에서는 마스킹으로 모자이크를 삽입하였다. 각 객체의 관심영역은 직사각형 형태로서, 관심영역정보에는 각 관심영역의 X-Y좌표, 관심영역의 폭 및 관심영역의 높이가 저장될 수 있다.9B illustrates an example of a masked image, in which 21 to 24 are masked with 4 objects in a human group (group 1), and 25 and 26 are masked with 2 objects in a ball group (group 2). In the example of FIG. 9, mosaics are inserted by masking. The ROI of each object has a rectangular shape, and the ROI information may store the X-Y coordinate, the width of the ROI and the height of the ROI.

도 9의 (c)는 마스킹 된 영상을 확인하는 화면의 예이다. 도 9의 (c)의 예에서 마스킹 된 영상을 전용뷰어를 통해 재생할 때, 마스킹 된 객체에 마우스 커서(32)를 가져가 가리키면, 상기 커서가 위치한 객체에 대한 ID정보(31)가 화면에 표시된다. 도 9의 실시예에서 상기 커서가 가리킨 객체는 사람(14)으로서, 사람 그룹(그룹1)의 4 번째 객체로 ID 1-4가 화면에 표시되었다. 상기 ID를 확인한 사용자는 영상 제공자에게 해당 객체의 ID를 알려주고, 해당 ID의 객체의 객체키를 받아, 해당 ID의 객체만 언마스킹 하여 볼 수 있다. 객체들 중 사람들을 모두 확인하고 싶은 경우 그룹 1의 그룹키를 요청 후 획득하여, 사람 그룹 전체를 언마스킹 하여 확인할 수 있고, 공을 모두 확인하고 싶은 경우 그룹 2의 그룹키를 요청 후 획득하여, 공 그룹 전체를 언마스킹 하여 확인할 수 있다.9C illustrates an example of a screen for confirming a masked image. In the example of FIG. 9C, when the masked image is played through the dedicated viewer, when the mouse cursor 32 is moved to the masked object, the ID information 31 of the object where the cursor is located is displayed on the screen. do. In the embodiment of FIG. 9, the object indicated by the cursor is a person 14, and ID 1-4 is displayed on the screen as the fourth object of the person group (group 1). The user who confirms the ID informs the image provider of the ID of the object, receives the object key of the object of the ID, and unmasks only the object of the ID. If you want to check all of the objects, you can obtain the group key of Group 1 after requesting it, and you can check the entire group of people by unmasking. You can do this by unmasking the entire ball group.

이와 같이 영상을 확인하는 사용자가 필요한 객체의 객체키 만을 획득하여 언마스킹을 수행함으로써, 다른 객체에 대한 프라이버시 노출을 방지하면서 언마스킹을 수행할 수 있게 된다.In this way, the user who checks the image acquires only the object key of the required object and performs unmasking, thereby preventing unmasking while exposing privacy to other objects.

또한, 각각의 객체에 대해서뿐만 아니라, 해당 그룹의 그룹키를 획득하여 언마스킹을 수행하거나, 혹은 마스터키를 획득하여 언마스킹을 수행함으로써, 각각의 객체키를 입력하지 않고도 일시에 해당 그룹의 객체, 혹은 전체 객체에 대하여 언마스킹을 수행할 수도 있게 된다.In addition, for each object, the group key of the corresponding group is acquired to perform unmasking, or the master key is obtained to perform unmasking. You can also unmask the entire object.

도 10은 본 발명의 일 실시예에 따른 언마스킹처리장치의 내부 구성을 개략적으로 도시하는 블록도이다.10 is a block diagram schematically showing an internal configuration of an unmasking processing apparatus according to an embodiment of the present invention.

도 10을 참조하면 본 발명의 일 실시예에 따른 언마스킹처리장치(200)는 마스킹정보추출부(210), 언마스킹정보입력부(220) 및 언마스킹처리부(230)를 포함한다.Referring to FIG. 10, the unmasking processing apparatus 200 according to an embodiment of the present invention includes a masking information extracting unit 210, an unmasking information input unit 220, and an unmasking processing unit 230.

상기 마스킹정보추출부(210)는 마스킹 된 객체의 정보를 추출한다. 본 발명의 일 실시예에 따른 마스킹 영상에는 상기 마스킹정보삽입부(150)에 의하여 마스킹 된 객체의 정보가 삽입되어 있다. 상기 마스킹정보추출부(210)는 이를 영상으로부터 추출하여 불러온다.The masking information extracting unit 210 extracts information of the masked object. In the masking image according to an embodiment of the present invention, information of an object masked by the masking information insertion unit 150 is inserted. The masking information extracting unit 210 extracts this from the image and loads it.

상기 언마스킹정보입력부(220)는 언마스킹 할 객체의 정보 및 보안키를 입력 받는다. 본 발명의 일 실시예에 따르면 상기 언마스킹정보입력부(220)는 언마스킹 할 객체를 입력 받아 언마스킹 대상으로 지정할 수도 있고, 혹은 언마스킹 할 그룹을 입력 받아 그룹 내 객체들을 일괄적으로 언마스킹 대상으로 지정할 수도 있다. 또한, 입력 된 상기 언마스킹 할 객체에 대한 보안키를 입력 받을 때, 언마스킹 할 객체에 대한 객체키를 입력 받을 수도 있고, 혹은 그에 대한 그룹키, 혹은 마스터키를 입력 받을 수도 있다.The unmasking information input unit 220 receives the information and the security key of the object to be unmasked. According to an embodiment of the present invention, the unmasking information input unit 220 may receive an object to be unmasked and designate it as an unmasking target, or may receive a group to be unmasked, and collectively unmask the objects in the group. Can also be specified. In addition, when the security key for the unmasked object is input, the object key for the unmasked object may be input, or a group key or a master key may be received.

즉, 언마스킹 할 객체를 입력 받은 경우, 해당 객체키, 해당 객체가 포함된 그룹의 그룹키, 혹은 마스터키를 입력 받을 수 있고, 언마스킹 할 그룹을 입력 받은 경우, 해당 그룹의 그룹키 혹은 마스터키를 입력 받을 수 있고, 객체 전체를 언마스킹 대상으로 입력 받은 경우, 마스터키를 입력 받을 수 있다.That is, when an object to be unmasked is input, a corresponding object key, a group key of a group including the object, or a master key may be input. When an object to be unmasked is input, a group key or master of the group The key can be input, and if the entire object is input for unmasking, the master key can be input.

본 발명의 일 실시예에 따르면 상기 언마스킹정보입력부(220)은 복수의 언마스킹 할 객체의 정보 및 상기 복수 개의 언마스킹 할 객체에 대한 복수의 보안키를 입력 받을 수 있다. 상기 언마스킹정보입력부(220)는 이와 같이 복수의 객체에 대한 정보 및 복수의 보안키를 입력 받아, 동시에 언마스킹을 처리할 수 있다.According to an embodiment of the present invention, the unmasking information input unit 220 may receive information on a plurality of unmasked objects and a plurality of security keys for the plurality of unmasked objects. The unmasking information input unit 220 may receive information on a plurality of objects and a plurality of security keys as described above, and simultaneously process unmasking.

본 발명의 다른 실시예에서는, 상기 언마스킹정보입력부(220)는 언마스킹 할 객체의 정보 없이 객체에 대한 보안키 만을 입력 받을 수 있다. 이와 같은 실시예에서는 상기 언마스킹처리부(230)에서 상기 제1보안키생성부(142)와 동일한 방법으로 마스터키로부터 그룹키 및 객체키를 생성하고, 상기 언마스킹정보입력부(220)는 입력 받은 보안키를 상기 그룹키 및 상기 객체키와 비교함으로써, 언마스킹 할 객체를 식별하여 언마스킹 할 객체에 대한 정보를 생성하여 언마스킹처리부(230)에서 언마스킹을 수행할 수 있도록 한다.In another embodiment of the present invention, the unmasking information input unit 220 may receive only a security key for the object without information of the object to be unmasked. In such an embodiment, the unmasking processor 230 generates a group key and an object key from the master key in the same manner as the first security key generator 142, and the unmasking information input unit 220 receives the input. By comparing the security key with the group key and the object key, by identifying the object to be unmasked to generate information about the object to be unmasked, the unmasking processor 230 can perform the unmasking.

상기 언마스킹처리부(230)는 입력 받은 상기 객체 정보 및 상기 보안키에 기초하여 언마스킹 처리를 수행한다. 본 발명의 일 실시예에 따른 상기 언마스킹처리부(230)는 상기 마스킹정보추출부(210)에서 추출한 마스킹정보 및 상기 언마스킹정보입력부(220)에서 입력 받은 언마스킹 할 객체의 정보 및 보안키에 기초하여 마스킹정보 중 언마스킹 할 객체에 대한 마스킹정보를 상기 보안키에 기초하여 복호 함으로써 언마스킹 처리를 수행할 수 있다.The unmasking processor 230 performs an unmasking process based on the received object information and the security key. According to an embodiment of the present invention, the unmasking processing unit 230 may include masking information extracted by the masking information extracting unit 210 and information and security keys of an object to be unmasked received from the unmasking information input unit 220. On the basis of this, the masking information for the object to be unmasked among the masking information is decoded based on the security key, so that the unmasking process can be performed.

도 11은 본 발명의 일 실시예에 따른 언마스킹처리부의 내부 구성을 개략적으로 도시하는 블록도이다.11 is a block diagram schematically showing an internal configuration of an unmasking processing unit according to an embodiment of the present invention.

도 11을 참조하면 본 발명의 일 실시예에 따른 언마스킹처리부(230)은 관심영역추출부(231), 제2보안키생성부(232) 및 복호화부(233)를 포함한다.Referring to FIG. 11, the unmasking processor 230 according to an embodiment of the present invention includes an ROI extractor 231, a second security key generator 232, and a decryptor 233.

상기 관심영역추출부(231)은 언마스킹 할 객체의 정보로부터 관심영역을 추출한다. 상기 관심영역추출부(231)는 상기 마스킹정보추출부(210)에서 추출한 마스킹 된 객체의 정보로부터 관심영역에 관한 정보를 추출할 수 있다. 이 때 상기 언마스킹정보입력부(220)로부터 입력 받은 언마스킹 대상 객체에 대한 관심영역만을 추출하여 언마스킹을 할 수 있도록 준비할 수 있다.The ROI extractor 231 extracts an ROI from information of an object to be unmasked. The ROI extractor 231 may extract information about the ROI from the masked object information extracted by the masking information extractor 210. In this case, only the region of interest for the unmasked target object received from the unmasking information input unit 220 may be extracted to prepare for unmasking.

상기 제2보안키생성부(232)는 입력 받은 보안키로부터 객체 별 보안키를 생성한다. 상기 언마스킹정보입력부(220)에서 입력 받은 보안키가 마스터키 또는 그룹키인 경우, 언마스킹을 수행하기 위하여 객체키를 생성한다. 상기 마스터키 또는 그룹키로부터 객체키를 생성하는 방법은 제1보안키생성부(142)와 동일하다. 상기 제2보안키생성부(232)는 상기 언마스킹정보입력부(220)에서 마스터키 또는 그룹키를 입력 받은 경우, 상기 마스터키 또는 상기 그룹키로부터 생성할 수 있는 모든 객체키를 생성할 수도 있고, 혹은 상기 언마스킹정보입력부(220)에서 입력 받은 언마스킹 할 객체의 정보를 수신하여 상기 언마스킹 할 객체에 해당하는 객체키만을 선별하여 생성할 수도 있다.The second security key generation unit 232 generates a security key for each object from the received security key. When the security key received from the unmasking information input unit 220 is a master key or a group key, an object key is generated to perform unmasking. The method of generating the object key from the master key or the group key is the same as the first security key generation unit 142. When the second security key generation unit 232 receives a master key or a group key from the unmasking information input unit 220, the second security key generation unit 232 may generate all object keys that can be generated from the master key or the group key. Alternatively, the unmasking information input unit 220 may receive information on an object to be unmasked and may generate and generate only an object key corresponding to the object to be unmasked.

상기 복호화부(233)는 상기 객체 별 보안키를 이용하여 상기 관심영역에 언마스킹을 수행한다. 상기 복호화부(233)는 상기 관심영역추출부(231)로부터 추출한 관심영역에 대해 상기 객체키를 이용하여 복호화 하고 마스킹을 제거한다. 이는 마스킹처리장치(100)의 암호화부(143)와 대응하여, 상기 암호화부(143)에서 수행한 암호화를 복호화 하여 상기 객체의 마스킹에 대해 접근하여 제거할 수 있도록 한다.The decryption unit 233 performs unmasking on the ROI using the security key for each object. The decoder 233 decrypts the ROI extracted from the ROI extractor 231 using the object key and removes masking. This corresponds to the encryption unit 143 of the masking processing device 100 to decrypt the encryption performed by the encryption unit 143 to access and remove the masking of the object.

본 발명의 일 실시예에 따른 상기 암호화부(143)는 상기 객체키에 기초하여 상기 관심영역 내의 매크로 블록을 객체키를 이용해 XOR하거나 기설정된 규칙에 의하여 스크램블 처리하여 마스킹을 수행할 수 있다. 이 때 상기 복호화부(233)는 상기 객체키에 기초하여 상기 관심영역 내의 매크로 블록을 다시 객체키를 이용해 XOR 하거나, 상기 기설정된 규칙의 역으로 스크램블 처리를 함으로써 언마스킹을 수행할 수 있다. 이와 같이 마스킹 및 언마스킹을 수행하는 경우 마스킹에 대한 추가적인 정보 없이, 원본영상의 정보의 손실 없이 마스킹을 수행하면서도, 원본 영상을 인식할 수 없을 정도로 영상이 변화되고, 상기 객체키를 통하여만 원본 영상을 복원할 수 있는 효과를 발휘할 수 있다.According to an embodiment of the present disclosure, the encryption unit 143 may perform masking by XORing a macroblock in the ROI using an object key or scrambled by a predetermined rule based on the object key. At this time, the decryption unit 233 may perform unmasking by XORing the macroblock in the ROI using the object key again based on the object key or scrambles the reverse of the preset rule. When masking and unmasking are performed as described above, the image is changed so that the original image cannot be recognized while performing masking without additional information on the masking and without loss of the information of the original image, and only through the object key. The effect can be restored.

이와 같이 상기 언마스킹처리부(230)의 각 부의 동작에 의하여 객체 별 객체키에 의해 암호화 된 영상에 대하여 언마스킹 대상 객체를 특정하고, 상기 언마스킹 대상 객체만을 언마스킹처리 하여 원본 영상을 인식할 수 있는 영상으로 변환할 수 있다.As described above, the unmasking target object is specified for the image encrypted by the object key for each object by the operation of each unit of the unmasking processor 230, and the unmasking object is unmasked to recognize the original image. You can convert it into a video.

도 12 및 도 13은 본 발명의 일 실시예에 따른 언마스킹처리방법의 각 단계를 개략적으로 도시하는 순서도이다.12 and 13 are flowcharts schematically showing steps of an unmasking processing method according to an embodiment of the present invention.

이하의 단계들은 앞서 설명한 언마스킹처리장치(200)의 각 부의 동작과 동일 또는 유사하고, 동일한 부분에 대한 설명은 생략하기로 한다.The following steps are the same as or similar to the operation of each part of the unmasking processing apparatus 200 described above, and the description of the same parts will be omitted.

도 12를 참조하면 본 발명의 일 실시예에 따른 언마스킹처리방법은 우선 마스킹 된 객체의 정보를 추출하는 마스킹정보추출단계(S210)를 수행한다.Referring to FIG. 12, the unmasking processing method according to an embodiment of the present invention first performs a masking information extraction step (S210) of extracting information of a masked object.

이 후, 1 이상의 언마스킹 할 객체의 정보 및 보안키를 입력 받는 언마스킹정보입력단계(S220)를 수행한다.Thereafter, an unmasking information input step (S220) of receiving information of at least one unmasked object and a security key is performed.

이 후, 언마스킹 할 객체의 정보로부터 관심영역을 추출하는 관심영역추출단계(S240)를 수행한다. Thereafter, a region of interest extraction step S240 of extracting a region of interest from information of an object to be unmasked is performed.

이 후, 상기 보안키를 이용하여 관심영역에 언마스킹을 수행하는 복호화단계(S250)를 수행한다.Thereafter, a decryption step S250 of performing unmasking on the ROI using the security key is performed.

이와 같은 일련의 단계를 통하여 객체 별 독립암호를 이용하여 마스킹 처리 된 영상의 언마스킹을 수행할 수 있다.Through such a series of steps, the unmasked image may be unmasked using an independent password for each object.

도 13은 본 발명의 일 실시예에서, 상기 언마스킹정보입력단계(S220)에서 입력 받은 보안키가 객체키가 아닌 마스터키 또는 그룹키인 경우의 단계를 도시한다.FIG. 13 illustrates a step in a case where the security key received in the unmasking information input step S220 is a master key or a group key instead of an object key.

도 13의 실시예에서는 상기 도 12의 실시예에서와 동일하게 S210 및 S220 단계를 수행한다.In the embodiment of FIG. 13, steps S210 and S220 are performed in the same manner as in the embodiment of FIG. 12.

이 후, 마스터키 또는 그룹키로부터 객체키를 생성하는 제2보안키생성단계(S230)를 수행한다. 상기 제2보안키생성단계(S230)는 마스킹처리방법의 제1보안키생성단계(S150)와 동일한 방법으로 수행하여 객체키를 생성함으로써, 언마스킹에 필요한 객체키를 획득하게 된다. 따라서 상기 언마스킹정보입력단계(S220)에서 마스터키를 입력 받은 경우, 상기 제2보안키생성단계(S230)에서는 모든 객체의 객체키를 획득할 수 있고, 혹은 상기 언마스킹정보입력단계(S220)에서 그룹키를 입력 받은 경우, 상기 제2보안키생성단계(S230)에서는 해당 그룹 내의 모든 객체의 객체키를 획득할 수 있다.Thereafter, a second security key generation step S230 of generating an object key from a master key or a group key is performed. The second security key generation step S230 is performed in the same manner as the first security key generation step S150 of the masking processing method to generate an object key, thereby obtaining an object key necessary for unmasking. Therefore, when the master key is input in the unmasking information input step (S220), in the second security key generation step (S230), the object keys of all objects may be obtained, or the unmasking information input step (S220). In case of receiving a group key, the second security key generation step (S230) may obtain object keys of all objects in the group.

이 후, 도 12의 실시예에서와 동일하게 S240 및 S250 단계를 수행한다. 이 때 복호화단계(S250)에서는 상기 제2보안키생성단계(S230)에서 생성된 객체키를 이용하여 관심영역에 언마스킹을 수행하여 원본영상을 획득할 수 있게 된다.Thereafter, steps S240 and S250 are performed in the same manner as in the embodiment of FIG. 12. At this time, in the decryption step S250, the original image may be obtained by unmasking the ROI using the object key generated in the second security key generation step S230.

이와 같이 언마스킹단계에서 객체키뿐만 아니라, 그룹키 또는 마스터키를 입력 받음으로써, 입력 받은 그룹 내의 모든 객체 또는 영상 내의 모든 객체에 대한 언마스킹을 처리하여 보안키 관리를 간소화하는 효과를 발휘할 수 있다.In this way, by receiving the group key or the master key as well as the object key in the unmasking step, unmasking of all objects in the input group or all objects in the image can be performed to simplify security key management. .

도 14는 본 발명의 다른 실시예에 따른 언마스킹처리부(230)의 내부 구성을 개략적으로 도시하는 블록도이다.14 is a block diagram schematically showing an internal configuration of an unmasking processor 230 according to another embodiment of the present invention.

도 14의 실시예에서는, 상기 암호화부(143)가 객체키가 아닌 마스터키에 기초하여 관심영역에 마스킹을 수행 한 경우, 혹은 영상전체영역에 마스킹을 수행한 경우에서의 언마스킹처리부를 확인할 수 있다.In the embodiment of FIG. 14, when the encryption unit 143 masks the region of interest based on the master key instead of the object key, or when the entire region of the image is masked, the unmasking processing unit may be identified. have.

이와 같은 실시예에서 상기 언마스킹처리부(230)는 제3보안키생성부(234), 권한확인부(235), 관심영역추출부(231) 및 복호화부(233)를 포함한다.In such an embodiment, the unmasking processor 230 includes a third security key generator 234, an authorization checker 235, an ROI extractor 231, and a decryptor 233.

상기 제3보안키생성부(234)는 마스터키로부터 그룹키 및 객체키를 생성한다. 상기 제3보안키생성부(234)는 상기 제1보안키생성부(142)와 동일한 알고리즘을 통하여 그룹키 및 객체키를 생성한다. 이와 같이 생성된 상기 그룹키 및 상기 객체키는 상기 언마스킹정보입력부(220)에서 입력 된 보안키의 언마스킹 권한을 확인하는데 사용된다.The third security key generation unit 234 generates a group key and an object key from the master key. The third security key generation unit 234 generates a group key and an object key through the same algorithm as the first security key generation unit 142. The group key and the object key generated as described above are used to confirm the unmasking authority of the security key input from the unmasking information input unit 220.

상기 권한확인부(235)는 상기 언마스킹정보입력부(220)에서 입력 받은 보안키의 언마스킹권한을 확인하고, 언마스킹 할 객체를 특정한다. 상기 권한확인부(235)는 상기 언마스킹정보입력부(220)에서 입력 받은 보안키를 상기 제3보안키생성부(234)에서 생성 된 그룹키 및 객체키와 비교하여, 상기 그룹키 및 객체키와 일치하는 경우, 언마스킹에 대한 권한이 있다고 판단하여 해당 그룹 또는 해당 객체를 언마스킹 할 객체로 특정한다. 이와 같이 입력 받은 보안키에 따라 언마스킹 할 객체를 특정함으로써 이 외의 객체에 대한 언마스킹을 수행하지 않고, 특정된 객체만을 언마스킹 할 수 있도록 하여 이 외의 객체에 대한 프라이버시를 유지할 수 있는 효과를 발휘할 수 있다.The authorization checker 235 checks the unmasking authority of the security key received from the unmasking information input unit 220 and specifies an object to be unmasked. The authorization checker 235 compares the security key received from the unmasking information input unit 220 with the group key and the object key generated by the third security key generation unit 234. If it matches with, it determines that the user has permission to unmask and specifies the group or the object as an object to be unmasked. By specifying the object to be unmasked according to the security key input as described above, it is possible to unmask only the specified object without unmasking other objects, thereby maintaining the privacy of other objects. Can be.

상기 관심영역추출부(231)는 앞서 설명한 실시예에서와 동일하게, 상기 권한확인부(235)에서 특정된 언마스킹 할 객체의 정보로부터 관심영역을 추출한다. 상기 관심영역에 대한 정보는 영상에 삽입 된 마스킹정보로부터 추출할 수 있다.The region of interest extractor 231 extracts the region of interest from the information of the object to be unmasked specified in the authority checker 235, as in the above-described embodiment. Information about the ROI may be extracted from masking information embedded in the image.

상기 복호화부(233)는 상기 마스터키에 기초하여 상기 관심영역 또는 영상전체영역에 언마스킹을 수행한다. 이와 같이 상기 복호화부(233)가 마스터키를 이용하여 단일키 마스킹 및 언마스킹을 수행함으로써 빠른 처리가 가능하다. 객체의 마크로 블록에 직접 마스킹을 하는 경우 동영상 코덱의 움직임 추정(Motion Estimation) 기능에 악영향을 끼쳐, 마스킹이 우측 하단으로 흐르는 노이즈가 발생할 수 있다.The decoder 233 performs unmasking on the ROI or the entire image area based on the master key. As described above, the decryption unit 233 performs fast processing by performing single key masking and unmasking using the master key. Masking directly to the macro block of an object adversely affects the motion estimation function of the video codec, which may cause noise in which the masking flows to the lower right corner.

본 발명의 다른 실시예에서는 이를 방지하기 위하여 상기 마스터키에 기초하여 관심영역, 또는 영상전체영역에 대해 마스킹을 수행하고, 언마스킹 수행 시 상기 복호화부(233)가 상기 마스터키에 기초하여 언마스킹을 수행한다. In another embodiment of the present invention, in order to prevent this, masking is performed on the ROI or the entire image area based on the master key, and when the unmasking is performed, the decoder 233 unmasks the mask based on the master key. Do this.

본 발명의 일 실시예에서는 상기 관심영역에 대한 언마스킹을 수행하는 경우, 해당 관심영역의 마스킹이 제거 된 원본영상을 표출하고, 이 외의 객체에 대해서는 마스킹 된 영상을 표출함으로써, 객체 각각에 대하여 개별적으로 언마스킹을 수행할 수 있다.According to an embodiment of the present invention, when performing unmasking on the ROI, the original image from which the masking of the ROI is removed is displayed and the masked image is displayed for other objects, thereby individually displaying each object. Unmasking can be done with

혹은, 영상전체영역에 대한 언마스킹을 수행하는 경우, 상기 권한확인부(235)에서 언마스킹 할 객체로 특정된 객체에 대한 관심영역에 대해서만 언마스킹 된 원본영상을 표출하고, 이 외의 객체에 대해서는 마스킹 된 영상을 표출함으로써 해당 객체만이 언마스킹 된 최종 표출영상을 사용자에게 표출함으로써 이 외의 객체에 대한 프라이버시를 유지하는 효과를 발휘할 수 있다.Alternatively, when unmasking the entire image area, the unchecked original image is displayed only in the ROI for the object specified as the object to be unmasked by the permission checker 235, and for the other objects By displaying the masked image, only the corresponding object may display the unmasked final displayed image to the user, thereby maintaining the privacy of other objects.

도 15는 본 발명의 다른 실시예에 따른 언마스킹처리방법의 각 단계를 개략적으로 도시하는 순서도이다.15 is a flowchart schematically showing each step of the unmasking processing method according to another embodiment of the present invention.

도 15에서는 마스킹 처리 시 각각의 객체키가 아닌, 마스터키에 의해 마스킹이 수행된 실시예에서의 언마스킹처리방법을 도시한다.FIG. 15 illustrates an unmasking processing method in an embodiment in which masking is performed by a master key instead of each object key in the masking process.

도 15를 참조하면 본 발명의 다른 실시예에 따른 언마스킹처리방법은 우선 마스킹 된 객체의 정보를 추출하는 마스킹정보추출단계(S210)를 수행한다.Referring to FIG. 15, the unmasking processing method according to another embodiment of the present invention first performs a masking information extraction step (S210) of extracting information of a masked object.

이 후, 언마스킹 할 객체의 정보 및 보안키를 입력 받는 언마스킹정보입력단계(S220)를 수행한다.Thereafter, an unmasking information input step S220 of receiving information of an object to be unmasked and a security key is performed.

이 후, 상기 마스터키로부터 그룹키 및 객체키를 생성하는 제3보안키생성단계(S231)를 수행한다.Thereafter, a third security key generation step (S231) of generating a group key and an object key from the master key is performed.

이 후, 입력 받은 보안키의 언마스킹권한을 확인하는 보안키확인단계(S232)를 수행한다. 상기 보안키확인단계(S232)에서는 상기 언마스킹정보입력단계(S220)에서 입력 받은 보안키를 상기 제3보안키생성단계(S231)에서 생성된 그룹키 또는 객체키와 비교하여 상기 보안키가 언마스킹을 수행하기 위한 권한이 있는지 여부를 확인한다. 이 때, 상기 입력 받은 보안키가 그룹키 또는 마스터키인 경우, 상기 그룹키 또는 마스터키는 해당 그룹 내 모든 객체 또는 영상 내 모든 객체에 대한 언마스킹을 수행하기 위한 권한을 가질 수 있다.Thereafter, a security key verification step (S232) of checking the unmasking authority of the received security key is performed. In the security key checking step (S232), the security key is frozen by comparing the security key received in the unmasking information input step (S220) with a group key or an object key generated in the third security key generation step (S231). Check whether you have permission to perform masking. In this case, when the received security key is a group key or a master key, the group key or master key may have a right for unmasking all objects in the group or all objects in the image.

이 후, 언마스킹 할 객체를 특정하는 객체특정단계(S234)를 수행한다. 상기 객체특정단계(S234)에서는 상기 보안키확인단계(S232)를 통해 보안키의 언마스킹권한이 확인 된 객체만을 언마스킹 할 객체로 특정하여, 이 후 언마스킹을 수행할 수 있도록 한다.Thereafter, an object specifying step S234 of specifying an object to be unmasked is performed. In the object specifying step (S234), only the object whose unmasking authority of the security key is confirmed through the security key verification step (S232) is identified as an object to be unmasked, and then unmasking can be performed.

이 후, 언마스킹 할 객체의 정보로부터 관심영역을 추출하는 관심영역추출단계(S240)를 수행한다. Thereafter, a region of interest extraction step S240 of extracting a region of interest from information of an object to be unmasked is performed.

이 후, 상기 보안키를 이용하여 관심영역에 언마스킹을 수행하는 복호화단계(S250)를 수행한다.Thereafter, a decryption step S250 of performing unmasking on the ROI using the security key is performed.

이와 같은 일련의 단계를 통하여 객체 별 독립암호를 이용하여 마스킹 처리 된 영상의 언마스킹을 수행할 수 있다.Through such a series of steps, the unmasked image may be unmasked using an independent password for each object.

본 발명의 일 실시예에 따르면 마스킹 된 영상을 보안키를 이용하여 암호화 함으로써 원본 영상에 대한 보안을 유지할 수 있는 효과를 발휘할 수 있다.According to an embodiment of the present invention, the masked video may be encrypted using a security key, thereby maintaining the security of the original video.

본 발명의 일 실시예에 따르면, 마스킹 된 영상의 언마스킹 과정에서 객체 별로 언마스킹을 할 수 있도록 하여 개인정보를 보호하는 효과를 발휘할 수 있다.According to an embodiment of the present invention, an unmasking process may be performed for each object in an unmasking process of the masked image, thereby protecting personal information.

본 발명의 일 실시예에 따르면 객체 별로 언마스킹 수행 시 각각의 객체 별 보안키(객체키), 객체 그룹 별 보안키(그룹키), 혹은 전체 보안키(마스터키)에 기초하여 각각의 객체 별, 그룹 별, 혹은 전체 언마스킹을 수행할 수 있는 효과를 발휘할 수 있다.According to an embodiment of the present invention, when performing unmasking for each object, each object is based on a security key (object key) for each object, a security key (group key) for each object group, or an entire security key (master key). This can have the effect of performing unmasking, group by group, or full unmasking.

본 발명의 일 실시예에 따르면 마스터키에 기초하여 그룹키 및 객체키를 생성할 수 있어 용이하게 보안키를 관리할 수 있는 효과를 발휘할 수 있다.According to an embodiment of the present invention, it is possible to generate a group key and an object key based on the master key, thereby achieving the effect of easily managing the security key.

본 발명의 실시예에 따른 방법들은 다양한 컴퓨팅 장치를 통하여 수행될 수 있는 프로그램 명령(instruction) 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 특히, 본 실시예에 따른 프로그램은 PC 기반의 프로그램 또는 모바일 단말 전용의 어플리케이션으로 구성될 수 있다. 본 발명이 적용되는 애플리케이션은 파일 배포 시스템이 제공하는 파일을 통해 이용자 단말에 설치될 수 있다. 일 예로, 파일 배포 시스템은 이용자 단말기의 요청에 따라 상기 파일을 전송하는 파일 전송부(미도시)를 포함할 수 있다.Methods according to an embodiment of the present invention may be implemented in the form of program instructions that may be executed by various computing devices and may be recorded in a computer readable medium. In particular, the program according to the present embodiment may be configured as a PC-based program or an application dedicated to a mobile terminal. An application to which the present invention is applied may be installed in a user terminal through a file provided by a file distribution system. For example, the file distribution system may include a file transmitter (not shown) for transmitting the file at the request of the user terminal.

이상에서 설명된 장치는 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치 및 구성요소는, 예를 들어, 프로세서, 콘트롤러, ALU(arithmetic logic unit), 디지털 신호 프로세서(digital signal processor), 마이크로컴퓨터, FPGA(field programmable gate array), PLU(programmable logic unit), 마이크로프로세서, 또는 명령(instruction)을 실행하고 응답할 수 있는 다른 어떠한 장치와 같이, 하나 이상의 범용 컴퓨터 또는 특수 목적컴퓨터를 이용하여 구현될 수 있다. 처리 장치는 운영 체제(OS) 및 상기 운영 체제 상에서 수행되는 하나 이상의 소프트웨어 애플리케이션을 수행할 수 있다. 또한, 처리 장치는 소프트웨어의 실행에 응답하여, 데이터를 접근, 저장, 조작, 처리 및 생성할 수도 있다. 이해의 편의를 위하여, 처리 장치는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 처리 장치가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. 예를 들어, 처리 장치는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 콘트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다.The apparatus described above may be implemented as a hardware component, a software component, and / or a combination of hardware components and software components. For example, the devices and components described in the embodiments are, for example, processors, controllers, arithmetic logic units (ALUs), digital signal processors, microcomputers, field programmable gate arrays (FPGAs). May be implemented using one or more general purpose or special purpose computers, such as a programmable logic unit (PLU), a microprocessor, or any other device capable of executing and responding to instructions. The processing device may execute an operating system (OS) and one or more software applications running on the operating system. The processing device may also access, store, manipulate, process, and generate data in response to the execution of the software. For convenience of explanation, one processing device may be described as being used, but one of ordinary skill in the art will appreciate that the processing device includes a plurality of processing elements and / or a plurality of types of processing elements. It can be seen that it may include. For example, the processing device may include a plurality of processors or one processor and one controller. In addition, other processing configurations are possible, such as parallel processors.

소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로 (collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 가상장치(virtual equipment), 컴퓨터 저장 매체 또는 장치, 또는 전송되는 신호 파(signal wave)에 영구적으로, 또는 일시적으로 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨팅 장치 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다.The software may include a computer program, code, instructions, or a combination of one or more of these, and configure the processing device to operate as desired, or process it independently or in combination. You can command the device. Software and / or data may be any type of machine, component, physical device, virtual equipment, computer storage medium or device in order to be interpreted by or to provide instructions or data to the processing device. Or may be permanently or temporarily embodied in a signal wave to be transmitted. The software may be distributed over networked computing devices so that they are stored or executed in a distributed manner. Software and data may be stored on one or more computer readable recording media.

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

이상과 같이 실시예들이 비록 한정된 실시예와 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기의 기재로부터 다양한 수정 및 변형이 가능하다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다. 그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 특허청구범위의 범위에 속한다.Although the embodiments have been described by the limited embodiments and the drawings as described above, various modifications and variations are possible to those skilled in the art from the above description. For example, the described techniques may be performed in a different order than the described method, and / or components of the described systems, structures, devices, circuits, etc. may be combined or combined in a different form than the described method, or other components. Or even if replaced or substituted by equivalents, an appropriate result can be achieved. Therefore, other implementations, other embodiments, and equivalents to the claims are within the scope of the claims that follow.

Claims (26)

영상의 마스킹처리방법으로서,
영상 내 객체를 검출하는 객체검출단계;
검출된 상기 객체가 기존 검출 객체와 동일 객체인지 확인하는 객체추적단계;
검출된 상기 객체를 특정 그룹으로 포함하여 분류하는 객체분류단계;
영상의 전체영역에 대해 마스킹 처리를 수행하는 경우, 마스터키에 기초하여 마스킹 처리를 수행하고, 검출된 상기 객체에 대해 마스킹 처리를 수행하는 경우, 상기 객체에 상응하는 객체키 또는 상기 마스터키에 기초하여 마스킹 처리를 수행하는 마스킹처리단계;
마스킹 된 객체의 정보를 삽입하는 마스킹정보삽입단계; 및
언마스킹처리단계;를 포함하고,
상기 마스킹처리단계는,
객체 별로 마스킹을 수행할 관심영역을 도출하는 관심영역도출단계;
상기 관심영역에 대한 보안키를 생성하는 제1보안키생성단계; 및
상기 보안키를 이용하여 상기 관심영역 또는 상기 영상의 전체영역에 대해 마스킹을 수행하는 암호화단계;를 포함하고,
상기 제1보안키생성단계는,
기준 패스워드 및 기설정된 고유정보에 기초하여 상기 마스터키를 생성하는 마스터키생성단계;
상기 마스터키 및 그룹속성정보에 기초하여 그룹키를 생성하는 그룹키생성단계; 및
상기 그룹키 및 객체속성정보에 기초하여 상기 객체키를 생성하는 객체키생성단계;를 포함하고,
상기 보안키는 상기 마스터키, 상기 그룹키 및 상기 객체키를 포함하고,
상기 언마스킹처리단계는,
마스킹 된 객체의 정보를 추출하는 마스킹정보추출단계;
1 이상의 언마스킹 할 객체의 정보 및 1 이상의 상기 보안키를 입력 받는 언마스킹정보입력단계;
상기 언마스킹정보입력단계에서 상기 마스터키를 입력 받은 경우 상기 마스터키 및 상기 그룹속성정보에 기초하여 상기 그룹키를 생성하고, 생성된 상기 그룹키 및 상기 객체속성정보에 기초하여 상기 객체키를 생성하고, 상기 그룹키를 입력 받은 경우 상기 그룹키 및 상기 객체속성정보에 기초하여 상기 객체키를 생성하는 제2보안키생성단계;
상기 1 이상의 언마스킹 할 객체의 정보로부터 1 이상의 관심영역을 추출하는 관심영역추출단계; 및
상기 제2보안키생성단계에서 생성된 상기 객체키 또는 상기 마스터키를 이용하여 상기 1 이상의 관심영역에 언마스킹을 수행하는 복호화단계;를 포함하는, 영상의 마스킹처리방법.
As a masking processing method of an image,
An object detection step of detecting an object in the image;
An object tracking step of confirming whether the detected object is the same object as the existing detection object;
An object classification step of classifying the detected objects into a specific group;
When masking the entire area of the image, the masking process is performed based on the master key, and when the masking process is performed on the detected object, the object key corresponding to the object or the master key is based on the master key. A masking processing step of performing masking processing;
A masking information insertion step of inserting information of the masked object; And
And an unmasking step;
The masking processing step,
Deriving a region of interest for deriving a region of interest for masking for each object;
Generating a security key for the ROI; And
And encrypting the ROI or the entire area of the image using the security key.
The first security key generation step,
A master key generation step of generating the master key based on a reference password and predetermined unique information;
A group key generation step of generating a group key based on the master key and group attribute information; And
And an object key generation step of generating the object key based on the group key and object property information.
The security key includes the master key, the group key and the object key,
The unmasking processing step,
A masking information extraction step of extracting information of the masked object;
An unmasking information input step of receiving information on at least one object to be unmasked and at least one security key;
When the master key is input in the unmasking information input step, the group key is generated based on the master key and the group attribute information, and the object key is generated based on the generated group key and the object attribute information. A second security key generation step of generating the object key based on the group key and the object property information when the group key is received;
A region of interest extraction step of extracting at least one region of interest from the information of the at least one object to be unmasked; And
And decrypting the at least one region of interest using the object key or the master key generated in the second security key generation step.
삭제delete 삭제delete 삭제delete 청구항 1에 있어서,
상기 암호화단계는,
상기 객체키에 기초하여 기설정된 규칙에 의하여 상기 관심영역 내의 매크로 블록들을 변경 또는 스크램블 함으로써 마스킹을 수행하는, 영상의 마스킹처리방법.
The method according to claim 1,
The encryption step,
And masking by changing or scrambled macroblocks in the ROI based on a predetermined rule based on the object key.
청구항 1에 있어서,
상기 마스터키는 상기 기준 패스워드 및 기설정된 고유정보를 해시함수를 통해 변환하여 생성하고,
상기 그룹키는 상기 마스터키 및 상기 그룹속성정보를 해시함수를 통해 변환하여 생성하고,
상기 객체키는 상기 그룹키 및 상기 객체속성정보를 해시함수를 통해 변환하여 생성하는, 영상의 마스킹처리방법.
The method according to claim 1,
The master key is generated by converting the reference password and the predetermined unique information through a hash function,
The group key is generated by converting the master key and the group attribute information through a hash function,
And the object key is generated by converting the group key and the object attribute information through a hash function.
청구항 6에 있어서,
상기 마스킹 된 객체의 정보는,
상기 영상에 포함 된 총 객체 수;
상기 영상에 포함 된 총 그룹 수;
상기 그룹 각각에 포함 된 객체 수; 및
상기 객체 각각의 객체식별정보 및 객체영역정보를 포함하는 마스킹정보; 를 포함하는, 영상의 마스킹처리방법.
The method according to claim 6,
The information on the masked object is
The total number of objects contained in the image;
The total number of groups contained in the image;
The number of objects contained in each of the groups; And
Masking information including object identification information and object region information of each of the objects; Includes, the masking processing method of the image.
청구항 7에 있어서,
상기 객체영역정보는,
상기 객체에 대한 상기 관심영역의 X-Y좌표;
상기 관심영역의 폭;
상기 관심영역의 높이; 및
상기 관심영역의 반경; 중 어느 하나 이상을 포함하는, 영상의 마스킹처리방법.
The method according to claim 7,
The object area information,
An XY coordinate of the region of interest for the object;
A width of the region of interest;
A height of the region of interest; And
A radius of the region of interest; Masking processing method of the image, including any one or more of.
삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 영상의 마스킹처리장치로서,
영상 내 객체를 검출하는 객체검출부;
검출된 상기 객체가 기존 검출 객체와 동일 객체인지 확인하는 객체추적부;
검출된 상기 객체를 특정 그룹으로 포함하여 분류하는 객체분류부;
영상의 전체영역에 대해 마스킹 처리를 수행하는 경우, 마스터키에 기초하여 마스킹 처리를 수행하고, 검출된 상기 객체에 대해 마스킹 처리를 수행하는 경우, 상기 객체에 상응하는 객체키 또는 상기 마스터키에 기초하여 마스킹 처리를 수행하는 마스킹처리부;
마스킹 된 객체의 정보를 삽입하는 마스킹정보삽입부; 및
언마스킹처리부;를 포함하고,
상기 마스킹처리부는,
객체 별로 마스킹을 수행할 관심영역을 도출하는 관심영역도출부;
상기 관심영역에 대한 보안키를 생성하는 제1보안키생성부; 및
상기 보안키를 이용하여 상기 관심영역 또는 상기 영상의 전체영역에 대해 마스킹을 수행하는 암호화부;를 포함하고,
상기 제1보안키생성부는,
기준 패스워드 및 기설정된 고유정보에 기초하여 상기 마스터키를 생성하는 마스터키생성부;
상기 마스터키 및 그룹속성정보에 기초하여 그룹키를 생성하는 그룹키생성부; 및
상기 그룹키 및 객체속성정보에 기초하여 상기 객체키를 생성하는 객체키생성부;를 포함하고,
상기 보안키는 상기 마스터키, 상기 그룹키 및 상기 객체키를 포함하고,
상기 언마스킹처리부는,
마스킹 된 객체의 정보를 추출하는 마스킹정보추출부;
1 이상의 언마스킹 할 객체의 정보 및 1 이상의 상기 보안키를 입력 받는 언마스킹정보입력부;
상기 언마스킹정보입력부에서 상기 마스터키를 입력 받은 경우 상기 마스터키 및 상기 그룹속성정보에 기초하여 상기 그룹키를 생성하고, 생성된 상기 그룹키 및 상기 객체속성정보에 기초하여 상기 객체키를 생성하고, 상기 그룹키를 입력 받은 경우 상기 그룹키 및 상기 객체속성정보에 기초하여 상기 객체키를 생성하는 제2보안키생성부;
상기 1 이상의 언마스킹 할 객체의 정보로부터 1 이상의 관심영역을 추출하는 관심영역추출부; 및
상기 제2보안키생성부에서 생성된 상기 객체키 또는 상기 마스터키를 이용하여 상기 1 이상의 관심영역에 언마스킹을 수행하는 복호화부;를 포함하는, 영상의 마스킹처리장치.
As a masking processing device for an image,
An object detector detecting an object in the image;
An object tracking unit to check whether the detected object is the same object as the existing detection object;
An object classification unit for classifying the detected objects into a specific group;
When masking the entire area of the image, the masking process is performed based on the master key, and when the masking process is performed on the detected object, the object key corresponding to the object or the master key is based on the master key. A masking processing unit which performs masking processing;
Masking information insertion unit for inserting the information of the masked object; And
It includes; unmasking processing unit,
The masking processing unit,
A region of interest derivation unit for deriving a region of interest for masking for each object;
A first security key generation unit generating a security key for the ROI; And
And an encryption unit for masking the ROI or the entire region of the image using the security key.
The first security key generation unit,
A master key generation unit generating the master key based on a reference password and predetermined unique information;
A group key generation unit for generating a group key based on the master key and group attribute information; And
And an object key generation unit generating the object key based on the group key and object property information.
The security key includes the master key, the group key and the object key,
The unmasking processing unit,
Masking information extraction unit for extracting the information of the masked object;
An unmasking information input unit configured to receive information on at least one object to be unmasked and at least one security key;
When the master key is input by the unmasking information input unit, the group key is generated based on the master key and the group attribute information, and the object key is generated based on the generated group key and the object attribute information. A second security key generation unit generating the object key based on the group key and the object property information when the group key is received;
A region of interest extraction unit which extracts one or more regions of interest from the information of the one or more objects to be unmasked; And
And a decryption unit which performs unmasking on the at least one region of interest using the object key or the master key generated by the second security key generation unit.
삭제delete 삭제delete
KR1020180003085A 2018-01-10 2018-01-10 How to protect personal information in video using independent password for each object KR102066688B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180003085A KR102066688B1 (en) 2018-01-10 2018-01-10 How to protect personal information in video using independent password for each object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180003085A KR102066688B1 (en) 2018-01-10 2018-01-10 How to protect personal information in video using independent password for each object

Publications (2)

Publication Number Publication Date
KR20190085225A KR20190085225A (en) 2019-07-18
KR102066688B1 true KR102066688B1 (en) 2020-01-15

Family

ID=67469457

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180003085A KR102066688B1 (en) 2018-01-10 2018-01-10 How to protect personal information in video using independent password for each object

Country Status (1)

Country Link
KR (1) KR102066688B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210383018A1 (en) * 2020-06-09 2021-12-09 Axis Ab Method and device for partially unmasking an object in a video stream

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102319492B1 (en) * 2020-04-23 2021-10-29 주식회사 컴트루테크놀로지 AI Deep learning based senstive information management method and system from images
KR20220015019A (en) * 2020-07-30 2022-02-08 삼성전자주식회사 Electronic device and method for changing an image file using data masking
WO2022039318A1 (en) * 2020-08-21 2022-02-24 (주)와토시스 Artificial intelligence training method and system using de-identified image data
KR102551230B1 (en) * 2021-05-27 2023-07-05 주식회사 오픈시스넷 Masking processing system and method for automatically masking and unmasking surveillance camera images in real time using deep learning object information
KR102582816B1 (en) * 2021-11-15 2023-09-26 주식회사 엠에이치엔씨티 Apparatus for non-identification and restoration of privacy region, method for non-identification and restoration of privacy region
KR102628904B1 (en) * 2022-06-03 2024-01-24 주식회사 넷온 Edge Computing Apparatus that can De-identify Personal Information in Real Time

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100972849B1 (en) * 2009-10-16 2010-07-28 주식회사 쓰리디누리 Method of object recognition
KR101615137B1 (en) * 2015-03-27 2016-05-12 순천향대학교 산학협력단 Data access method based on attributed

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100877747B1 (en) * 2006-10-18 2009-01-12 포스데이타 주식회사 Digital Video Recorder and, apparatus and method for protectiong input image of the same
KR20130067530A (en) * 2011-12-14 2013-06-25 한국전자통신연구원 Apparatus and method for transmitting video surveillance, apparatus and method for receiving surveillance video thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100972849B1 (en) * 2009-10-16 2010-07-28 주식회사 쓰리디누리 Method of object recognition
KR101615137B1 (en) * 2015-03-27 2016-05-12 순천향대학교 산학협력단 Data access method based on attributed

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210383018A1 (en) * 2020-06-09 2021-12-09 Axis Ab Method and device for partially unmasking an object in a video stream
US11704435B2 (en) * 2020-06-09 2023-07-18 Axis Ab Method and device for partially unmasking an object in a video stream

Also Published As

Publication number Publication date
KR20190085225A (en) 2019-07-18

Similar Documents

Publication Publication Date Title
KR102066688B1 (en) How to protect personal information in video using independent password for each object
KR101378295B1 (en) Method and Apparatus of privacy masking on Image
US11155725B2 (en) Method and apparatus for redacting video for compression and identification of releasing party
JP5269033B2 (en) Image privacy masking method and apparatus
EP3234904B1 (en) Method and apparatus for publishing locational copyrighted watermarking video
CN102932650B (en) Video data integrity protection and verification method, equipment and system
KR101746167B1 (en) Apparatus for processing picture adapted to protect privacy, method thereof and computer recordable medium storing the method
US10311215B2 (en) Secure recording and rendering of encrypted multimedia content
Winkler et al. A systematic approach towards user-centric privacy and security for smart camera networks
CN109785217A (en) Error Control core water mark method based on FPGA technology
CN111526325A (en) Privacy masking method and recording medium using morphological preserving encryption technique
Kaur et al. A secure data classification model in cloud computing using machine learning approach
Luo et al. Anonymous subject identification and privacy information management in video surveillance
KR101420297B1 (en) Method and Devices for Video Processing Rights Enforcement
Winkler et al. Privacy and security in video surveillance
KR101784711B1 (en) Apparatus for processing picture intended for information protection, method thereof and computer recordable medium storing the method
KR102017379B1 (en) A method and apparatus for hash encryption using image vector processing
KR101746168B1 (en) Apparatus for processing image of vehicle black box, method thereof and computer recordable medium storing the method
CN109993679B (en) Digital watermark encryption method based on vector parameters
JP2007150559A (en) Security device
JP5718757B2 (en) Image management apparatus, image management program, and image management method
Zanotto et al. Blockchain-grade privacy protection in surveillance systems
Okkalı et al. Preserving privacy using visual cryptography in surveillance systems
Piatrik et al. The privacy challenges of in-depth video analytics
Cichowski et al. Visual data encryption for privacy enhancement in surveillance systems

Legal Events

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